PDA

View Full Version : Strategy Variables not Updating in Backtest Mode


dgregor5
07-31-2007, 02:41 PM
Hi
In backtesting mode, when changing the strategy, the variables associated with that strategy (i.e. are in the code) do not change with the new file when loaded. The only way that it would appear that this can be corrected is by closing/reloading NT. Hope this is clear?

Any thoughts as to how this could be resolved without closing/reloading NT?

thx
David

NinjaTrader_Ray
07-31-2007, 02:48 PM
Yes, this is a limitation. You can get around this by using different parameters names across different strategies.

The issue is that the parameter box retains last known values of a paramter regardless of the strategy.

dgregor5
07-31-2007, 02:50 PM
great feedback thx - that's a nice workaround.

DG