hi, can someone give me any effective idea or code for identifying Flat MA? i can not use somethings like: if(iMa[1]-iMa[3]< X pips) or (iMa[1]-iMa[3])/(1-3) because at methods like this, the pip difference for assuming MA as FLAT or not, is different for each timeframe and since i want this indicator to be MTF you need to set it for each timeframe separately. also i tried the MathArctan() too, but the same problem exist.
i tried some googling and reach to these topics, but finally i did not get my answer:
https://www.mql5.com/en/forum/102495
https://www.mql5.com/en/forum/138726
https://www.mql5.com/en/forum/219495
https://www.mql5.com/en/forum/152103
https://www.mql5.com/en/forum/152085
https://www.mql5.com/en/forum/122852
thanks for you help.

- www.netpicks.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi, can someone give me any effective idea or code for identifying Flat MA? i can not use somethings like: if(iMa[1]-iMa[3]< X pips) or (iMa[1]-iMa[3])/(1-3) because at methods like this, the pip difference for assuming MA as FLAT or not, is different for each timeframe and since i want this indicator to be MTF you need to set it for each timeframe separately. also i tried the MathArctan() too, but the same problem exist.
i tried some googling and reach to these topics, but finally i did not get my answer:
https://www.mql5.com/en/forum/102495
https://www.mql5.com/en/forum/138726
https://www.mql5.com/en/forum/219495
https://www.mql5.com/en/forum/152103
https://www.mql5.com/en/forum/152085
https://www.mql5.com/en/forum/122852
thanks for you help.