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.
I want my EA to work seamlessly with 4-digit brokers and 5-digit brokers
AND
4-digit and 2-digit symbols (E.g EURUSD and USDJPY) with 4-digit brokers
AND
5-digit and 3-digit symbols (E.g EURUSD and USDJPY) with 5-digit brokers
AND
have external decimal pip values (E.g TP = 20.0 pips) work correctly in all cases.
Have tried various solutions but the whole thing got fairly messy and in the end
it didn't work anyhow.
Any general guidelines, maybe some code examples ?