Skip to content
All library documents

Testing Candle Direction Recurrences as a Short-Term Trend Signal

Article MQL5 articles

Summary

The article proposes measuring whether candles opening at the same time of day repeatedly move in the same direction, and whether changes in that pattern coincide with shifts in trend. Its MQL4 script groups candles by opening hour and minute over a selected date range and timeframe, counts bullish, bearish, and unchanged closes, and calculates average open-to-close movement and high-low range. The intended use is to compare these statistics across days and inspect possible directional tendencies.

Examples from USDJPY are presented as suggestive observations: repeated candle directions sometimes appear alongside a developing trend, while mixed directions may occur near sideways or changing conditions. The author proposes using the output alongside other technical analysis to inform decisions over the next day or two. The evidence is exploratory and based on a limited visual review, not a formal statistical test or out-of-sample evaluation. The article itself says the method cannot guarantee predictions and calls for broader analysis across pairs and timeframes.

Key ideas

  • The method groups candles by their opening time and counts their direction across a chosen historical window.
  • It also calculates average candle bodies and high-low ranges for each time slot.
  • The author interprets repeated directions as a possible clue to short-term trend persistence or change.
  • The examples are exploratory and do not establish predictive reliability or statistical significance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.