Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

BarDuration - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

BarDuration - indicator for MetaTrader 5

The indicator displays a subwindow with a histogram of the duration of the custom bar in minutes. It works with Renko, PnF, Equal Bars and other custom charts where the bar duration is variable instead of standard charts based on time frame.

Note that MT5 does not support charts with variable timeframes, so custom representations (such as Renko or Equivolume) are emulated by standard charts anyway, and the M1 timeframe is usually used because it is the smallest available timeframe and it provides the highest possible accuracy of bar alignment on the timeline.

It makes little sense to use this indicator on a regular chart, as it will show vertical bars of the same height for all bars.

BarDuration - indicator for MetaTrader 5


Attachment download

📎 barduration.mq5 (4.53 KB)

Source: MQL5 #57038

Verification code Refresh