View Full Version : can 'veto' entries in wizard if o'nite gaps?
boobledop
05-13-2009, 12:48 PM
Hi,
I’m new -- just running simple strategies via the wizard, and can’t see any forum section specifically for the wizard….
All this overnight gapping on the indexes is playing havoc with my simple MA crossover systems…..
My question is… Does anyone know a way (very preferably in the wizard for now) I can ‘veto’ intraday chart entries based on the size of overnight gaps into the first candle of the day?
Thanks
NinjaTrader_Josh
05-13-2009, 01:26 PM
Unfortunately not boobledop. You could try not submit any trades on the last bar of the day to prevent any trades on the open.
boobledop
05-13-2009, 01:40 PM
Cheers,
I was meaning more, not so much trades at that exact time, but any subsequent intraday MA crossovers for that day, based on some kind of condition that the daily gap must be less than x%.
If not achievable in the wizard, do you think this is doable in script?
Thanks
NinjaTrader_Josh
05-13-2009, 01:49 PM
In backtesting, you get your signals at the close of a bar. That means you cannot trade on that bar since there are no available opportunities to do so. Instead you will trade at the open of the next bar. This is just the nature of backtesting.
boobledop
05-13-2009, 02:05 PM
Not talking about backtesting, but perhaps some multi-time frame situation where the normal, say, 15m minute crossover applies, but only on some condition either re the relationship between the daily open with yesterday's close, or the first bar of the day in this timeframe and the last of yesterday.
NinjaTrader_Josh
05-13-2009, 02:07 PM
Multi-time frame is not supported in the wizard. If you want these more advanced types of strategies you will need to program it by hand.
Please see this link for more information: http://www.ninjatrader-support.com/HelpGuideV6/helpguide.html?MultiTimeFrameInstruments
boobledop
05-13-2009, 02:18 PM
And the same-timeframe version I mentioned below ie by referencing the first bar of the day's open versus the close of the last of the previous day as a percentage, is that not doable in the wizard as a condition throughout the day?
NinjaTrader_Josh
05-13-2009, 02:33 PM
You can check the day's open through the indicator CurrentDayOHL() from the Wizard. The day's close is available through Price data selection.