I'm new to programming strategies in WL. I would appreciate an advice on how to program the following type of strategy.
It first looks for a certain configuration of day bars. Once it is found the next day it has to step down to intra-day scale and start examining the 5-min intraday bars, again looking for another special configuration. If it is found, trade is initiated. Otherwise strategy returns to daily bars starting from the next day.
Size:
Color:
See Multi-Time Frame Analysis > Intraday/Daily in the WealthScript Programming Guide. Note that in Wealth-Lab, it works the other way round: you execute the Strategy on intraday data and compress the bars into Daily - not step down to intraday scale. Once you've become familiar with the concept, try searching the forums for the method names like SetScaleDaily (lots of pointers and examples).
Size:
Color:
Size:
Color: