Since you mentioned OnTesterDeInit() your question is about optimization. Then you can use FrameAdd from OnTester (which is running in a tester agent), and receive this data by FrameFirst/FrameNext in OnTesterPass (which is running in the context of the terminal, and MQL5/Files are accessible), so you can save the data into a file there.
Optimization Handling Functions
OnTesterPass
Getting pass number while
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