texasron:
Where would you like the data to come from that is before your "range" ?
when I code an EA and backtest on a time range the EA doesnt start testing at the beginning of the range, it doesnt have indicator values immediately--can be over a month for something like 200mva--can I test from the beginning of range ??
texasron: for something like 200mva--can I test from the beginning of range ??
The tester only creates 100 bars before the start time.
can the number of prerange bars be changed?--different indicators kick in at different times making the first trades/time comparisons inaccurate!-------
texasron:
Yes, start the test run at an earlier date and return(0); at the beginning of start until you ave reached the actual date you want to run from.
can the number of prerange bars be changed?--different indicators kick in at different times making the first trades/time comparisons inaccurate!-------
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
when I code an EA and backtest on a time range the EA doesnt start testing at the beginning of the range, it doesnt have indicator values immediately--can be over a month for something like 200mva--can I test from the beginning of range ??