jaypabs / Publications
Forum
Sample Code of MACD Line Crosses MACD Signal Line
Hi everyone, Is there any sample code of a MACD Line crosses the Signal Line ? I use the following code from the documenation but this is not the code that I was expecting: if ( iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_MAIN, 0 ) > iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_SIGNAL