Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1460
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
Thank you. That makes sense.
Trading forum, automated trading systems and testing trading strategies
Problems with Trading orders
Vinicius de Oliveira, 2023.05.25 17:06
Good afternoon!!!
Are you connected to any trading account? Is it iPhone/iPad or Android?
Mobile trading - Help for MetaTrader 5
Trading - MetaTrader 5 for iPhone - Help for MetaTrader 5 iPhone/iPad
...
...
Give up on ChatGPT. It's useless. Learn to programme properly in MQL5 or hire a human programmer to do it.
Chatgp
Good afternoon!
When ExpertRemove is triggered in MT5, do I also close the position and delete limit orders?
Or do I need to close everything beforehand?
Thank you for the suggested answer.
Or do I need to close everything beforehand?
Thank you for the suggested answer.
ExpertRemove - terminates the Expert Advisor and unloads it from the chart.
The same thing happens if you manually remove the Expert Advisor from the chart.
If it is specified in the Expert Advisor to delete orders and close positions when the Expert Advisor is removed,
then everything will be deleted and closed, but if it is not specified,
then both positions and orders will remain unclosed.
If it is prescribed in the Expert Advisor to delete orders and close positions when the Expert Advisor is deleted,
then everything will be deleted and closed
A small addition: if it takes 2.5 seconds.