Andreas Alois Aigner:
Hi
I think the OnTesterDeinit() function is not getting called.
I have written this test file.
And in an actual chart window it calls OnInit and OnDeinit() as is expected.
But in the StrategyTester it calls OnInit and calls OnDeinit() as well instead of OnTesterDeinit()
Was the OnTesterdeinit() functionality removed somehow? Seems its not working anymore.
i believe those are only used during optimisation.

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 think the OnTesterDeinit() function is not getting called.
I have written this test file.
And in an actual chart window it calls OnInit and OnDeinit() as is expected.
But in the StrategyTester it calls OnInit and calls OnDeinit() as well instead of OnTesterDeinit()
Was the OnTesterdeinit() functionality removed somehow? Seems its not working anymore.