Market Mode

Market Mode

The Market Mode indicator seeks to identify trends and rebounds by identifying “phases” according to the principles of John Ehlers.

  • When the oscillator passes above the top line, the market is in an uptrend.
  • When the oscillator goes below the bottom line, the market is in a downtrend.
  • Between these two levels, the market is calmer and could rebound in the direction of the initial trend and / or phase of trend change.


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. Genotik • 12/29/2017 #

    Très intéressant, merci beaucoup !

  2. ALE • 12/29/2017 #

    Thanks Nicolas!

  3. primo1 • 12/29/2017 #

    merci beaucoup!!!!

  4. Yannick • 12/29/2017 #

    merci, interessant, une idée comment élaborer une stratégie d’après cet indicateur?

  5. Marcel • 12/29/2017 #

    Would be nice if the idicator can be adjusted for the 4 phases of Stan Weinstein.

    • Nicolas • 12/29/2017 #

      Sure, but it has absolutely nothing to deal with…

  6. macbartin • 12/29/2017 #

    merci, possible de l’utiliser seul pour le faire fonctionner en tant que stratégie ? de même est-ce possible de l’utiliser sur du 1Min en période 10 je doit changer le fractioner ?

    • Nicolas • 12/29/2017 #

      Pour changer la période, il faudra ajuster la variable MMperiod

    • macbartin • 12/29/2017 #

      plus la période est grande (en occurrence 20) plus l’indicateur est précis dans les changement de tendance? perso j’aime bien utiliser un sto 128 période avec une zone à 50 horizontal)

  7. Hasardeur • 100 days ago #

    Hallo Nicolas,
    in John Ehlers book “cycle analytics for Traders” from 2013, Mr. Ehlers describes the gamma for BanPass as follows:
    gamma= 1/COS(360*Delta/MMPeriod) (your line 18).
    I have added a while slope to the code in order to return a swami chart.
    The result of the while slope swami chart is different to the manual chosen periods.
    Do you have any idea what’s the reason could be?
    I assume, that the look back period of [1]-[2] has an infuence.
    Best regards

Register or


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

+6 more likes

Related users ' posts
thebigdeal Ehlers Simple Decycler, bjr nicolas, je trouve cet indicateur assez démentiel, ?.... promett...
jacob78692110 hi, i have past the code and the indicator is not in the graphique. he's down like RSI
Nicolas Apply it on the price in the price settings window
Morrissey38 Buenas tardes Nicolás . Como podría introducir una línea cero a este indicador? . Muchas gra...
Nicolas Change the last line with : RETURN Reflex, 0
Morrissey38 Muchísimas gracias Nicolás , muy amable.
Sapo Thank you for your indicators. As always it's perfect, I thank you for your help it's preci...
supertiti Hello Jan All is discribe into the code , you may translate french to netherland if you wa...
Jan Wind What I meant is if you could suggest a trading concept: for instance if the color becomes d...
supertiti Hello Jan You must use this code in correspondence with other indicators, a code alone do...
eivaremir have u got the trading view version?
Santi Salut, les amis. L'indicateur avec la nouvelle version de PRT 11 fonctionne très mal, ne fon...
oeil62 Bonjour quelles sont les valeurs des variables pour une utilisation journalière ? merci pour...
ALE As soon as the final version of ProRealtimeV11 is released, I will check for any changes to ...
skysoldier hello, thank you for this code, I was wondering if it is compatible with thinkorswim at all?
Nicolas No, but you can ask for private coding job at our programming services.
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.
Appsoluxions Hi Nicolas, do you have the MT4 version of the indicator? I am not sure if these kind of que...
Nicolas Hi, don't have one sorry. But you can still ask for private coding through our programming s...
Appsoluxions Cool. Thanks for the response.
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!
Bard From the url link #post-65420 above but without the chart image: Stocks & Commodities...
Bard Note: lter = filter
Bard Apologies, there's been an issue with copying "f" and "I" from the article and pasting.. whi...
Alai-n Ok thank you Pietro...
Halan thank you for the code. coded as per above, I encounter an error "unexpected character" ...
Gianluca Hello there is a new version, is it possible to translate it?