RSI classical and hidden Divergences Indicator

v10.3
RSI classical and hidden Divergences Indicator

After a long work, I finally developed a simple, but useful RSI Divergences Indicator -Hey! another one?-

Yes, another one! (but I hope it is better than the default ProRealTime RSI Divergences Indicator).

This indicator finds both Direct (or Regular) and Hidden (or Inverse) RSI Divergences.

When a divergence is found, an Arrow is drawn to the chart and a text is added to the Arrow to mark the type of Divergence: “dd” = Direct Divergence; “hd” = Hidden Divergence

Indicator parameters:

  • RsiPeriod: number of bars to calculate RSI value, Default=10
  • RsiOverSold: Oversold Level, Default=30
  • RsiOverBought: OverBought Level, Default=70
  • MinBarRange: minimum distance from two consecutive RSI Highs or RSI Lows, Default=3

Comparing my indicator with ProRealTime RSI Divergence Indicator (using same parameters values), i found that entry points are exactly the same, except for new arrows added by my indicator in case of hidden divergence. That’s why ProRealTime indicator shows only regular divergences.

You can play with parameters to change sensivity.

Briefly, an RSI Divergence screener will be follow.

Merry Christmas!

Ciao!

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Genotik • 12/22/2017 #

    Grazie !

    • Francesco • 12/22/2017 #

      Prego, spero che funzioni. Ho postato (due volte) anche lo screener, ma non l’ho visto ancora pubblicato.

  2. Alai-n • 12/22/2017 #

    Grazie francesco per questo lavoro !!!

  3. Alai-n • 12/22/2017 #

    Ciao Francesco, oltre alle istruzioni grafiche (DRAWARROWUP e DOWN / DRAWTEXT) che hai inserito nel codice avrei voluto inserire DRAWSEGMENT che funziona nel tempo, purché non venga rilevata un’altra divergenza !!! Hai qualche idea su come fare questo ???

  4. Francesco • 12/22/2017 #

    Ho provato ad inserire i segmenti per evidenziare le divergenze, ma al momento non sono riuscito ad individuare correttamente i punti, per cui i segmenti stessi mi venivano disegnati nei punti e con le inclinazioni sbagliate. Cmq, per disegnarli devi individuare i punti (x1, y1) e (x2, y2) che sono le coordinate dei due punti estremi del segmento. x1 dovrebbe essere la candela (il barindex) del minimo (o massimo) più vecchio e y1 il relativo valore di RSI. Allo stesso modo, x2 è la candela del secondo minimo (o massimo) più recente e y2 il relativo valore di RSI.
    In effetti i rispettivi valori di RSI (cioè y1 e y2) possono essere letti dalle variabili RSIMax1 e RSIMax2 (nel caso dei massimi); RSIMIn1 RSIMin2 nela caso dei minimi. x1 e x2 andrebbero letti dalla variabile “I” che rappresenta il barindex man mano che il ciclo for –> next viene scorso. Ci ho provato, ma le riche mi venivano disegnate tutte storte. Ci devo lavorare.

  5. LuisMi • 12/22/2017 #

    Hello merci pour l’indicateur
    j’ai un message d’erreur
    Veuillez définir la variable suivante : rsipériod
    Veuillez définir la variable suivante :rsioverbought
    Veuillez définir la variable suivante :rsioversold
    Veuillez définir la variable suivante : minbarrange
    quel sont ces données et ou dois je les mettre?

    merci par avance

  6. LuisMi • 12/22/2017 #

    J’ai trouvé pour rajouter les variables…
    thanx for indicator

  7. Inertia • 12/22/2017 #

    Very nice Franceso. Like it.
    Q: to turn your indicator into a strategy, shall I just replace lines Drawarrows and draw text with “Buy 1 contract at market” ?
    Sorry still learning 🙁 cause I’ve tried of course and it doesn’t work…Do not laught 😉

  8. Francesco • 12/22/2017 #

    @Inertia: yes, you have to replace Drawarrow and Drawtext with Buy or Sell orders.

  9. brendab180 • 12/22/2017 #

    I am new to prorealtime and when I add this is wants to put it in a lower frame how do I get it to show up on my chart frame. Thanks for your help

    • Francesco • 12/22/2017 #

      1- Download attached file rsi-divergences-2.itf

      2- Here is how to import indicator into your platform:
      https://www.prorealcode.com/import-export-prorealtime-code-platform/

      3- Here is how to add indicator to your chart
      https://www.prorealtime.com/en/help-manual/technical-analysis-indicators
      Here is how to show it on your char

  10. avatar
    fabioerliam • 12/22/2017 #

    Ciao Francesco!
    Grazie per l’indicatore che da tanto stavo cercando inutilmente di provare a creare! Ho un paio di domande da farti…
    L’ATR che hai inserito all’inizio serve a? 🙂 non credo abbia a che fare con lo strumento…penso che serva a disegnare qualcosa sul grafico…esatto?
    Cosa intendi con shiftext?
    Valore 3? Sono il numero di barre che considera per verificare se c’è o no la divergenza?
    Pensavo che quell’istruzione fosse data dal minbarrange……
    Confusion….;(
    Mi dai una mano?:)
    Grazie mille di tutto!!!

    • Francesco • 12/22/2017 #

      ShiftText serve semplicemente a far sì che il testo e la freccia non si sovrapoongano. Come avevi capito da solo, l’ATR serve solo a calcolare l’ordinata del punto sul quale piazzare la freccia sul grafico.

  11. avatar
    fabioerliam • 12/22/2017 #

    Grazie! Buona giornata

  12. avatar
    fabioerliam • 12/22/2017 #

    Ciao Francesco! Ti disturbo ancora per chiederti se conosci o se eventualmente pensi si possa generare un comando di buy o sell all’incrocio di 2 MM, ma dopo che si verifichi una divergenza sul tuo indicatore rsi…magari se ci fosse la possibilità anche di stabilire dopo quante barre dalla divergenza il segnale possa definirsi valido…per esempio mi scatta la divergenza e se entro max 5 barre si incrociano le mm ok…se no non prendere l’ordine….la vedo dura:)
    Grazie caro

  13. avatar
    fabioerliam • 12/22/2017 #

    P.s. ho provato a togliere le divergenze nascoste (hd) dall’indicatore, ma nonostante inserisca gli stessi parametri, non mi da gli stessi segnali che mi da invece l’indicatore di divergenze rsi quello standard della piattaforma…

  14. remembers • 12/22/2017 #

    Salve ho notato che questo indicatore non mi funziona importandolo correttamente. Idee?

  15. olpey • 12/22/2017 #

    Hello Francesco, Is there any parameters that you recommend for lower or higher TF please
    Thank You Grazie Mile

  16. Bard • 12/22/2017 #

    Hi,
    When I download this it says RSI Divergences 1 itf, not 2?
    There are no Return values and it’a a blank indicator?
    Any ideas anyone?

  17. robdav • 12/22/2017 #

    Hi Francesco

    I appreciate you uploaded this a long time ago but it is a useful indicator if you can’t spot the divergences manually. Interestingly I’ve compared it on IG Index spreadbet chart data and ProRealTime real market data and it highlights more interesting divergences on the real data which I guess is not a surprise. I’ve uploaded an image that compares a 5 min chart and you can see the differences. Thought you or someone else might be interested.

    Cheers

    Rob

  18. robdav • 12/22/2017 #

    https://drive.google.com/file/d/1-AQ4AS7LGV6hDJGUmKELNkHb_HZwuJ1_/view?usp=sharing

  19. robdav • 12/22/2017 #

    Try this link, it actually works.

    https://drive.google.com/file/d/1-EZBYlTi8qWOYT4_ZxgTlE0aUcnfKF6t/view?usp=sharing

  20. Adil • 12/22/2017 #

    How to install in META 4 ?

    • Nicolas • 12/22/2017 #

      Our website is about programming for ProRealTime trading platform and not about Metatrader4!
      https://trading.prorealtime.com/en/

  21. Denis • 12/22/2017 #

    Hello Francesco,
    I have the same problem as Bard, a blank indicator without any return value.
    Coul you help me please ?
    Many thanks

  22. shmilg • 12/22/2017 #

    Nice

  23. llsegard • 12/22/2017 #

    bonjour,

    merci pour cet indicateur très utile –
    Pouvez expliquer pourquoi l’indicateur apparaît dessous/dessus le chandelier lorsque la divergence est détectée sur les ut intraday alors qu’il apparaît le lendemain en ut journalière.

    j’ai testé les différents paramètres et je n’arrive pas à résoudre ce problème.

    merci pour vos retours.

    Ludovic

  24. sisco771 • 12/22/2017 #

    Bonjour.
    je viens de telecharger cet indicateur .Malheureusement il ne fonctionne pas ou plus !?
    J’ai essayer deux fois sans succès . il s’affiche correctement mais aucune courbe ne s’affiche !!
    Quelqu’un aurait-il rencontrer le même problème que moi?.
    merci d’avance pour vos retours.

  25. Geoffrey Toplis • 12/22/2017 #

    Hi Francesco,

    Great Indicator and thanks for sharing.

    How exactly does the MinRangeBar setting work? It sounds self explanatory but if i change from min 5 to min 3 some signals disappear – I would’ve thought that more would appear with the min bar range down. Is it based on the price or RSI?

    Regards,
    Geoff

  26. SpreadBetMH • 12/22/2017 #

    Hi there,
    I have V11.1.
    I get the Indicator but no Arrows on the price.

    Kind Regards
    Michael

  27. Alai-n • 12/22/2017 #

    Ciao Francesco, sei ancora in giro?

  28. Metodi97 • 53 days ago #

    This indicator is great but can someone create strategy based on the same indicator it will be great. Thank you in advance and have a good and profitable week 🙂

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+21 more likes

Related users ' posts
Nicolas
6 years ago
Jurik RSX
v10.3
Jurik RSX
3
Indicators
hartgeld Hallo Nicolas, ein sehr guter Indikator, vielen Dank! Leider rechnet er bei mir nicht die Pe...
rigel Hi Nicolas, have you coded the Jurik alone (as Mov. average)?
Nicolas 2 versions available in this indicator: https://www.prorealcode.com/prorealtime-indicators/a...
AG1 Thanks Nicolas Still a problem in line 29 Please take a look. thanks again Alex
Nicolas code is modified in the above post, use that one.
AG1 Still a problem in line 29 Please take a look. thanks again Alex
styrke Hello Nicolas, Nice screener, I appreciate the way you always try to condense at maximum th...
Nicolas There's no particular reason. RSI is widely use with its default period and results seems re...
MaoRai54 Hi, first of all Happy New Year. Well, I've inserted your indicator in DAX 1h but I cann...
Vinks_o_7 Hi Mao Happy New Year ! This is just an improved RSI where you plot a standard price momen...
Angel Perez Ciao Francesco. First of all thanks for the indicator and also fro the screener. I do have a...
PSIDIO Ciao to you all, I also have a question and would be very happy for a helpful comment. I a...
Giuseppe68 ciao, ho provato l'indicatore e mi sembra interessante, ma in fase di backtest non riesco ad...
poldoposta veramente bello.....complimenti
Nicolas
6 years ago
TradeNavigator RSI
TradeNavigator RSI
10
Indicators
Nicolas Tutte le impostazioni che hanno la parola "period" sono quelle dedicate ai periodi di cambio...
GianfrancoCeck Le chiedo una ultima cosa, ossia se è possibile personalizzare l'indicatore con una scritta ...
Nicolas Spiacente che non sia possibile, le coordinate grafiche non sono in pixel ma nel prezzo e ne...
Marc Boliart dear nicolas, tyvm for your indicators and strategies, i have this following error when i ch...
Nicolas Your picture is too small, but for sure the problem is about the fact you are still using v1...
Rory Dryden Thanks. This looks useful.
Jessar Hello, could you tell me how to use this indicator? I think the simplest things can still be...
Mirko Vaglio Interesting idea to bypass the limit of PRT about multiple timeframe, and I am just trying t...
Mirko Vaglio Looking a little bit more, now I understand what had to be absolutely obvious from the first...
Seb nice code! I'm trying to use your method to do a higher timeframe EMA, without success yet. ...
Francesco78 @snucke the results are not the same because the pictures refers to a few years ago. I am no...
snucke @Francesco78 i mean the results differ when i test on my own. so im curious of what the p...
sfl still working, using with filters like : trendFilterUp=close>average[190](close) tren...
bolsatrilera Hi Nicolas, I have this version of the True Balance Power ,created by eykpunter on Tradingvi...
bolsatrilera and the code : REM TRUE BALANCE OF POWER // código original de eykpunter para la plataform...
alex Im looking for a entry when EpicMA crosses over/under trigger. Then look for exits when Epic...
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Roberto Blázquez Hi David, I just saw your strategy and it's good!!! I'm going to try it from today in real a...
juanj To follow new developments or get the latest version of this strategy please visit the forum...
tahar Hello Juan, I wanted to test Universal Strategy via a demo account on PRT but nothing happen...
BravoDelta @juanj wondering if you may help me please. I am looking for a simply strategy to use on the...
Wilko I am not familiar with the screener function, but I am quite certain it should be quite simp...
Gubben @Wilko have you had a look at this again since MTF support? Heard you talk on Börssnack btw..
Wilko @Gubben not really. It was something I posted to show that simpler is usually better. Hope y...
GraHal Yes sorry, I set up a link to a screen shot on my google drive and then I got locked into th...
gabri Here's the thread https://www.prorealcode.com/topic/multiframe-rsi-of-rsi/
Bernard13 Bonjour Nicolas, Pourriez-vous m'indiquer si cet indicateur fonctionne avec la V11 ? Le di...
nwesterhuijs Thanks, only saw it just now.
juanj For the latest version and discussions see the Ichimoku thread here: https://www.prorealcod...
Louwrens Hi Juanj. Thanks for this. I am tying it as we speak. It does not trade that often, which is...
ALE
7 years ago
CSR strategy DAX 1 D
CSR strategy DAX 1 D
17
Strategies
Jesper I tried it on dax 1D and I did not get any trades. Shifted to 10H and it started working. Wo...
rgrgrgr I have the same problem
avatar
crazytrader Is this working?

Top