I am making a EA for backTest.
Normally program works like this.
Ontick()is called until the end of certain period.OnDeinit()OnTester()are called.
However now I want to stop in OnTick() and goto 2).
like this,
void OnTick()
{
if (cnt > 100) {OnTick();OnTester();//Finish program here}
}
I think I could stop in OnInit() (to check user's initial setup etc...)
However can I stop EA in OnTick()???
In summary, what I want to do is,
Call OnTester() from inside of the OnTick() and finish the program.