Trend Histogram CCI

v10.3
Trend Histogram CCI

The purpose of Trend Histogram is to detect a trend at the most opportune moment

Operation

Trend Histogram uses the functions of the CCI (Commodity Chanel Index) to calculate whether the price is in a trend phase.

For this, the CCI is used under four basic values ​​which allows it to have a short, medium and long view of the market situation.

How to use it

Trend Histogram ((Indicator))

Its fundamental goal is to indicate you visually if there is a trend or not in the form of a red or green rectangle, you can also see the movements of the CCI in the indicator (in the form of dots and rectangle) to give you a overview of its current level.

A BackGroundColor is provided to visualize the indicator on the Main Graph

It is obviously recommended to position yourself in a market that converges with these higher timeframes.

So, use this indicator on a multi timeframe.

Once the timeframe has converged, you can apply an intervention strategy

 

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. XXXXVII • 06/10/2020 #

    Fixed ITF Trend Background

    //Indicateur CCI
    ID2 = CCI[50] => 60
    ID3 = CCI[100] => 60
    ID4 = CCI[150] => 60
    ID5 = CCI[200] => 60
    ID7 = CCI[50] =< -60
    ID8 = CCI[100] =< -60
    ID9 = CCI[150] =< -60
    ID10 = CCI[200] =< -60

    //Regroupement des commande
    IDL = ID2 and ID3 and ID4 and ID5
    IDS = ID7 and ID8 and ID9 and ID10

    //Commande CCI
    If IDL then
    Signal = 1
    elsif IDS then
    Signal = -1
    else
    Signal = 0
    endif

    //Affichage
    if signal = 1 then
    backgroundcolor(62,169,203,50)
    endif
    if signal = -1 then
    backgroundcolor(73,73,73,50)
    endif

    return

  2. Sanglier • 06/10/2020 #

    thanks ! i have been looking forward to find something like this

  3. mpc327 • 06/10/2020 #

    Bonjour, j’essaye de me faire un screener ichimoku à l’aide te ton code background.
    Pour l’instant il est comme ceci:

    //============================== Indicator

    SpanA = (Tenkan[26]+Kijun[26])/2
    Tenkan = (highest[9](high)+lowest[9](low))/2
    Kijun = (highest[26](high)+lowest[26](low))/2
    SpanB = (highest[52](high[26])+lowest[52](low[26]))/2

    //============================== Trend Bullish

    H1 = close > Tenkan[26] and close > Kijun[26]
    H2 = close > SpanA[26] and close > SpanB[26]
    H3 = close > open[26] and close > close[26]
    H4 = close > SpanA and close > SPanB
    TrendHaussier = H1 and H2 and H3 and H4

    Screener [TrendHaussier]

    Le problème c’est que le screener me sort toute les actions qui sont en trend haussier or moi j’aimerais que le screener m’affiche seulement les actions qui viennent juste de commencer le trend (que la dernière bougie sois la première qui fasse apparaitre le background)

    Sais tu ce que je devrais écrire dans le code ?

    Merci d’avance 🙂

  4. Tradingrob • 06/10/2020 #

    I can’t import this indictor properly, it gives the warning “de volgende variabele is niet goed geactiveerd, active ADX’. Please solve this issue so i can use this indicator.

  5. Guillaume Mcm • 06/10/2020 #

    I gave the above message fix 😉

  6. Tradingrob • 06/10/2020 #

    Is it possible to put the itf-file in the right way here in Prorealcode? so the right ‘trend-background-2.itf’ and the right ‘trend-histogramme.itf’? I tried to place the code in the file but did not work, i am not a programmer.

  7. Guillaume Mcm • 06/10/2020 #

    Update link 😉

    https://www.prorealcode.com/topic/trend-histogramme-cci-mise-a-jour-suite-a-demande/

avatar
Register or

Likes

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

+9 more likes

Related users ' posts
Nicolas le code est déjà sur cette page, inutile de fournir un autre format ?! Les fichiers itf sont...
Novice-Surfer Hello IV Mcm, You are my leader ! Your work is incredibly precise, thank you very much f...
Mikolajek Merci pour votre excellent travail !
mickey992 salut merci pour ton partage et ton travaille
patapouf Hi Vivien René I just discovered your “Ordered trend-following stocks Screener”. Great work...
afanitro424 its not plotting on chart but instead as it's own histogram directly below chart? How to fix...
Nicolas by adding the indicator on the chart :)
Nicolas Oui c'est possible. Merci de ne pas poster des demandes qui sont hors sujets. Pour les deman...
Igor Merci pour cet itf. Question : comment faire pour instruire un screener ?
Nicolas tester le croisement du Close avec la première valeur de l'indicateur : "TrailingStop", faci...
Dunstan I would like to get guidance_ How do I access and attach this indicator to my MT5 platform...
Nicolas You can't, use prorealtime, it's way better
jc84 Thank you very much for this indicator , not provided by PRT I was actually working at thi...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
pincherman Bonjour :-) J'ai coller le script dans prorealtime pour jouer avec le supertrend et j'ai un...
Nicolas Vous l'avez sans doute collé au mauvais endroit, dans l'éditeur de code pour les stratégies,...
IV Mcm Bonjour, Je ne reconnais pas cette ligne dans le code, essayer de télécharger directement le...
Manu L. Bonjour, Possible de créer un screnner multiframe Mois dans Ichimoku semaine dans Ichimok...
Screw27 Hi man, I installed the indicator and i don't know why but my graph it is so big
HelixKing sounds interesting I'll take a look
Godo Bonjour Souhait Sam, Après de nombreux essais pour le mettre en format afin d'utiliser ce c...
Nicolas Il faut supprimer celles qui existent dans la fenêtre d'optimisation et les créer en dur dan...
crusoe76 hi there, anyone can help making this strategy work, i have a message saying replace variabl...
Screw27 Salut nicolas j'aimerais savoir tes résulats grace a cettte methode
eva.g.forsgren It dose not work, I get a strap instead of candels???????????????????????????????????????????
Nicolas That indicator is the one below the chart. The indicator to put on the price chart is this o...
pyhrus P.S : IG , que j'ai contacté ,m'indique que la version V11 , ne sera pas disponible avant un...
Hasardeur Dear Nicolas, is there someting at the arry to modify in order to run the trend at the actu...
MALIMALO Dear Nicolas, just try touse your indicator with backtest but it's not working. is anybody...
ribes65 Bonjour Nicolas, Merci pour votre travail. Est-il envisageable de créer un screener pour ...
Nicolas Bien sûr, merci de formuler une demande dans le forum des screeners pour prorealtime. En res...
ipbvba Est il possible de le transformer en indicateur (pour ne plus avoir les lignes mais uniqueme...
supertiti Bonjour Nicolas, Je ne comprend pas bien , le trend change de couleur quand les prix sont a...
Nicolas Oui ce serait possible, cependant l'indicateur est bien prévu pour conserver la couleur de l...
supertiti Quand tu pourras si tu peux nous coder la troisième couleur cela améliorerait les trades cou...
Nicolas How to import file page: in the help section of the website explains howto
kenssa import through the indicator page/window in the Proreal time
chicoteca Buenas, no consigo que se me muestre en el chart de DAX. ¿Cómo procedo? Gracias.-
frenqle Hi There.. It seems the TSL stop loss is not working.. it does not respond is that correct?
Ciccarelli Franco Per lasciare che la strategia venga eseguita (dopo aver importato il file): Basta eliminare...
JADINVEST Hello Jan, hello everyone, Thanks Jan for this strategy! Since 2020, have any of you found a...
Stockastiss Can this code be simply transferred into Backtestingcode so one doesnt need to use call ? (i...
Vonasi Sorry for the late reply. Add the code to your strategy and remove line 5 and line 39. Chang...
viktorthunss Hi! How many averages are there? Can I see the somewhere?
leofi https://www.prorealcode.com/topic/simple-average-with-visual-color/
leofi Go visit www.prorealcode.com/topic/simple-average-with-visual-color/ and watch 2em post
Dritan Hi,I am new on Prorealtime and coding.I downloaded the indi but I have it on a separate wind...

Top