CCI Multiperiods HeatMap

CCI Multiperiods HeatMap

This “heatmap” type indicator plots the returned values of the CCI oscillator for all its calculated periods between the values of “StartPeriod” up to “MaxScale”. Each value is colored according to its degree of over-sold (in light red) and over-bought (in light green).

Darker areas mark the “no trend” zones or “end of trend” moment.

The more reddish is the whole area, the more bearish if the trend.

The more greenish is the whole area, the more bullish if the trend.

This indicator is another derived version of the RSI heat map posted earlier in the library.

The ensemble thus forms a cloud of colored dots making it easy to better identify how the market behaves in the different dimensions.

It is thus possible to determine the best opportunities for positions in trend following or mean reversion without wondering what is the best period of observation with respect to the  instrument and the timeframe used. .


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. pableitor • 07/04/2019 #

    Nice indicator ! Can be modified for stochastic by replacing line 18 with Stochastic[iperiod,3](close) , doesnt it ?

    • Nicolas • 07/04/2019 #

      Yes, but the problem is the color scheme because each indicator doesn’t share the same scale. I suggest you open a topic to discuss color scheme shading for each of the heatmap indicator. Will put the link here.

    • Nicolas • 07/04/2019 #

      Posted here: (stochastic 3d heatmap) =

  2. atxeel • 07/04/2019 #

    I also tried to program on the CCI heatmap, not as nice as you! Thank you

  3. Marcos Alvarez Dominguez • 07/04/2019 #

    Good morning Nicolas,

    Would it be possible to have a screener to know the moments of maximum “light green”?

    Thank you very much

    • Nicolas • 07/04/2019 #

      Something had been made for that:
      It test the moment of when green is superior to red or vice-versa.

  4. Marcos Alvarez Dominguez • 07/04/2019 #

    Thank you. I really like this indicator to start a survey in 1h and 2h frames.

  5. Teddy Coronak • 07/04/2019 #

    Bonjour Nicolas ,
    je voulais simplement te dire merci pour cet indicateur.
    Très simple et efficace !!!

  6. €Ȝ • 07/04/2019 #

    Hi Nicolas,
    Excellent piece of code. I used your concept in one of my own indicators too which simply works perfectly.
    For what it is worth, I changed the black square (ASCII 254) to a black block (ASCII 219) and at least for me it improved the display.
    drawtext(“■”,barindex,iperiod,dialog,bold,18) coloured(min(r,255),min(g,255),90)
    changed to
    drawtext(“█”,barindex,iperiod,dialog,bold,18) coloured(min(r,255),min(g,255),90)

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
ialaoufadia Je viens de comprendre l'origine de mon problème : le graphique n'avait tout simplement pas ...
ialaoufadia Merci Nicolas, le problème était donc autre.
Gianluca Sorry but the stochastic part should be different: sto=Stochastic[14,1] stod=average[3](sto)...
XXXXVII Fixed ITF Trend Background //Indicateur CCI ID2 = CCI[50] => 60 ID3 = CCI[100] => 60...
Sanglier thanks ! i have been looking forward to find something like this
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...
cfta Thanks for sharing, this may be a useful filter but I'm not sure if it's coded correctly sin...
stephane2.0 Yes, line 5 is truncated. I can't edit, please replace by:
stephane2.0 c=exponentialaverage[9](MACDLine[12,26,9](close))
1 year ago
Wolf Compilation by sinusoid concept is very interesting. Thanks
groen200 Hi Zigo can you make backtest from this indicator
rosario Good evening I would like to understand why it doesn't work for me. Rosary
Balmora74 thanks for this code Philippo ! So if i understand well a Positive (+) EntryOK x ROC means a...
Dritan Hi Philippo,thanks for sharing this code.Can You add please Volume more than 250.00?Thanks
Sapo Thank you very much. as always your indicators are extremely effective. kind regards Vonasi.
mitsu21 Hi, it looks nice. I'll try it tomorrow thank you for your share kind regards bruno
kj1988 Thank you Vonasi for sharing this indicator. Very useful as a comfirmation to the price act...
ggolfet Thanks Nicolas, I imported the itf file and solved the problem.
Hasardeur Hallo Nicolas, i tried to code the multi period heat map in combination with the Ehler’s ...
Nicolas Please open a new topic with the code in forum.
2 years ago
CCI Trend
CCI Trend
Abdelkrim Maksour hi sir is this indicator for mt4 and how i can get one .
luxrun Good evening Nicholas, I can not see the colors on the line of the moving average, but only ...
Nicolas Yes, you must choose the oscillator that will color the moving average. Example: ONCE UseC...
XXXXVII Excellent indicateur ! Déterminer une tendance est devenu un jeu d'enfants ! Félicitation......
eckaw Hi Nicolas, I'm using this indicator when there is confluence over 3 different timeframes (5...
Nicolas Yes it is indeed possible. Create a topic in the screener forum and explain what you need an...
KyleReed i've been using this for a few days now and it's really helped me a lot in timing the execut...
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 .
efahmy Is there a way to make entry alert in the dark green bar long and in the dark red bar short?
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
3 years ago
CCI Correction.IND
CCI Correction.IND
Agima Bonjour Une petite question d'un débutant : Comment faire pour afficher les variables à gau...
DANY I did it on demo account; it's too dangerous for mea and I can not resist psychologically  ....
demoz How can a demo account be dangerous? Did you have it run live (on a demo account for exampl...
DANY Yes, I mean that I tried on a demo account for 2 months and it had work fine, like the BackT...
proreal82 it works on 200 units with the 1 min graph and only if you zoom in massive.  Is there notin...
flodefacebook Bonjour Nicolas, Je viens d'essayer ton indicateur, il fonctionne parfaitement sur EURUSD, ...
Nicolas En effet, j'ai déjà eu ce genre de retour sur cet indicateur, je t'avoue avoir eu du mal à c...
5 years ago
Adaptive CCI
Adaptive CCI
Saud Thanks for this one, it's very well regarded. There's a great 3-part series on using the Ada...
Stef Thanks @Saud. Enjoyed the article.
5 years ago
Sniper T3-CCI
Sniper T3-CCI
Nicolas Why not, but a stock screener for what conditions?
Dimi.A Whenever the yellow CCI line goes "outside" the bands. Which will alert us of possible rever...
Nicolas ok why not, please add a request in the appropriate forum section, many thanks.