Guys, I tried to create a sound alert for the RSI indicator using Chatgpt, but when I compiled it I got some errors. Could any good soul help? I don't know anything about programming.
T3 Estratégias Estratégias #: Guys, I tried to create a sound alert for the RSI indicator using Chatgpt, but when I compiled it I got some errors. Could any good soul help? I don't know anything about programming.
Give up on ChatGPT. It's useless. Learn to programme properly in MQL5 or hire a human programmer to do it.
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.
Выполнение функции OnDeinit() ограничивается 2.5 секундами. Если за это время функция не закончила свою работу, то ее выполнение завершается принудительно.
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.
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.