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
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...
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
jeanphi0034 Hello, I would like to use the QQE indicator which is based on smooth RSI as far as I unders...
ilstefano Bonjour Nicolas, te serait il possible de rajouter la fast ATR manquante dans le code? Merci
Nicolas Désolé je ne comprends pas la question ?
rpreviteri Hi Nicolas, thanks a  loto for sharing your knowliedge, Wasn't the original momentum pinball...
air Thank you!  
elanoa Buonasera sig. Nicolas......sarebbe possibile far in modo che quando l'indicatore raggiunga ...
MikeGC I don't know if you have used the variables a and b to optimise the parameters for the Super...
gianpiero75 I have not optimized, I multiplied the parameters for 6 (5,8), to use them on the 4  hoursTF...
bertrandpinoy bonjour Mike j utilise TrendChaser V2.0 et quand il prend position cela ne programme pas le ...
Nicolas En effet, j'ai déjà eu ce genre de retour sur cet indicateur, je t'avoue avoir eu du mal à c...
Lavallette Bonjour Nicolas. Je trouve cet indicateur intéressant et j'essaie de l'intégrer dans une st...
Nicolas Non tout est correct, mais je comprends que tu aies un doute. C'est la façon dont a été écri...
zilliq The reasons why I think it's time consuming and we loose time to try to do backests and Auto...
filiprb Hello Zilliq, You don't need a system to produce a walk forward test. You can easily create...
Philip Raphael It is incredible! Thanks for sharing, Doctrading!
s00071609 Hi, could you please suggest, what this codes gives, lowest[b](rsi[a]) -- just trying to us...
Nicolas lowest[b](rsi[a]) returns the lowest values of the RSI of "a" periods, over the last "b" per...
s00071609 Hi, what would be the code to get the price for last bullish DTOSC cross over. I am looking ...
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
Pelayo it is possible that in line 12 we should put seuilinf=-b, thaks for all
Doctrading It works on ProRealTime CFD, but backtest begins since May 2014
alex224 Hola Andres, buen trabajo. Algun problema por usar la estrategia con acciones en time frame ...
Andres Hola Alex, no lo he probado en otros timeframes, pero con esta configuración específica no c...
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
Investment Account Wow great thanks ... looks good! Do I set the colour shades up from within the indicator 's...
avatar
Anonymous Thanks for your comments and yes, that is exactly how I set up the colour levels.
Vish Thanks I have added this in my watch list. Has anyone tried it yet ? Does it work on currenc...
Nicolas
9 years ago
lokbuscas Or in weekly??
Nicolas I don't know, you should make your own studies.
lokbuscas Ok thanks Nico
Nicolas
9 years ago
Adaptive CCI
Adaptive CCI
4
Indicators
Stef Thanks @Saud. Enjoyed the article.
Newbie I've tried to modify this so I can display on 1min chart with the 5 min chart variant as a s...
Nicolas No, just create 2 different indicators in this case, one with the timeframe(5 minutes) and o...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...
Nicolas
9 years ago
Vinks_o_7 great, thanks Nicolas !
Vinks_o_7 argh...still nothing even with 10 000 bars on daily or hourly basis...
Vinks_o_7 ok now : had to refresh the indicator.
Nicolas
9 years ago
Sniper T3-CCI
Sniper T3-CCI
0
Indicators

Top