Download MetaTrader 5

iMA on first indicator's data!?

To add comments, please log in or register
aminlv
96
aminlv  

Hi Guys,

 

i want to calculate MA cross over on MACD in mt4 its easy u just MA to "first indicator's data" and thats it!

however when i try to do this with MQL it says "ENUM_APPLIED_PRICE" Can't convert Enum coz by any means this will be 8th but on help file it has from 0~6 so wondering how to achieve this?

tried google not good result so wondering if there is anyway or not if not then how its available on MT4 platform!?

 

thanks in advance 

Keith Watford
Moderator
10359
Keith Watford  
Fill a buffer with the MACD values, then use iMAOnArray to get the MA values
To add comments, please log in or register