112622km2:
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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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