Hello forum, I was looking at the standard MACD.mql4 code using the MetaEditor, as I try to learn to code by example.
It all seemed straight forward for the calculation of the ExtMacdBuffer, but I am confused as to how "double ExtSignalBuffer[];" is calculated or is populated by SimpleMAOnBuffer
Is SimpleMAOnBuffer (line 85) a function similar to iMA and if yes, could someone point me to an explanation similar to that provided for iMA at https://docs.mql4.com/indicators/ima
I need thes things defined with crystal clarity at this point of my learning and the references to "rates_total", "prev_calculated" etc within the calculation occurring at line 85 have me a little confused
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hello forum, I was looking at the standard MACD.mql4 code using the MetaEditor, as I try to learn to code by example.
It all seemed straight forward for the calculation of the ExtMacdBuffer, but I am confused as to how "double ExtSignalBuffer[];" is calculated or is populated by SimpleMAOnBuffer
Is SimpleMAOnBuffer (line 85) a function similar to iMA and if yes, could someone point me to an explanation similar to that provided for iMA at https://docs.mql4.com/indicators/ima
I need thes things defined with crystal clarity at this point of my learning and the references to "rates_total", "prev_calculated" etc within the calculation occurring at line 85 have me a little confused
85 SimpleMAOnBuffer(rates_total,prev_calculated,0,InpSignalSMA,ExtMacdBuffer,ExtSignalBuffer);
thanks in advance