but regarding the documentation this will calculate "macd_signal" with MA9(MACD main) instead of EMA9(MACD main). Please, can anyone help how to correct the code in order to calculate "macd_signal" with EMA?
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.
Hi,
the calculation of "macd_signal" in my EA code is:
but regarding the documentation this will calculate "macd_signal" with MA9(MACD main) instead of EMA9(MACD main). Please, can anyone help how to correct the code in order to calculate "macd_signal" with EMA?
Thank you.