Count of Candles in a Range (Histogram) - MetaTrader 5 Script | Forex Indicators Download - MT4/MT5 Resources


The indicator calculates the number of bullish and bearish bars from the starting bar number (the first bar on the right side of the chart) until the ending bar number (located on the left) during the following time periods.
Indicator with "Start Bar" (0) and "End Bar" (5):

Possible application: Three timeframes with the same settings:

Attachment download
📎 count_of_candles_in_interval_4histogramk.mq5 (9.33 KB)
Source: MQL5 #19328
Candle count within the range (histogram) - MetaTrader 5 script | Forex indicator download - MT4/MT5 resource usage and screening recommendations
Count of candles in the range (histogram) - MetaTrader 5 script | Forex indicator download - MT4/MT5 resources are related to Forex indicators. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.
Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based only on titles or short-term profit descriptions.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •