Anyone know how?
I'm currently using this code in my ontick()
if(input b > input A) return;
optimization still run and return me 0, can I actually skip that?
doshur:
Try to put your "if" statement in OnInit().
Anyone know how?
I'm currently using this code in my ontick()
if(input b > input A) return;
optimization still run and return me 0, can I actually skip that?
angevoyageur:
Try to put your "if" statement in OnInit().
And OnInit return value should be set to INIT_PARAMETERS_INCORRECT
Try to put your "if" statement in OnInit().
Thank you stringo for that clarification.
Hi Thank you stringo
can you write sample code ?
Thanks a lot. This code sure save some time for my optimization.
:)
doshur:
You are welcome
Thanks a lot. This code sure save some time for my optimization.
:)
works but
2013.04.01 11:35:34 Core 8 pass 149 tested with error "Incorrect input parameters" in 16 ms
still took 16 ms?

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
What can I do to skip some of the parameters in strategy tester?
Example
Input A Start 0, Step 10, Stop 100
Input B Start 0, Step 10, Stop 100
If input B is more than input A then skip optimization.