Supertrend + CCI

Supertrend + CCI

Another SuperTrend version, which uses the ATR distance from price to calculate its own levels, but this time combined with CCI condition to turn bullish or bearish.

You can modify the CCI period into the setting and also at which level the Supertrend can switch from bullish trend to bearish trend and vice-versa.

Indicator translated from MT5 version, following a request into the Indicator’s 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?

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

  1. Razz • 01/06/2021 #

    Hello Nicolas
    Whether the level is 0 or 1 makes no difference in the display is that normal?

    • Nicolas • 01/06/2021 #

      The CCI scale is -100 / +100 , so indeed it will not make a big difference if you set that setting to 1 only! 🙂

  2. Razz • 01/06/2021 #

    Sorry ;-)))

  3. ndu159 • 01/06/2021 #

    ATRPeriod=5 // ATR indicator period
    syntax error :unexpected identifier
    any correction suggestions

    • Nicolas • 01/06/2021 #

      This is a code to be used on the ProRealTime platform.

  4. DimKar • 01/06/2021 #

    Very nice thank you for sharing

  5. Novice_Surfer • 01/06/2021 #

    Bonjour Nicolas, comment faites-vous pour afficher votre indicateur directement sur le graphique de cotation svp ? Chez moi il s’affiche en dessous, de la même façon que s’affiche le RSI ou le MACD.

  6. jebou02300 • 01/06/2021 #

    Merci beaucoup pour votre travail et le partage !

  7. robi38 • 01/06/2021 #

    Bonjour, est-il possible d’avoir un screener faisant ressortir les valeurs dont l’indicateur vient de passer au vert ? Merci pour votre réponse

    • Nicolas • 01/06/2021 #

      oui bien sûr, merci de formuler la demande dans le forum ProScreener en respectant les règles de publication.

  8. redisdead • 01/06/2021 #


    J’ai cherché sur le forum une trace de la demande de robi38 sans résultat. Est il possible de savoir si le passage en screener a été fait ? Est il possible de choisir un horizon de temps antérieurs où le signal hausse / baisse est détecté ? (par exemple : faire la recherche pour un signal détecté il y a 5 jours)


Register or


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

+6 more likes

Related users ' posts
Violet There's a typo in the title. It is not Kahlman but the Kalman filter. Drop the letter h in t...
Bateson Merci Jacques d'avoir répondu à une demande du forum :-)
2 weeks ago
2 weeks ago
2 weeks ago
3 weeks ago
MACD Reloaded
MACD Reloaded
NEOMKEY Nada nuevo
1 month ago
TSI 3.0
TSI 3.0
Fgats a = (Average[l1,m1](Average[l2,m2](ROC[mfvalue](close)))) b = (Average[l3,m3](Average[l4,m4...
Bateson Fgats, Un grand merci. Cela fonctionne parfaitement. J'ai bien compris la partie à rajouter ...
bousalahane hello, thank you for sharing, I’m not top strong in the programation part, there is a way to...
Fgats Hi, With this indicator I just wanted to show the interest that can exist to synthesize th...
lkiklkik thanks a lot. description of the indicator seems wrong ...
robertogozzi Sorry, you're right. The correct description, from
lkiklkik Merci Nicolas.
jmf125 Bonjour Nicolas Super indicator. Juste une question les couleurs sont a l'inverse de l'expli...
carlvan Hi Nicolas, thank you for this very interesting code. There is something I don't get though ...
Actaru5 Hi, I couldn't see the candles well. Changing the code solves the problem. from line 164 to...
LucasBest Thank you
Alai-n @LucasBest Hello, do you think it is possible to isolate moving averages? I would like to us...
Alai-n I really like it when you develop ideas around price movement! I am much less a fan of all t...
finplus Bonjour, une petite demande concernant cet indicateur : comment faire pour que lorsque la bo...
LucasBest Bonjour, la coloration des bandes se fait ligne 111 et 112 à l'aide des instructions colorbe...
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...