I'm trying to convert this to a ToS strategy:
Buy SPY when:
RSI("length" = 2)."RSI" is less than 10 and RSI("length" = 2)."RSI" is less than RSI("length" = 2)."RSI" from 1 bars ago and RSI("length" = 2)."RSI" from 1 bars ago is less than RSI("length" = 2)."RSI" from 2 bars ago and RSI("length" = 2)."RSI" from 2 bars ago is less than 60 and close is greater than SimpleMovingAvg("length" = 200)."SMA"
Sell when the RSI(2) gets to 75
Can anyone help with this?
the above is the code i've worked out but in English its this:
I. Buy SPY when
1)above its 200SMA
2)Today’s 2-day RSI is below 10
3)2-day RSI falls 3 days in a row
4)The 2-day RSI, 3 days ago, is below 60
II. Sell when the 2-day RSI closes above 75
Buy SPY when:
RSI("length" = 2)."RSI" is less than 10 and RSI("length" = 2)."RSI" is less than RSI("length" = 2)."RSI" from 1 bars ago and RSI("length" = 2)."RSI" from 1 bars ago is less than RSI("length" = 2)."RSI" from 2 bars ago and RSI("length" = 2)."RSI" from 2 bars ago is less than 60 and close is greater than SimpleMovingAvg("length" = 200)."SMA"
Sell when the RSI(2) gets to 75
Can anyone help with this?
the above is the code i've worked out but in English its this:
I. Buy SPY when
1)above its 200SMA
2)Today’s 2-day RSI is below 10
3)2-day RSI falls 3 days in a row
4)The 2-day RSI, 3 days ago, is below 60
II. Sell when the 2-day RSI closes above 75
Last edited by a moderator: