Multicolour Bollinger Bands – Market phases

Multicolour Bollinger Bands – Market phases

Multicolour Bollinger Bands indicator that indicates market phases. It plots on the price chart, thanks to different color zones between the bands, a breakdown of the different phases that the price operates during a trend.
The different zones are identified as follows:

  • red color zone: trend is bearish, price is below the 200 periods moving average
  • orange color zone: price operate a technical rebound below the 200 periods moving average
  • yellow color zone: (phase 1 which indicate a new bearish cycle)
  • light green zone: (phase 2 which indicate a new bullish cycle)
  • dark green zone: trend is bullish, price is above the 200 periods moving average
  • grey color zone: calm phase of price
  • dark blue color zone: price is consolidating in either bullish or bearish trend
  • light blue zones: price will revert to a new opposite trend (either long or short new trend)

By identifying clearly the different market phases with the multicolour bollinger bands, the market entries by either a the beginning of a new trend or just after a rebound or a consolidating phase is easier to spot on.

A lot of other indicators with bollinger bands can be found in the prorealtime codes library on the website. Be sure to look at them to perfectly understand how the multicolour bollinger bands can help you in your trading, whatever trading style suit you the most!

Definition of bollinger bands in wikipedia:

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. Jan Wind • 12 days ago #

    Could you suggest any trading concepts with this indicator ?

  2. supertiti • 12 days ago #

    Hello Jan
    All is discribe into the code , you may translate french to netherland if you want
    have a nice day

  3. Jan Wind • 10 hours ago #

    What I meant is if you could suggest a trading concept: for instance if the color becomes dark green, open long buy, sell when become light blue or grey.
    (your corresponding code (//vert foncé ( au dessus de tte moyenne mobile, cycle mur) C5= (MM200<MM50)and(MM50<close)and(MM20<close))

    With combining moving averages, often delayed trade triggers are generated ( the actual close have moved too far in the direction), which will reduce or erase profits
    So I wonder if you could suggest a general trading concept which generally speaking generates acceptable trade signals, based upon using this model.

    Thanks in advance

  4. supertiti • 23 mins ago #

    Hello Jan

    You must use this code in correspondence with other indicators, a code alone does not mean anything.
    However looking at the history of a value one can observe areas of purchase or sale.
    everyone can interpret them
    good trades

Register or


avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Bard Hi Nicolas, thanks a lot for coding this interesting looking indicator. I read: https://...
Bard I've also just noticed that changing the "Bands Deviation" setting from 1.25 to eg 3 doesn't...
Marie-Eve Vergoz lorsque je copie les codes, le système me signale des erreurs à la ligne 12 et suivantes
Marie-Eve Vergoz sorry - tout est ok -
jobswaps Sube como trazar lineas de tendencias a tantas barras
Juanjo Hola, Buscando un sistema valido para operar el squeeze, he reprogramado el indicador para ...
mauro1966 BRAVO....
Nicolas En effet merci, erreur corrigée, la variable Risk affecte désormais comme il se doit les cal...
nader003 How can we get this indicator on MT4
Nicolas You can ask for private custom coding to our programming services: https://www.prorealcode.c...
coscar Ottimo lavoro. come sempre!
luxrun Nello studio di Sepiashvili viene descritto anche un altro indicatore, il Q-indicator, che è...
lokbuscas is it possible to make a screener with this conditions??? thank you
achel I believe so but I leave it to Nicolas to decide if it is possible
Nicolas Please open a new topic in the screeners forum
skysoldier hello, thank you for this code, I was wondering if it is compatible with thinkorswim at all?
Nicolas No, but you can ask for private coding job at our programming services.
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
GraHal I noted above does okay on DAX 10 min with even a reduction to 30 of the Stop Loss. I've s...
Kris75 Hi Grahal, What about making the same great work you did with the snipet on google doc but...
Vonasi The indicator code can easily be adapted for use as a filter in strategies as well. For exam...
AVT Tested today in manual DAX trading (transcripted to MT and changed look into aka oszillator)...
Vonasi I think that short time frame charts will be too noisy for this indicator. One blue bar real...
Vonasi I forgot to mention in the description that Sunday pivot lines are ignored and Monday's pivo...
AVT Like that, simple and clear!
Vonasi Thanks AVT. I like simple - some people would say that I do simple very well! Sometimes you ...
Wester HI, which values do I need to change before I can use it?
ALE Hello Wester, you can change or not every variables that are in the code. if you need as...
LancerX This catch my attention, tried to load in pro order but not coming through. What variables n...
2 years ago
macbartin merci, possible de l'utiliser seul pour le faire fonctionner en tant que stratégie ? de même...
Nicolas Oui. Pour changer la période, il faudra ajuster la variable MMperiod
macbartin plus la période est grande (en occurrence 20) plus l'indicateur est précis dans les changeme...
Alai-n Merci pour ce travail...
patmaba merci Alai-n. C'est ma première participation sur prorealcode, merci pour à toi pour ton co...
longtrade Can this be converted to a screener?
swapping Oups nicolas ! je pense que tu a oublié de mettre les variables "setting" accessible en exte...
Nicolas Je viens de vérifier, elles y sont pourtant?
swapping Mea culpa, j'ai fait un bête (copier/coller) et forcément cela ne pouvait pas y être puisqu'...