PDA

View Full Version : Stop Loss based on Signal Bar


jojab
10-28-2009, 09:23 AM
Within the Strategy Wizzard, is there a way to set a stop loss one tick below (if long) the signal bar?

For example, your signal fires to go long. The system enters on the open of the next bar. Can you set the stop loss to one tick below the low of the bar that the signal fired on?

If it is not possible within the Strategy Wizzard, can you provide the sample code of how it would be done?

Thanks

NinjaTrader_Josh
10-28-2009, 09:34 AM
jojab,

You need to store the exact price you want to submit at in a variable and then use CalculationMode=Price and use that stored price.