Enter on weekly and exit on daily signals in Rule-based strategies
Author: Ken16
Creation Date: 10/15/2016 3:40 AM
profile picture

Ken16

#1
Is it possible to run rule-based strategies that enter based on weekly signal (e.g. Friday's close > 20 week SMA), but exit based on daily signal (e.g. any day's close < 5 day SMA)? How to select Scale in this case?
profile picture

Eugene

#2
Multiple time frames are not supported in Rule-based strategies. You have to convert your strategy to code and select Daily scale, then use SetScaleWeekly/RestoreScale to build your weekly SMA and Synchronize it to Daily scale. For more information please refer to Multi-Time Frame Analysis in the WealthScript Programming Guide, the QuickRef (hit F11) and the many code examples here on the forum and in downloadable strategies.
profile picture

Ken16

#3
Thank you for the guidance!
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).