input datetime InpSkipFrom = D'1.3.2020'; input datetime InpSkipTill = D'1.4.2020'; void OnTick() { datetime now=TimeCurrent(); if(now>=InpSkipFrom && now<InpSkipTill) return; ... }
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 have a certain month in my backtest that is consistently abberant (March 2020) and skews my strategy.
How could I exclude that month from testing?
Thanks!! 😎