Is there a way to switch between time scales? I would like to run a strategy that creates a buy signal based on 15min candle patterns, but then switch to 1 min candles once the trade is executed to manage the trailing stops and scale out of the position in steps as the candles reach certain profit/loss levels. I would like this for both backtesting and then for real-time running strategy. Any thoughts/comments or code examples would be appreciated.
Size:
Color:
Without making things complicated (WealthScript has direct support for accessing higher time frames, not the opposite), you could use 1-minute data as the basis time frame for your Strategy and then follow the guidelines in the WealthScript Programming Guide, chapter Multi-Time Frame Analysis > Intraday/Intraday.
Size:
Color: