Recognize negative value MACD cross over

Created at 03 May 2014, 19:47
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
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