CRSI screener code
Forums › ProRealTime English forum › ProScreener support › CRSI screener code
- This topic has 6 replies, 2 voices, and was last updated 1 year ago by sam00075.
-
-
05/06/2023 at 5:52 AM #214221
Hello the community, hope you’re doing well.
i need your help to make a screener that detects when Connor’s RSI is green in the bottom, by experience that indicates that price hit its low and a technical bounce follows.
I tried create it in Prorealtime software, but the result is not good.
Can you please help with the code manually ?
Thanks
(i’m using default CRSI settings, didn’t change them)
05/06/2023 at 12:27 PM #214230Hi,
When you use this code for the Connors RSI, you can use this screener…
(OverSold level = 10)
Connors RSI screener123456789101112131415161718192021222324252627282930313233343536373839404142434445464748PeriodRSI = 3PeriodStreak = 2PeriodROC = 100Once DownBar=0Once UpBar=0Once UpDownBars=0//Part 1 : Calculate RSIMyRSI=RSI[PeriodRSI](close)//Part 2 : Determine Streak Values and calculate a RSI over itif barindex > 0 thenif close > close[1] thenUpBar=UpBar+1DownBar=0elsif close < close[1] thenDownBar=DownBar-1UpBar=0elseDownBar=0UpBar=0endifUpDownBars = UpBar + DownBarendifMyRSILenght=RSI[PeriodStreak](UpDownBars)//Part 3 : Determine PercentRank by comparing current percentage change to 100(PeriodROC) earlier 1-candle percentage changesTodayROC = ROC[1](close)EventTeller = 0for i=0 to (PeriodROC-1) doEarlier1DayROC = ROC[1](close[1+i])if Earlier1DayROC < TodayROC THEN//Count how many times an earlier 1 candle ROC was smaller then today'sEventTeller = EventTeller + 1endifnextPercentRank = (EventTeller / PeriodROC) * 100//Part 4 : Calculate ConnersRSIConnorsRSI=(MyRSI+MyRSILenght+PercentRank )/3C1=ConnorsRSI<10Screener[C1](C1 as "OverSold<10")1 user thanked author for this post.
05/06/2023 at 8:05 PM #214241Thank you JS,
it works like a wonder.
Is there a way to add a high volume condition into it ?
Like :
https://www.prorealcode.com/prorealtime-market-screeners/screener-break-out-with-high-volume/
05/06/2023 at 9:29 PM #214242Hi,
Since it is a kind of “breakout” I would use this for the volume:
C2=Volume>Average[10](Volume)
Connors RSI + Volume123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051PeriodRSI = 3PeriodStreak = 2PeriodROC = 100Once DownBar=0Once UpBar=0Once UpDownBars=0//Part 1 : Calculate RSIMyRSI=RSI[PeriodRSI](close)//Part 2 : Determine Streak Values and calculate a RSI over itif barindex > 0 thenif close > close[1] thenUpBar=UpBar+1DownBar=0elsif close < close[1] thenDownBar=DownBar-1UpBar=0elseDownBar=0UpBar=0endifUpDownBars = UpBar + DownBarendifMyRSILenght=RSI[PeriodStreak](UpDownBars)//Part 3 : Determine PercentRank by comparing current percentage change to 100(PeriodROC) earlier 1-candle percentage changesTodayROC = ROC[1](close)EventTeller = 0for i=0 to (PeriodROC-1) doEarlier1DayROC = ROC[1](close[1+i])if Earlier1DayROC < TodayROC THEN//Count how many times an earlier 1 candle ROC was smaller then today'sEventTeller = EventTeller + 1endifnextPercentRank = (EventTeller / PeriodROC) * 100//Part 4 : Calculate ConnersRSIConnorsRSI=(MyRSI+MyRSILenght+PercentRank )/3C1=ConnorsRSI<10//Part 5 : Volume breakoutC2=Volume>Average[10](Volume)Screener[C1 and C2](C1 as "OverSold<10 + Volume")1 user thanked author for this post.
05/07/2023 at 1:38 AM #21424305/07/2023 at 6:23 AM #21424405/07/2023 at 6:37 AM #214245 -
AuthorPosts
Find exclusive trading pro-tools on