RSI Divergence Screener Last Signal

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #203792 quote
    brunoasoliveirabrunoasoliveira
    Participant
    New

    Hello everybody. I’m trying to build a screener with RSI Divergence. I already searched for this topic and I didn’t find what i’m searching for. In the screener, I need to know the last signal diferent from 0 (zero) of the RSI Divergence. I mean, if the last signal was -1, being possible to happened 10 or 20 candlesticks ago, then it will give me -1. Is it possible? The screener I’m buiding is for exemple: usa stocks near pivot point S1 with the last RSI Divergente “1” (bullish).

     

    Thanks a lot for your help.

    Regards

    #203811 quote
    JSJS
    Participant
    Master

    Hi @brunoasoliveira

    There is an indicator in the library called “Mio divergenza RSI”

    Maybe you can convert this indicator into a screener?

    Mio-divergenza-RSI.itf
    #204048 quote
    qigleyqigley
    Participant
    Junior
    Hello everybody. I’m trying to build a screener with RSI Divergence. I already searched for this topic and I didn’t find what i’m searching for. In the screener, I need to know the last signal diferent from 0 (zero) of the RSI Divergence. I mean, if the last signal was -1, being possible to happened 10 or 20 candlesticks ago, then it will give me -1. Is it possible? The screener I’m buiding is for exemple: usa stocks near pivot point S1 with the last RSI Divergente “1” (bullish). Thanks a lot for your help. Regards
    Here you go for a daily timeframe.
    timeframe (1 day)
    C1 = DivergenceRSI[5,30,70,20](close[0]) = 1
    C2 = DivergenceRSI[5,30,70,20](close[0]) = -1
    SCREENER [ C1  OR C2 ] ( DivergenceRSI[5,30,70,20](close[0]) as "RSI Div" )
    #204051 quote
    qigleyqigley
    Participant
    Junior
    Above code is for current period, of you want it for 10 days ago, change close[0] to close[9],  for 20 days ago change close[0] to close[19]
    #204057 quote
    JSJS
    Participant
    Master

    The indicator “DivergenceRSI” gives three values:

    1 = Bullish divergence

    -1 = Bearish divergence

    0 = no divergence

    If you want to look back at what the last signal was, you can use this screener:

    Here you look back at 50 bars to check what the last divergence signal was.  

    xDivRSI = DivergenceRSI[14,30,70,20](close)
    
    For i = 0 to 50
    If xDivRSI[i] = 1 then
    BackCheck = 1
    Break
    ElsIf xDivRSI[i] = -1 then
    BackCheck = -1
    Break
    EndIf
    Next
    
    Screener[BackCheck](BackCheck as " 1 = Bullish -1 = Bearish")
    

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

RSI Divergence Screener Last Signal


ProScreener: Market Scanners & Detection

New Reply
Author
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by JSJS
3 years, 10 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 11/08/2022
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...