ingvar_e:
Just add a check for this in OnInit() and if true set a bool SkipTesting = true, then in OnTick() check this b0ol and if true return(0) immediately . . .
I do not know if this is possible already but if not I believe it would be a useful feature.
Before starting a new combination of input parameter a user exit should be taken where the combination could be rejected or accepted. An example is when using crossing averages.
If the long and the short period are of the same length or the long period is shorter than the short period these combination should be possible to reject. Just an example.
RaptorUK:
Just add a check for this in OnInit() and if true set a bool SkipTesting = true, then in OnTick() check this b0ol and if true return(0) immediately . . .
Just add a check for this in OnInit() and if true set a bool SkipTesting = true, then in OnTick() check this b0ol and if true return(0) immediately . . .
With mql5, you can use something like above in OnInit()
return(INIT_PARAMETERS_INCORRECT);
see documentation.
Simple as that :-)
Thanks.

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 do not know if this is possible already but if not I believe it would be a useful feature.
Before starting a new combination of input parameter a user exit should be taken where the combination could be rejected or accepted. An example is when using crossing averages.
If the long and the short period are of the same length or the long period is shorter than the short period these combination should be possible to reject. Just an example.