Back Testing code on stocks with 30 days RSI oversold
Forums › ProRealTime English forum › ProOrder support › Back Testing code on stocks with 30 days RSI oversold
- This topic has 8 replies, 2 voices, and was last updated 5 years ago by Olirussell11.
Tagged: Rsi oversold
-
-
11/20/2018 at 10:42 AM #85286
To whom it may concern
I would like to back test using following parameters
I would like to Buy when the following three paramters are meet
- 30 day RSI is below 30
- If a share trades 30 % above three month average volume
- If a share is down by more than 3%
Please If any one could help
Regards
Oliver
11/20/2018 at 11:42 AM #85300If a share is down by more than 3%, compared to…?
11/20/2018 at 12:11 PM #85305Hi Robert,
just If the share is down 3% on any given day
11/20/2018 at 12:34 PM #85308There you go (for the Daily TF):
123456c1 = volume > Average[60,0](volume) //3 months is about 60 trading daysc2 = Rsi[30](close) < 30c3 = close < (close[1] * 0.97)IF c1 AND c2 AND c3 AND not OnMarket THENBUY 1 SHARE AT MARKETENDIF11/20/2018 at 12:36 PM #85310Thank you so much Robert!!
11/20/2018 at 12:48 PM #85312Hi Robert,
My back test is coming up with no results but when i back test on my Reuters manually I get multiple entry points! I just would like to confirm following
That we would buy a stock when the following 3 criteria happen
1- Share below 30 on 30 Day RSI
2- Volume traded is 1.3 X 3 month Average Volume on any given day
3 – Share is down by more than 3 %
Thank you once again for all your help!
11/20/2018 at 1:39 PM #85319Replace line 1 with
1c1 = volume >= (Average[60,0](volume) * 1.3) //3 months is about 60 trading daysbut this will make it more difficult to get results!
On what instruments are you testing it?
11/21/2018 at 1:39 AM #85370It works as from attached pic. Very few trades, though.
I made a screener out of your strategy, test it on your preferred watchlist:
12345c1 = volume > Average[60,0](volume)c2 = Rsi[30](close) < 30c3 = close < (close[1] * 0.97)x = c1 AND c2 AND c3SCREENER[x]11/21/2018 at 8:30 AM #85377Hi Roberto,
Thank you so much!!
Ill try it today have a great day!
-
AuthorPosts
Find exclusive trading pro-tools on