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
I have an ea that uses Macd, Atr, Rsi etc.
Now for Atr I do this to return the correct value to the correct number if decimal spaces:
For Macd this:
Near the top of file are the condition statements with comments that show on the charts, for the MACD to be read correctly This is set as follows:
But this then upsets the rounding of the Atr, does anyone have any ideas? as I am fresh out.
Thanks
Antony