Moving average of Max candle parameter
Hello Guys .
I am new to mql5 and I am trying something but it doesn't work.
I want to make a MA indicator like this.
Moving Average of the maximum price between PRICE_OPEN and PRICE_CLOSE of each candle (If the candle is bearish or bullish, it doesn't matter)
So for each candle it will select the maximum between the PRICE_OPEN and the PRICE_CLOSE and then make the Moving average based of the maximum value.
Formula = MA (Max( PRICE_OPEN, PRICE_CLOSE))
I am struggling with this but can't find a solution. I will appreciate your help
Thank you
Example: MA Custom Price
Hello Guys .
I am new to mql5 and I am trying something but it doesn't work.
I want to make a MA indicator like this.
Moving Average of the maximum price between PRICE_OPEN and PRICE_CLOSE of each candle (If the candle is bearish or bullish, it doesn't matter)
So for each candle it will select the maximum between the PRICE_OPEN and the PRICE_CLOSE and then make the Moving average based of the maximum value.
Formula = MA (Max( PRICE_OPEN, PRICE_CLOSE))
I am struggling with this but can't find a solution. I will appreciate your help
Thank you