Rejoignez notre page de fans
- Vues:
- 7448
- Note:
- Publié:
- 2022.04.24 06:00
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
The idea of the indicator
The indicator was rewritten at the request from the forum ( Does anyone have this simple volume indicator for MT5? )
Rice. 1. Trading Volume Line
Three modes can be set in the parameters:
- Close Ratio
- Open Ratio
- Body Ratio

Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor.

The indicator in the subwindow shows a comparison of High and Low prices

The ZigZagExtremaOnArray is an mqh include file which contains the calculation function of MetaQuotes' Examples ZigZag, BUT you can use it on any buffer that contains curves or histograms, similarly to the MovingAverages.mqh from include. The idea was to get highs and lows of an indicator curve quickly with the help of an "onBuffer" function.

Have you ever asked yourself why it is not possible to customize fractals more? ... now it is.