I have a couple of questions about creating Strategies through the Strategy Interface.
Is it possible to add a condition that a SMA needs to be a certain slope ? I can currently have something like SMA1 2 bars ago > SMA1 0 bars ago, but I would like something like SMA 2 bars ago 5 tick higher in value > SMA1 0 bars ago ? I tried affset but it didn't seem to work.
Also how I define an area where I want to stay out of traders, eg (+-5 of the price of 900 ?)
Finally is there a way in the strategy interface to pull a value from another chart, such as the VIX index ? I would like to stay out of trade when the VIX reaches a certain level ?

Comment