Supertrend + CCI

v10.3
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:

https://www.prorealcode.com/topic/conversion-indicateur-supertrend-mt5/

 

 

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.
      https://www.prorealtime.com

  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 #

    Bonjour,

    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)

    Merci

avatar
Register or

Likes

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

+7 more likes

Related users ' posts
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 .
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
mmoren44 no esta el color azul (Fade //Blue), No aparece en las barras el color azul.
larouedegann changer fade coloured (0,0,255)
Nicolas Apply it on the price chart. The indicator plot just one single line. There are two in the...
jamesoc Hi Nicolas, do you happen to know if there is an indicator that can be applied to charts, to...
gustavobp Buenos dias Nicolas, al agregar tu indicador no me reconoce la variable Price ni en la linea...
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...
Nicolas
7 years ago
Maxime Baudin Interesting, Thank you! :)
franck-david Bonjour Nicolas , actuellement je me forme grace a vos videos tres tres bien expliques mer...
Nicolas Merci. ça n'est pas le lieu pour poser ce genre de question :) Merci d'utiliser le forum Pro...
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 ...
avatar
Anonymous Thanks for the code! I'm trying to understand how it works, and have a few questions... line...
Bhanu Pratap Dear Sir, Can I get MQL4 File for this indicator and last man standing . pls looking forward...
ISTJ_T Hi Nicolas Thanks a lot for the indicator. Trading off the TradingView and have issues wit...
Nicolas Just use ProRealTime and its powerful screener for stocks.
Nicolas S11 variable is not a loop but a ratio calculation. In real time the codes is processed on e...
Stephan_V Nicolas, This regression delivers damn good results, especially for trends ! I'm wonde...
Nicolas Least square method is used here in order to get the perfect y = ax2 + bx + c
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.
GertLjung Ok, thanks
marinober Gentile Nicolas, l'indicatore mi da errore : ciclo infinito o con troppe iterazioni, modific...
Nicolas Se la stai usando in un piccolo lasso di tempo, assicurati di avere unità sufficienti visual...
gabri Brined :) look on this indicator how on the 6th and on the 9th you have very high positive s...
Pepsmile Hi everybody, An application could be found by applying this indicator on the strategy prof...
zilliq Thanks for your indicator Gabri but are you sure for your code because on EUR/USD for exampl...

Top