![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
If an order is placed manually, manual confirmation is required, even though the order has already been executed anyway and there is no point in doing so.
Please tell me what to put in the query. I have not found anything
When the client part connects to the DT server, the client part can get a ban on auto-trading
respectively, if during the banning process an order is received, it is a manual trade order
if there is no ban, then you do not know if it is manual or automatic
When the client part connects to the DT server, the client part can get a ban for autotrading
accordingly, if a banning order is received, it is a manual trade order
if there is no ban, then it is not known whether it is manual or auto.
By the way, it is quite possible to write a third-party expert who will press the buttons.
and can and has been implemented, just doesn't need to ))
There is no strategy. You should not make up something that does not exist. You will get a ban until you find such an option.
original reply
But nevertheless, on some instrument (currency pair), my script for placing an order with the specified TP and SL gave out an error: 133 ERR_TRADE_DISABLED - Trading prohibited
I tried to open order manually by pressing F9, I do not remember what instrument it was for, it was something exotic like "AUDNZD".
script attached, possible coincidence?
When manually placing an order, manual confirmation is required, even though the order has already been executed and there is no point in it.
How is this not a signal for brokerage companies?
Nothing. 1 - pressing of corresponding keys is emulated by WinAPI, 2 - confirmation - read logs - this takes place even when the Expert Advisor is working.
Another ehpert.
And you press cancel instead of confirm and see that the order is already in place and cannot be cancelled.
Then what's the point of a monkey's push like this that doesn't affect anything?
the corresponding key presses are emulated - WinAPI,
What do you mean the keystroke is emulated by WinAPI? The confirmation request is generated by the terminal.
And you click cancel instead of confirming and see that the order is already in place and cannot be cancelled.
Then the question is what is the point of this monkey's push, which has no effect whatsoever?
The important thing from autotrading point of view is that ALL orders are validated on brokerage company servers as opening confirmation, margin check, etc. Conclusions - please make yourself after reviewing logs!!!! of your favorite and cherished account.