CM_Laguerre PPO PercentileRank Mkt Tops & Bottoms

CM_Laguerre PPO PercentileRank Mkt Tops & Bottoms

This indicator find market tops and bottoms with the use of the percentile rank of a derivated Laguerre oscillator. The market tops and bottoms are spotted with unique colors (green for bottoms and red for tops), when the oscillator cross over the extreme percentile rank (90%). The mid threshold lines could also act as warning that the price has reached a top or a bottom.

Fits well on a daily basis as ranking an oscillator value by its percentile rank is a good idea that can be explore in many other ways. Here is another path to follow for future research!


This code is adapted from pinescript one by Chris Moody. 

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. Dimi.A • 02/23/2016 #

    Thanks for converting this. Would be nice to see an updated version compatible for 10.3 mate.

  2. wp01 • 02/23/2016 #

    Dear Nicolas,
    I’ve been trying this indicator but unfortunately i can not get the settings right. I do not see the colors red and green like in your example.  I’ve been trying several settings also with additional
    colorzones but unfortunatley with no luck. Ive tried it on the 10.2 version from IG and on the 10.3 from PRT. I hope you can explain me what i’m doing wrong.
    Thank you on forehand for your time.
    Best regards,

    • Dimi.A • 02/23/2016 #

      Yep, same here. It defaults to just lines in grey.

    • Nicolas • 02/23/2016 #

      Just set “Top” positive color to red and “Bottom” negative color to green, every others returned variables set to grey by default.

  3. Dimi.A • 02/23/2016 #

    Nic, any chance we could get an updated version for 10.3 please?This is a very solid indy for reversals.

    • wp01 • 02/23/2016 #

      Unfortunately that was the option i didn’t try. Thanks for the help, it works just fine now.

Register or


avatar avatar avatar avatar avatar
Related users ' posts
luxrun Dear Nicolas, what are the recommended settings for the daily chart?
Geronima Ortiz NO plota nada! porque?
Juanjo Hola Domenec¡¡ Me alegro que hayas ingresado dentro de prorealcode. Conozco tu sistema en...
Equity Hola Domenec, unfortunately it does not plot anything on my chart :-/ I would be grateful if...
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
odin here is my code c1 = ExponentialAverage[3](close) c2 = ExponentialAverage[5](close) c3 ...
juanj HI Odin Can you also kindly provide the code for the 'Short Term Trader Squezze' indicato...
odin this is the short term Trader squezze indicator. short term Trader in Trouble and squezze is...
Geronima Ortiz I watched the video three times, but I can not put the npips parameter as a variable. I do...
Geronima Ortiz I think the video is for an old version of prorealtime, the images do not correspond at all ...
Nicolas indicator1 = CALL “PRC_StopReversal”[npips, 1] and define npips in the optimization window ...
criscolci Thanks a lot!
Bard Cheers for doing Ehler's latest indicator Despair, much appreciated.
3 weeks ago
Kairi Relative Index
Kairi Relative Index
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
2 months ago
Real Pro Thanks for sharing so much work. This goes in the indicator window, yes?
Real Pro It's ok, I imported the rtf as suggested now it works. What I'm seeing is this - in a sol...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...