Download MetaTrader 5

While specified a symbol that different from current symbol,the MACD indicator doesn't work.

To add comments, please log in or register
Wei Sun
699
Wei Sun  

 In MACD indicator, use "AUDUSD" instead of "NULL" as below:

 ExtFastMaHandle=iMA("AUDUSD",0,InpFastEMA,0,MODE_EMA,InpAppliedPrice);
 ExtSlowMaHandle=iMA("AUDUSD",0,InpSlowEMA,0,MODE_EMA,InpAppliedPrice);

and then it can't work unless current symbol is  "AUDUSD".

To add comments, please log in or register