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
FXtonio @RICOU en 1 minutes avec un filtre de tendance ZLSMA 200 et eventuellement un rsi 7 , 69% de...
JC_Bywan For people interested in the screener: https://www.prorealcode.com/topic/screener-buy-sell-m...
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
Nicolas Yes, Magic if the variable that contains the value of the line, you can test if it goes up o...
dadah1987 Bonjour Nicolas, merci pour cet indicateur. Utilisant pour l'instant la création simplifié p...
Nicolas Merci d'ouvrir un sujet sur le forum avec une description complète du système.
GustavoLoboOrenstein Is it possible to add histogram with only increasing bars?
Nicolas Je ne rencontre pas ce problème avec le NASDAQ par exemple, ce serait plus simple d'ouvrir u...
YvesRobert Bonjour Nicolas, en effet ca marche, je me suis trompé, j'ai bien tout le tracé. C'est parce...
oliTR Bonjour, les conditions longCond et shortCond ne contiennent-elles pas une condition qui s'a...
Jiacky
2 years ago
Kalman Filter
Kalman Filter
0
Indicators
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
AndPar Buongiorno Nicolas, vorrei provare questo indicatore, ma quando lo inserisco in PRT mi vengo...
Nicolas Basta aggiungerlo al prezzo https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-i...
Aragorna hello Nicolas, this indicator works with the last Beta version of PRT? Ive seen tha many in...
wally Hola soy nuevo en el mudo robots. Alguien seria tan amable de poner el archivo itf.file ya q...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
KAMJKAZE thanks, really interesting!
2c95 thanks, why do U prefer average than lowest ? to close under average does'nt mean another...
Stenozar Hi Sever, how can I visualize the coloured areas?
Sever Hi Stenozar, You need to add the color zones yourself , just go to Add Color Zone To set ...
atlante hi nicolas this indicator have 2 wrong borderline and islalastbarupdate. thank you can you h...
Nicolas That'"s because you are not using PRT v11? Just remove lines 59 to 62
Kanamax Hi Roberto, sorry for my confusing previous posts (forget them). My request is very simple,...
robertogozzi Please start a new topic in ProOrder support.
robertogozzi There you go: myMagicTrend = CALL “Magic Trend custom”[20, 14, 1, 5] alpha = 105 b = 0...
johann8 exactly :) Thank you all for the help!
max_92 Ciao Roberto, ho scaricato l'indicatore e come ti avevano già scritto sopra anch'io vedo la ...
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
Nicolas change the last line with: return v coloured(r,g,b) style(line,2), v+band coloured(168,168,1...
Paolo.B Thanks ... works as i wanted.
Kanamax Bonjour Nicolas, comme Paolo.B je souhaiterais utiliser cette indicateur au sein d'un code. ...
Boris Hi IVMcm, thanks for your amazing work. I have tested all of your indicators and use some of...
IV Mcm With pleasure and thanks!
ashiash how to use this indicator can i use tradingview platform
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....

Top