UNKNOW this is why all the time

 

this is my code that get macd value use icustom:

double   macdValueCustom=iCustom(Symbol(),Period(),"MACD","Signal",0,1);

MACD is customIndicator(not only macd but also others)


but ,test result like this:


MACDIndicatorTest


how

 
ah2005:

this is my code that get macd value use icustom:

double   macdValueCustom=iCustom(Symbol(),Period(),"MACD","Signal",0,1);

MACD is customIndicator(not only macd but also others)


but ,test result like this:



how

OK,THIS IS RIGHT CODE:

double   macdValueCustom=iCustom(Symbol(),Period(),"MACD",12,26,9,0,1);

Reason: