RSI divergence – help coding

Forums ProRealTime English forum ProScreener support RSI divergence – help coding

Viewing 7 posts - 1 through 7 (of 7 total)
  • #147462

    Can you please help me code below screener algo ?

    Bullish reversal signal:

    • Find the last 2 RSI oversold signals
    • if (Oversold signal[1] > Oversold signal[0])
    • screen for Bullish reversal

    Bearish reversal signal:

    Opposite to Bullish signal

    #147471

    Ignore the aove, there is more to this –

    Can you please help me code below screener algo ?

    Bullish reversal signal:

    • Find the last 2 RSI oversold signals (RSI > 70)
    • if (RSIOversoldSignal[1] < RSIOversoldSignal[0]) and (priceAtOversoldSignal[1]  > priceAtOversoldSignal[0])
    • then screen for Bullish reversal

    Bearish reversal signal:

    Opposite to Bullish signal

    #147474

    There you go:

    since you did not specify how far from each other those two signals should be, I used a crossover.

     

     

    #147475

    In your pic you haven’t two oversold or overbought signals, just one.

     

    #147478

    Thanks @robertogozzi.

    I think crossover works fine too. Yeah the quality of the signal is better when it is oversold, but it works for near overbought signals too.

    I will try manually with a screener and then import it to proorder later. Thanks again 🙂

    #147481

    Hi @robertogozzi.

     

    Couple of things from the above code –

    • Not sure if you have seen my latest requirement criteria above. We need to check the price too when we have a RSI signal. Can you please add that too?
    • The expectation is that the second RSI signal is  caused by the current price, but not historic data. Because we will be taking entry based on the second RSI signal.

    Please see this video for better clairty on what I am trying to do

    Thanks

    #147490

    I cannot wath a 44-minute video.

    You should recap conditions.

    This is my code modified to add diverging price. Signals are rarely returned:

     

     

Viewing 7 posts - 1 through 7 (of 7 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login