From the documentation on Program Run:
Hope that helps you.Detaching of the program from the chart, change of symbol and/or chart period, change of the account, closing of the chart, as well as shutdown of the client terminal will interrupt execution of the program. If the start() function was being executed at the moment when the stop working command was given, the time remaining for its work is limited by 2.5 seconds.
Thankyou.
really stupid of me as I now remember reading that, guess that it didn't sink in.

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
I haven't been able to find the answer in the documentation.
in situations such as changing timeframes etc, the expert is deinitialised.
What I need to know is whether the the code execution in start() will always continue until it hits return(0) before it is deinitialised.
Thank You