Re: Question about coding MACD using iMACD?

2
Eddie_83 wrote: Sun May 15, 2022 6:25 pm hello I am beginner coder and I don't understand the diffrence between MODE_SIGNAL and MODE_MAIN
eg:

iMACD(NULL,0,BigFastEMA,BigSlowEMA,BigSignalSMA,PRICE_CLOSE,MODE_MAIN,1)
iMACD(NULL,0,BigFastEMA,BigSlowEMA,BigSignalSMA,PRICE_CLOSE,MODE_SIGNAL,1)


I know MODE_SIGNAL = 1 ;and MODE_MAIN = 0 ;

plz help
In the built in macd the histogram is the main and the signal is the line, which is the ma of that histogram.