PDA

View Full Version : Minumum bars required


MrBaffalo
05-15-2007, 08:58 AM
Hi Guys,
How do I code minimum bars required? I need to set it to zero into the code.
Thanks in advance,

Marce

NinjaTrader_Ray
05-15-2007, 09:21 AM
Marce,

In Initialize()


BarsRequired = 20;


However, currently this property will not be displayed as the default value in the strategy dialog. I hope to have this changed for the next update.

MrBaffalo
05-15-2007, 10:07 AM
Thanks
Marce