I have several strategies that I call "Signal and Trigger" strategies. Basically: the strategy looks for certain TA criteria on a higher timeframe (say, 10 minute bars) - when those criteria are met, that's the "signal". The strategy then switches to a smaller timeframe (say, 2 minutes) to finesse the entry. When the shorter-timeframe criteria are met, the trade is executed. That's the "trigger".
I understand multiple timeframe concepts like BarsArray, BarsInProgress, etc. What I'm looking for is some sample code for a strategy that switches timeframes during its decision-making process. Again, in general, the code is saying: "Okay, that's the setup I'm looking for. Time to trade - but first I'll switch to a shorter timeframe to improve my entry." I'd also like to know if there's any additional complications from using Tick-based bars instead of Minute-based bars.
Note: In no way am I looking for tips, specific TA settings, timeframes, etc. I consider that to be 100% my own responsibility. I'm just looking for a little coding guidance for this multi-timeframe technique.
Comment