PDA

View Full Version : pause or timeout after a trade


flurbo
10-02-2008, 03:28 PM
Does anyone know of a way to keep an automated strategy from executing a trade for a specified amount time after closing a trade?
The problem I have is that after a trade closes through a stop or profit target, the conditions that may have initiated the buy/short still exist so that after the trade closes, the strategy enters a buy/short immediately - usually that trade closes out on a stop :( I just need the strategy to not trade for the next 10 - 30 minutes.
Thanks

NinjaTrader_Josh
10-02-2008, 08:30 PM
Hi flurbo,

Please try adding to your entry condition BarsSinceEntry().

flurbo
10-03-2008, 10:00 AM
Danke! Your quick reply is much appreciated. That is an easy thing to implement.