Reversal point indicator

Reversal point indicator

This indicator finds and displays the potential bullish and bearish turning points using different parameters:

1. Red/Green candle (reversal)
2. Bullish candle close above the open of the previous red candle
3. Space to the left (the low of the last 3 candles lower than the low of the last 50 candles)
4. default stochastic (8,3,3) was in the oversold area within the last 3 candles

1. Green/Red candle (reversal)
2. Bearish candle close below the close of the previous green candle
3. Space to the left (the high of the last 3 candles higher than the high of the last 50 candles)
4. default stochastic (8,3,3) was in the overbought area within the last 3 candles

Indicator coded by a request in the English forum.


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?

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

  1. Francesco78 • 04/09/2017 #

    Thank you, very interesting, work well on Italy 40 with 30m TF

  2. Stenozar • 04/09/2017 #

     Buonasera Nicolas, l’indicatore va inserito sul prezzo? ho provato ma il grafico mi viene schiacciato, non capisco perchè.

    • Nicolas • 04/09/2017 #

      Replace the last line with “RETURN” only. 

  3. Francesco78 • 04/09/2017 #

    Hi Nicolas, would it be possible to show the indicator as a series of 1 and -1 to be used as a external indicator, not one to be added on the chart, in order to make the backtest easier?

  4. Francesco78 • 04/09/2017 #

    I actually sorted it out
    golong = longgoshort = short*-1return golong as “LONG”,goshort as “SHORT”,0

    • Juzz Me • 04/09/2017 #

      Hey Francesco, this indicator is getting way too little praise – I find it extremely useful and effective. Would love to backtest it, but I can’t really figure out what exactly you changed in the code. Mind to enlighten me? Thanks!!

  5. diegofe_2000 • 04/09/2017 #

    gracias , muy bueno

  6. iramirez55 • 04/09/2017 #

    Bonjour, excusez mon français. Est-il possible de mettre les résultats des stratégies dans Excel? Comment vous pouvez combiner plusieurs stratégies pour l’ensemble des résultats?Merci a tous.
    Hello, sorry for my English. Is there a way to put the results of the strategies in Excel? How can you combine several strategies to see overall results?Thank you

    • Nicolas • 04/09/2017 #

      Please ask general purposes questions on forums. Thanks. 

  7. Sandrine • 04/09/2017 #

    Bonsoir Nicolas,
    Je vais sans doute poser une tien un peu bête, mais serait-il possible d’avoir ce code mais pour MT4, bien que ce soit un site pour PRT ?!

    • Nicolas • 04/09/2017 #

      Si il s’agit d’une demande privée pourquoi pas, mais il faudrait passer par le service programmation:

  8. simone • 04/09/2017 #

    i try that indicator Nicolas..give me some days for see how it work

  9. ericbesoramolins • 04/09/2017 #

    No sé lo que hago mal . si en la ultima linea solo dejo “return” no funciona y si lo pongo tal qual me altera la escala. me ayudas nicolas? gracias 

    • Nicolas • 04/09/2017 #

      En la configuración de precios, use la escala automática del eje vertical para usar sólo el precio.

  10. puabai99 • 04/09/2017 #

    Hello can anyone help me turn this into mt4 code? Please. I don’t know anything about coding.

    • Nicolas • 04/09/2017 #

      This website is dedicated to Prorealtime programming. However, you can ask for personalized codes at the programming services :

  11. JohnScher • 04/09/2017 #

    Hello Nicolas.
    Good Work!
    Where can i find a basic code to trade divergences?

    • Nicolas • 04/09/2017 #

      There are many divergences indicators on the website already, please make a quick search with the website search engine. Thank you.

  12. elanoa • 04/09/2017 #

    Buonasera sig. Nicolas. Complimenti per la sua competenza. Potrebbe darmi qualche suggerimento su alcuni codici che non riesco a far funzionare in piattaforma? Grazie.

Register or


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

+6 more likes

Related users ' posts
Balmora74 thanks for this code Philippo ! So if i understand well a Positive (+) EntryOK x ROC means a...
1 month ago
fireleg79 Bonsoir Nicolas. Merci pour tout ton travail. Quand tu auras le temps pourras-tu jeter un oe...
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
Sukhdev Golen Hi Nicolas, how to use this on tradingview?
Nicolas You can't. All codes here are made for the ProRealTime trading platform: https://www.proreal...
Alai-n @Vonasi Thanks
jiddan78 how to convert to afl amibroker ?
Nicolas We do not supply free coding assistance for AFL Amibroker on the website. You can ask for pa...
michaelben Bonjour Nicolas . Je cherche une strategie pour faire du trading automatisé. J'ai essaye ave...
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
nader003 How can we get this indicator on MT4
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
Nicolas No. The code delivered on our website is for ProRealTime trading platform: https://www.pror...
growland1au Hi Nicolas, I am a beginner to this and I think your Pivot reversal strategy alerts indicat...
Nicolas I can't remember, if you can't find it anywhere in forums, open a new topic if you want it t...
Vinks_o_7 Great, thanks a lot Nicolas !
Teddy Coronak Top Nicolas ! Merci
Andyswede Thank's! Great indicator:)
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
dearno //eurusd STOCH RSI SMA Lose DEFPARAM CumulateOrders = true// tradestart = time > 090000...
dearno i have test it from 22-okt-2015 to 24-jan-2020. look out for the MAE ferry high up to -$5249...
snucke dearno it hasnt made any money from sep 2018 though
Jo han Thanks for the explanation! Tried to change ModeMA (4 rows at the bottom) with WeightedAver...
Nicolas Please open a new topic with the code and an explanation, you have messed up the initial cod...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
teddy58 Ich habe es mit N= 1,5 und N=2,5 getestet mit 200000 Einheiten. Es funktioniert leider erst ...
Matriciel I use this indicator to help me make a decision when there is a divergence. The divergences ...
Jan Wind Hi, I personnaly am not a big fan of ZIGZAG indicator, as it repaints itself during time. ...
luxrun Good evening Nicholas, I can not see the colors on the line of the moving average, but only ...
Nicolas Yes, you must choose the oscillator that will color the moving average. Example: ONCE UseC...
Doddge Bonjour Nicolas, savez-vous s'il existe un indicateur pour Prorealtime similaire au ST-TL fi...
Nicolas Pour les demandes de conversion de code, et si vous possédez le code source de l'indicateur ...
Doddge Merci beaucoup Nicolas, j'ai utilisé le formulaire avec les informations que j'ai sur cet in...
kuroobi Parfait , merci beaucoup .
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...