mt4forum:
Scripts are meant to be a single shot. They run, they finish, they leave the chart. Make your script into an EA.
Hi,
I have a script with a while (true) loop attached to a chart.
When I save this environment to a profile, the information about the script attached will not be saved in the profile.
I.e. when reloading that profile, the script won't be attached to the chart.
Is there a workaround for that?
Thanx.
![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
Hi,
I have a script with a while (true) loop attached to a chart.
When I save this environment to a profile, the information about the script attached will not be saved in the profile.
I.e. when reloading that profile, the script won't be attached to the chart.
Is there a workaround for that?
Thanx.