Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Trading Volume Line - indicator for MetaTrader 5

Views:
6229
Rating:
(36)
Published:
2022.04.24 06:00
Need a robot or indicator based on this code? Order it on Freelance Go to 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? )

Trading Volume Line

Rice. 1. Trading Volume Line

Three modes can be set in the parameters:

  • Close Ratio
  • Open Ratio
  • Body Ratio
(the mode is displayed in the indicator window)

    Detecting the start of a new bar or candle Detecting the start of a new bar or candle

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

    Trend Two Lines Trend Two Lines

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

    ZigZagExtremaOnArray ZigZagExtremaOnArray

    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.

    Custom Fractals Custom Fractals

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