How to trade in 30-min scale by set trade in by minute scale
Author: stolmax
Creation Date: 9/18/2009 9:56 PM
profile picture

stolmax

#1
Hello,

I created a strategy that works great in the 30-min scale, but I need to automatically set trades in the by minute scale, such as:

1. I ran a strategy at 10:30, using a 30-min scale, and if the buy signal was issued, I would like to automatically set a buy signal on 10:31.

Thanks,

Max
profile picture

Eugene

#2
Use 1-minute data as the basis scale, make the necessary calculations after SetScaleCompressed( 30 ), then trade on the basis time scale after RestoreScale(). See more code examples in the WealthScript Programming Guide > Multi-Time Frame Analysis.
profile picture

stolmax

#3
Thanks Eugene!
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).