PDA

View Full Version : multi time frame question


pdawg
10-18-2007, 01:56 PM
Would it be possible to have a bar close strategy, check an alternate higher TF intrabar? Say my primary TF is a 55t, and when certain conditions are met I would like to know what the current 5 min bar is doing, not the last closed bar. Is this possible?

NinjaTrader_Dierk
10-18-2007, 02:22 PM
This should be doable by the multi-time frame strategies which are supported by NT. Please consults the docs and the SampleMultiTimeFrame strategy

pdawg
10-18-2007, 03:10 PM
I have setup Multi Time frame stuff already, and it works fine for bar close. But I'm not clear if you are using bar close for the main TF, can you have a bar close= false for another TF within the same script?

NinjaTrader_Dierk
10-18-2007, 03:12 PM
No, CalculateOnBarClose is the same for both series

pdawg
10-18-2007, 03:21 PM
So then my initial post question is in fact not doable??

NinjaTrader_Dierk
10-18-2007, 03:23 PM
It's not doable if your logic would rely on CalculateOnBarClose being different for your two series.