Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

BarDuration - indicateur pour MetaTrader 5

Vues:
2287
Note:
(4)
Publié:
2025.03.14 14:58
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

This indicator displays a subwindow with histogram of custom bars' durations in minutes. It's applicable for renko boxes, PnF, equivolume bars, and other custom charts, where bar durations are variable, as opposed to standard charts based on timeframes.

Please note that MT5 does not support charts with variable timeframes, so the custom representation, such as renko or equivolume, is emulated by standard charts anyway, and usually uses M1 timeframe, because it's the smallest available timeframe and it provides highest possible accuracy of bar alignment on time axis.

Using this indicator on a regular chart makes small sense, because it'll show vertical columns of the same height for all bars.

Inputs

  • Directional - a boolean option to show signed or unsigned histogram; by default, it's false (unsigned) and all values are absolute; if direction is enabled (true) - the values are positive or negative depending from price change on corresponding bar;


Bar Duration indicator on a renko chart


MeanReversionTrendEA MeanReversionTrendEA

The EA automatically trades based on trend and mean reversion signals with validated parameters.

JSON JSON

Serialization and deserialization of the JSON format

Supertrend Supertrend

A SuperTrend indicator that plots trend direction using ATR volatility to create dynamic support/resistance levels for MetaTrader 5.

Introsort (Introspective sort) using Function Pointers Introsort (Introspective sort) using Function Pointers

A hybrid sorting algorithm that provide fast performance for sorting arrays of simple types, structures or object pointers.