An EA may try to open a position but some brokerage companies do not allow this, so it is either a virtual hold or a SL TP after the position has been opened.
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.
Better write to your broker to change your account from roubles to dollars
I opened a demo account in dollars, errors are gone but trades are still not opened
Open manually. If it works manually it means:
Open manually. If it works manually it means:
the errors unfortunately haven't gone away.
Or maybe the broker should place stop-losses and take-profits after positions are opened?
no errors in the log but no trades opened
When running exp-the-x-wpr-full.ex5, there is an error:
TRADE_RETCODE_INVALID_FILL An unsupported order execution type by balance is indicated
Can an EA first set stop loss and take profit without opening a position...........