Programming strategy using mixed daily and 5-min bars
Author: wl_yul
Creation Date: 2/26/2012 9:01 PM
profile picture

wl_yul

#1
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.
profile picture

Eugene

#2
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).
profile picture

Eugene

#3
P.S. Stepping down to intraday scale is also possible: Knowledge Base :: Accessing Intraday data from Daily, but we recommend that novices start the "standard" way.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).