In Strategy Template u can find my Tick Based Strategy if non trading time frame is Tick.
viewtopic.php?f=28&t=2712#p6290
I Use a complex algorithm,
Not perfect, but good enough for me.
For trading time frame strategy not to do anything.
Will Execute trading algorithm only for first tick within trading time frame.
For multiple time frames, if non trading is not Tick, better solutions will be MTF Strategy Template.