I just coded a little script to use with a single position per pair; it should just kill what's there and open a new one in the other direction, but I get this "Trade not allowed" - anyone know what causes that? ( Code attached )
On the Interbank FX platform I open a chart and take a small position. Then I drop the script on it, and I get a 4108. I appreciate you're looking at it.
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 just coded a little script to use with a single position per pair; it should just kill what's there and open a new one in the other direction, but I get this "Trade not allowed" - anyone know what causes that? ( Code attached )