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
Vicari0us Hi Nicolas, How do I incorporate this indicator into my strategy? I mean what do I call ...
Nicolas Use the CALL function: or use the 'fx' butto...
Vicari0us Perfect thanks! I got it
1 week ago
swapping Please Hans63 and robdav follow to uppe...
Hans63 Thank you swapping
FREDNC @Nicolas merci pour se remarquable indicateur, reste à voir comment on va pourvoir l'intégre...
Carlos Garcia why doesn´t work on Dax?
Nicolas Try to restrain to trading hours when Volumes are present (customized trading hours: righ cl...
hartgeld Hallo Atxeel, sehr interessanter Code, habe das installiert und funktioniert. Danke! Kannst ...
atxeel Hallo hartgeld, die Ziele sind schlicht, bspw. die Range beträgt 10 Punkte, dann ist das Zie...
Saikumar Fx hi how to convert proreal code to mt4 indicator for pre market session usa indicator
Nicolas Hi, we dont offer MT4 programming assistance, but still you can ask for private paid program...
Brisvegas Thats Awesome thank you
carlvan Thank you for posting this, useful
swapping fib1236 = (hiday-lowday)*1.236+lowday DrawSegment(startbar,fib1236,barindex,fib1236) colou...
swapping Oups ! Nicolas il y a un problème avec l'insertion de code en utilisant le bouton [Add PRT ...
swapping fib1236 = (hiday-lowday)*1.236+lowday DrawSegment(startbar,fib1236,barindex,fib1236) colour...
Juanjo Eres Grande¡¡¡...muchas Gracias.
Juanjo Hola Me parece muy interesante lo que has hecho, yo estoy queria hacer una estadistica simi...
Vonasi I can't help in Spanish! Maybe it is better to start a topic in the forums with your questions.
ALE Very Very Nice
Nicolas Bene, perché no, trovi che sia affidabile a lungo termine?
Billy Ray Valentine Non saprei, che ne dici di provare?
Steffen Schmauch hello Nicolas, can I change the indicator that I only get the time of 8-9 clock displayed? a...
Choliver HI, Thanks a lot Good job. :-)
rama This is one of best indicator to trade any time frame
Madrosat Is this indicator as it is , useful in strategy automatic
juanj Haven't been on this forum for ages! Just logged in to see what is happening and since this ...
robertogozzi Welcome back Juanji, why don’t you post your strategy in the ProOrder support, it’s a better...
Stenozar Thanks Leo!
Madrosat Hi Leo something is missing in the strategy above because it does not work at all as it is
Leo I don't know, I just copy paste the strategy. The optimisation of the values I wrote them in...