PDA

View Full Version : Strategy Analyzer in 6.5 not working?


Learning1
02-14-2008, 11:09 AM
Hi There,

I am attempting to analyze a strategy in 6.5, but am running into some issues. The strategy backtests and optimizes fine in 6.0, but for some reason, in 6.5 the only thing that turns up is 0s accross the board.

6.5 has data over the period and instrument I am trying to backtest. The only thing I can think of is that I get a message that 6.5 can't reach it's license serverrs when it starts up. Could this affect the backtesting?

NinjaTrader_Dierk
02-14-2008, 11:57 AM
- please make sure there is no license issue
- please make sure you enough backfill data to test on
- worst case you would need to debug your strategy as per here: http://www.ninjatrader-support.com/vb/showthread.php?t=3418

Learning1
02-14-2008, 12:47 PM
Thanks for the reply.

1) After restarting NinjaTrader 6.5 just now, there is no licensing issue. Help > About provides all the licensing info and it is normal with a Regular license.

2) Backfill data is fine. I opened a chart over the backtest period and scolled through it to ensure data was complete.

3) I am a bit confused around the strategy debugging. This is an old strategy I have been using in 6.0 for a couple of months. In 6.0 it backtests and optimizes with no issues. I simply exported it from 6.0 and imported it into 6.5. In 6.5 it simply doesn't seem to run in backtest. In exploring this further, I just tried to load some imported strategies onto a chart in replay and the following error appeared in the log: " Error on calling 'OnBarUpdate' method for strategy 'Faith38S': Method not found: 'Void NinjaTrader.Strategy.StrategyBase.ExitShortLimit(D ouble System.String System.String)'."

This is odd, as I haven't received this error in 6.0. Are there any difference in 6.5 that I need to address in the strategy code or is something else happenning?

Thanks for the help.

NinjaTrader_Dierk
02-14-2008, 12:50 PM
- please check the logs
- please review the release notes for 6.5
- please debug as per suggestion below
- please re-compile your strategy in the editor

Thanks