The Universal indicator by John Ehlers plotted directly on the chart, for an immediate understanding of its state. It has been implemented with the moving average of the oscillator, the overbought and oversold areas, and the colors indicating the direction of the trend. Suitable for any chart and time frame.

Indicator interface

  • OVERBOUGHT = change the level of the Overbough line;
  • OVERSOLD = change the level of the Oversold line;
  • UNIAVG = enables or disables the moving average applied to the value of the Universal oscillator;
  • UNIAVGPERIOD = changes the period of the moving average applied to the Universal oscillator;
  • UNIVERSALPERIOD = changes the oscillator period;
  • UNIVERSALFILTER = change the indicator filter period;
  • TIGHTENCHANNEL = change the channel width;
  • ATRPERIOD = changes the calculation period of the ATR used for the formation of the channel, serves to optimize the channel size;
  • AVERAGEPERIOD = changes the value of the moving average used for the formation of the channel;
  • AVERAGEMETHOD = is used to select the type of moving media used for the formation of the channel.

How it can be used:

  1. As a trend indicator;
  2. For inversion strategies;
  3. As a channel, to identify the range of market movement;
  4. As an entry and exit signal, when the Universal value crosses the level 0, or crosses the overbought and oversold levels, or its moving average;
  5. Within automatic trading strategies, such as entry, exit or as a filter.

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. HeikinAshi • 288 days ago #

    Hi ALE,
    Do you have an overview of which colour zones need to be added?
    When I add the indicator to the price I have by default only the 0 level as a dashed line.
    Thank you very much.

    • ALE • 288 days ago #

      Hi I answered you, in this post, if you have other questions do not hesitate
      Thank you

  2. Pasquale Fracicone • 288 days ago #

    What is the Uniavg variable equal to?

    • ALE • 288 days ago #

      UNIAVGPERIOD = changes the period of the moving average applied to the Universal oscillator;

  3. Pasquale Fracicone • 288 days ago #


    • ALE • 287 days ago #

      UNIAVG = enables or disables the moving average applied to the value of the Universal oscillator;

  4. ludo6977 • 273 days ago #

    this incateur is genial, to leave by default. It gives excellent indications. I am a fan. Good job

    • ALE • 270 days ago #

      🙂 thanks

  5. Santi • 192 days ago #

    Hola amigos. El indicador con la nueva versión de PRT funciona muy mal, no dibuja igual que con la antigua versión. ¿Alguien conoce una solución? Gracias

  6. Santi • 192 days ago #

    Salut, les amis. L’indicateur avec la nouvelle version de PRT 11 fonctionne très mal, ne fonctionne pas de la même façon avec l’ancienne version, est-ce que quelqu’un connaît une solution ? Je vous remercie

    • ALE • 136 days ago #

      As soon as the final version of ProRealtimeV11 is released, I will check for any changes to be made.

  7. oeil62 • 144 days ago #

    Bonjour quelles sont les valeurs des variables pour une utilisation journalière ? merci pour l’aide

Register or


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

+7 more likes

Related users ' posts
juanj I have just the place for this.. love John Ehlers's work. Thanks Nicolas!
winnie37 could you post for Dji please?
JohnScher I'm sorry, I specialized in the Dax. I'm sure the basic idea of the strategy also works in t...
ALZ Hi Regarding the DAX, it's good too with 200k bars (with parameters of the basic idea) F...
Sapo Thank you for your indicators. As always it's perfect, I thank you for your help it's preci...
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...
HeikinAshi https://www.prorealcode.com/topic/ssl-channel/
jobswaps oyes aste uno de soportes y recistencias
jobswaps eso lo necesitamos
eivaremir have u got the trading view version?
swapping Excellent Nicolas ;)
Violet Hi Nicolas, There seems to be a small error in the code, which causes the channel not to...
Nicolas Hmm, I don't think so, otherwise the channel will have a moving start and not anchored anymo...
Nicolas I don't know, that code is a 1:1 translation from another platform.
jm1111enator Hello Nicolas, Is this a conversion from Tradestation Easy Language? If so, do you have a ...
Nicolas Sorry I do not provide assistance for Tradestation code.
Nicolas Just add a linear regression moving average of 200 periods on the chart and you'll get the s...
Partha Banerjee Hello Nicolas, this is great, however the actual PRT standard error and standard deviation c...
Nicolas If you want to anchor the channel to a specific candlestick, that would be possible but with...
sir_i Bonjour à tous, Je suis nouveau sur le forum et sur la plateforme, pourriez-vous me dire com...
Nicolas Il faut simplement l'appliquer sur le prix.
sir_i Merci pour la réponse, je ne suis pas familier avec l'application de cette procédure simple,...
Choliver Bonjour et merci pour cet indicateur. Toutefois, il me semble qu'il est unidirectionnel. P...
Louis Winthorp III Hi Choliver, you are right, there is a problem with the drawing instruction when the slope i...
Nicolas File and code are updated.
Juanjo Me alegro que haya sido de utilidad.
kelso11 How can i change the colour of the channel ? Many Thanks
Nicolas In the indicator's settings window.
Nicolas Thanks again for all your valuable posts... and well formatted code! :)
Abdelkrim Maksour hi sir is this indicator for mt4 and how i can get one .
Nicolas Thanks a lot for this new valuable addition to our library. I changed line 76 with "barindex...
Horance Thanks. I've noticed this leftover after submission, but it was too late for editing. BTW, I...
Etienne Thanks Horance for porting this code to PRT. I would like to bring some speedup to your cod...
Horance This is a good question. John Ehlers explains it in Rocket Science for Traders. You have to ...
cbeukes Much appreciated, I will give that a try. Also, is there any criteria that one could use to ...
firemyst Thanks for the code! I'm trying to understand how it works, and have a few questions... line...
Bebbo Grazie del prezioso contributo Nicolas, scusa la mia inesperienza, sono alle prime armi e s...
Nicolas To avoid recalculation, you should use the one from this post.
Bebbo Ok Grazie Nicolas.