PDA

View Full Version : Time Stop


shortymcshort
08-16-2007, 06:02 AM
Is it possible to have a time stop with NT? I looked through the forum and help etc... and I couldn't find anything referencing it. The example is like this.


Using 1 min bars
Buy on the close of bar 1 and then if profit target isn't hit then sell on the close after 5 min. It would be a total of 6 bars in the trade. I looked through the Strategy Wizard and I didn't see anything that would help me. Although I didn't really check the User Defined Variables.

If it is possible can i do it through the Strategy Wizard or do I need to simply write the code.

Thanks
Eric

NinjaTrader_Ray
08-16-2007, 06:09 AM
You would need to use the BarsSinceEntry() method for this. This will be available in the Strategy Wizard in NT 6.5 or greater due out in fall 2007. In the interim, you would have to manually code this.

Here is additional information - http://www.ninjatrader-support.com/HelpGuideV6/BarsSinceEntry.html