Hello, i wrote an EA and inside of this EA im able to enable or disable a Moving Average, but during the backtest if i select disable to the MA i wouldn't like during the backtest the counter of possible MA values increase, because it has a dependency of a bool use_M,A if i won't use it i'd like to exclude it during the tests, is it possible via function OnTester() ignore this kind of test?
- Is it possible to enable/disable an EA with a script or another EA?
- Speed variation during backtest
- Automated Testing
primehaxor:
Hello, i wrote an EA and inside of this EA im able to enable or disable a Moving Average, but during the backtest if i select disable to the MA i wouldn't like during the backtest the counter of possible MA values increase, because it has a dependency of a bool use_M,A if i won't use it i'd like to exclude it during the tests, is it possible via function OnTester() ignore this kind of test?
Hello, i wrote an EA and inside of this EA im able to enable or disable a Moving Average, but during the backtest if i select disable to the MA i wouldn't like during the backtest the counter of possible MA values increase, because it has a dependency of a bool use_M,A if i won't use it i'd like to exclude it during the tests, is it possible via function OnTester() ignore this kind of test?
You should return INIT_FAILED or INIT_PARAMETERS_INCORRECT from OnInit.
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