Recognize negative value MACD cross over

Created at 03 May 2014, 19:47
YM

Ymer

Joined 03.05.2014

Recognize negative value MACD cross over
03 May 2014, 19:47


Hello, I am trying to ensure that the cBot recognises the MACD crossover value as being negative. How can i build that into the cBot?

thanks for your help


@Ymer
Replies

Old Account
04 May 2014, 01:56

bool N_MACD = MACD.Histogram.LastValue <=0;

 


@Old Account