![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
|
I used the wizard to create a simple %K crossover strategy with a 10 tick target and 1 tick trailing stop in the YM contract on a 15 minute timeframe.
In real live trading this would almost always get stopped out at a loss, but the Strategy Analyzer thinks it's a fantastic idea. Giving the backtest a virtual straight line up profit curve. It's set to calculate on close. What other settings or precautions are needed to ensure no peeking into future data on indicator calculations and the limit and stop orders are executed in the order that they would have occurred? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Backtests in NinjaTrader do not peek into the future. The problem is the granularity of your stop and targets. I suspect a lot of your entries and exits are on the same bar? If yes, this is the problem and you will be hard pressed to get a better back test result. The reason is, in a 15 min bar that is 30 ticks high to low, you will not know if the stop or target is hit first. Thus we can't tell which order the orders would have really been filled.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strategy won't backtest... | maxpi | Strategy Analyzer | 3 | 11-29-2007 08:09 AM |
| Backtest Problems v6.5 | AO76 | Strategy Analyzer | 1 | 11-11-2007 02:47 PM |
| Backtest not available | BradB | Strategy Analyzer | 9 | 11-10-2007 09:41 PM |
| stoploss and MAE in backtest | ceesvh | Strategy Analyzer | 8 | 07-12-2007 08:02 AM |
| backtest in replaymode? | fliesch | Strategy Analyzer | 6 | 06-17-2007 08:43 AM |