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?

New! PRC is also now 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 ?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
AntoGH Bonjour peut-on backtester cela ? Et si vous l'avez fait pourriez vous nous donner le code.....
Nicolas désolé c'est un oubli de ma part, tu peux supprimer cette ligne, elle n'est plus utile dans ...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je suis en effet avec PRT 10.3 , et j'ai bidouil...
supertiti https://zupimages.net/viewer.php?id=20/50/2e3v.jpg
volanirina Bonjour Je souhaite l'avoir sur l'indicateur MT4 si possible s'il vous plait. car je l'ai fa...
Nicolas ProRealCode est un site dédié à l'utilisation de la plateforme de trading ProRealTime: https...
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)...
DIOS Bonjour Nicolas, comment coder un indicateur de rsi de Divergence? Merci pour ta réponse
Nicolas En apprenant la programmation :) Plus sérieusement, il y a quantité d'exemples dans la libra...
DonTony Bonjour Nicolas, Très bel indicateur! Bravo!
juanj
10 months ago
jissey Bonjour Juanj , avez-vous un programme qui tourne en réel depuis au moins une année et avez-...
jissey bonjour Juanj , avez-vous un programme qui tourne en réel depuis plus d'un an et comprer les...
juanj Hi Jissey, your observation is correct. There are most certainly differences between the bac...
Madrosat I Have not see a fully functioning automated strategy on your site?? Really have you???
juanj Hi Madrosat, why would it be on my site? I have developed it for my personal use and also to...
Madrosat ok I understood you are using prorealcode to hack the fish
imonix Have been trying this on demo since Monday before deciding whether to go live with it. Using...
Roberto Blázquez I'm sorry, I've tried it since November 2012 and it's bad results.
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
woktrade Superbe !
Vonasi An updated version with a bug fix can be found here: https://www.prorealcode.com/topic/dis...
snucke hey Vonasi is it possible you can help me get this indicator to show how much a market mo...
kbrooks323 Hello would someone be willing to release a scan code for this? that would be helpful as I s...
Nicolas You can do easily this screener by using the assisted creation tool. It would take you about...
kbrooks323 I just figured it out thanks!
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
segie Can something similar be done with Supertrends?
Vonasi Not sure I fully understand what you are asking for. Are you asking for MTF Supertrend level...
Kris75 very interesting; thanks !
Rory Dryden Thank you. Experimenting with it now.
Vinks_o_7 Vonasi you're a beast !!! ;-)))
pableitor Amazing indicator , you are pushing PRT to the limit! But looking at the scatter its not c...
Stockastiss Can this code be simply transferred into Backtestingcode so one doesnt need to use call ? (i...
Vonasi Sorry for the late reply. Add the code to your strategy and remove line 5 and line 39. Chang...
leofi https://www.prorealcode.com/topic/simple-average-with-visual-color/
leofi Go visit www.prorealcode.com/topic/simple-average-with-visual-color/ and watch 2em post
Dritan Hi,I am new on Prorealtime and coding.I downloaded the indi but I have it on a separate wind...
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))

Top