Moving average colorized by oscillator

v10.3
Moving average colorized by oscillator

This indicator plots moving average of chosen period and type, automatically colorized from the chosen oscillator state.

5 types of oscillator can colorized the moving average depending on their overbought and oversold situation:

  • CCI (Commodity Channel Index)
  • RSI (Relative Strength Index)
  • Stochastic
  • Cycle
  • DI (Directional Index)

This indicator is based on the great version from ALE3D Candlesticks (CCI,RSI,Stochastic,Cycle,DI) and coded following a request made in the technical indicators forum.

 

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. luxrun • 10/19/2018 #

    Good evening Nicholas, I can not see the colors on the line of the moving average, but only a black line. Maybe I was wrong in the settings? Thank you

    • Nicolas • 10/19/2018 #

      Yes, you must choose the oscillator that will color the moving average.
      Example: ONCE UseCci =1

  2. XXXXVII • 10/19/2018 #

    Excellent indicateur ! Déterminer une tendance est devenu un jeu d’enfants ! Félicitation…

    Pouvez-vous m’expliquer comment changer la couleur de la moyenne mobile ?

  3. gregoire • 10/19/2018 #

    bonjour nicolas
    j ai cherché partout sur le net et impossible de trouvé ce que je recherche et je suis tombé sur cet indicateur, je recherche un cci borné entre 200 et -200 si possible que je puisse réglé, avec 3 sma avec la fonction decay (décalage)et réglage de base expo, pondéré etc, les conditions achat sont lorsque le cci est supérieur à -200 et que le cci passe au dessus de la sma 1 et sma 2 affiche arrowup et lorsque le cci passe en dessous de la sma 3 arrow up, les conditions de ventes sont les même inversé,
    cci est inferieur à 200 et que le cci passe au dessous de la sma 1 et sma 2 affiche arrowdown et lorsque le cci passe au dessus de la sma 3 arrow down,peut on affiché les arrow directement sur le graphique si possible et que je puisse bidouillé le code parce que j apprend mais pas encore en mesure de le faire moi même mais c est comme cela qu on apprend je crois bien.
    si c était possible d avoir un coup de main cela serait vraiment très gentil de votre part et motiverais un débutant, je vous remercie pour tout le travail que vous fournissez sur votre site c est vraiment remarquable.
    très cordialement.
    merci
    greg

    • Nicolas • 10/19/2018 #

      Merci de poster une demande dans le forum des indicateurs, ainsi on pourra le coder dans ce contexte.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas
7 years ago
Juan Salas Hi FULVIO09, Nice piece of work. It seems to work very well. Does only work for INDEXES??...
Johann Hi @FULVI09, I understand the instructions however I'm not too sure how to determine the "p...
Player8520 Hello, It doesn't work with me either. However, I changed AA to 180 on line 15, added th...
Kosuda76 Thanks for your reply! But I do not really understand what the opposite of them the values ​...
AdriTrade Good job Louis!! How could do this for the Williams indicator? Thank you very much.
imorandin Hi!, Nice code. I'm tryng to port it to another language, but I don't understand this part:...
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...
luxrun Thanks, bolsatrilera, for a very good and solid screener!
luxrun sorry... indicator!
Lily Rios Gracias por el indicador, tengo una pregunta necesito programar un screener de valores que e...
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 .
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.
bolsatrilera
7 years ago
jissey Bonjour Bolsatrilera, je trouve le cm rsi interessant, merci de l'avoir mis à disposition ! ...
bolsatrilera bonjour jissey, je n'ai aucune information sur ce que tu dis, je suis désolé.
ALE Hi the color is given by a numerical value derived from the oscillator in use. If you comp...
efahmy Thanks mate
Jo-01-R Hello, it is possible to have this indicator but instead of colors rather have numbers rangi...
Vonasi Forum discussion on these indicators can be found here: https://www.prorealcode.com/topic/av...
jennr29 Hi. Is it possible to convert this code to an mq4 file?
Nicolas Sorry but our website is dedicated to prorealtime programming. However, you can ask for priv...
Nicolas
7 years ago
enricot Scusa nn riesco.
SoloContado If you smooth the signal using a "summation" function, you get a nice "crossing of 0" graph....
ShaunG Greatly appreciated Nicolas!
Nicolas Add it on price using the wrench on the left upper side of the price chart.
Stenozar thanks Nicolas, I' ll try again!
Radetzky Buongiono e grazie : l'immagine sopra ritrae l'indicatore sul TF 15 min ma a me funzio...
Etienne Hi, thanks for proving this code. I would like to contribute by adding a computation speed...
Etienne //Compute Super Smoother coefficients once if barindex = 1 then a1 = exp( -1.414 * 3.14159...
Nicolas Thanks a lot!

Top