StrategyBuilder Strategy based on time chart

Hi everyone,
I am totally knew at programming and everyday i am getting more familiar with the strategy builder. the reason why i am here, is i am looking for help. So i am looking for a solution that will solve this issue. Here it is: On a 1minute chart, I want the strategy to enter short or long based on a candlestick bar number .( let me explain what i am looking for. On a period of six hours from 9;30 to 15;30 which is the trade session i want the strategy to enter trades every hour of the session on the bar that follow the 3 minute bar and its multiple Like for exemple (9:33,9:36,9:39… for the whole hour and tradind session) that i want to be broken. So 9:34,9:37,9:40 is the bar that will let me know to go long or short. How do I tell the wizard to implement this? Because it need a reference type of a data and i am not sure on how and where to do that .Thanks in advance to all of you .

trading sesssion= 9:30 to 15:30
multiple of 3= minute 3-6-9-12…etc… of every hours

Christian,

Welcome to our new community forums.

This specific case with the strategy builder you would have to specify the time for each entry condition manually like this.

To do so with Time based math (e.g. multiple) you would need to graduate to the C# coding of the strategy and unlock the strategy. There you could use timebased .NET library to do the time math on each bar. If you want to do that and get into the coding side I could help further.

Let me know.

Christian, I came across some sample code in the NinjaTrader help guide and it showed an example that addresses the issue you are trying to handle. I hope this helps.

[https://ninjatrader.com//support/helpGuides/nt8/manipulating_datetime_objects.htm?zoom_highlightsub=timespan]