people with nt,
i'm in need of assistance.
i have a strategy i have been working on. it runs on 4 minute rty contract bars and everything seems well.
i now want to trade only during the nasdaq exchange regular session, that is 9:30 to 16:00 eastern yankee time.
and i have some other ideas that will never work on 4 minute bars series like the following:
_ if a downtrend was active right before 9:30 and is active at 9:30, then open a short position exactly at 9:30.
_ and, close all open positions exactly at 15:58.
entries and exits should still only be generated by the 4 minute bars series, but i thought that adding a 1 minute bars series would then allow the strategy to implement very precise time filters and this has resulted in a mess.
i have tried several versions. one using set stop loss orders and another one using onorder and onexecution updates. if i send all orders to barsindex 0 then entries and exits will seemingly work well but the strategy will fail to implement the 9:30 and 15:58 filters i described above. if i try sending all orders to barsindex 1 then the filters will improve somewhat but the entries and exits will be generated by the 1 minute bars series which ruins the strategy.
¿can nt provide a working sample or an explanation of how to use a larger bar size to generate entries - exits and define conditions but while also having exact time filters as i described above? i understand that it should be possible to use the larger bar size for the most important logic and have the smaller bar size series evaluate all entries - exits and stops, ¿is this correct?
very well, regards.
Comment