Download MetaTrader 5
To add comments, please log in or register
Deposit to your account using bank cards via Gate2Shop
aminlv
91
aminlv 2016.08.05 13:49 

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
7862
Keith Watford 2016.08.05 15:44  
Fill a buffer with the MACD values, then use iMAOnArray to get the MA values
/
To add comments, please log in or register