MACD CCI Overlay

v10.3
MACD CCI Overlay

Paint the candlesticks with conditions based on CCI and MACD.

  • green color when  cci [14] > 0 and macd line > signal line
  • red color when cci [14] < 0 and macd line < signal line
  • grey color when cci > 0 and macd line< signal line or cci < 0 and macd line> signal line

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. cfta • 02/20/2020 #

    Thanks for sharing, this may be a useful filter but I’m not sure if it’s coded correctly since I only get red and gray candles but never any green ones regardless of which instrument and timeframe I try it on.

  2. stephane2.0 • 02/20/2020 #

    Yes, line 5 is truncated. I can’t edit, please replace by:

  3. stephane2.0 • 02/20/2020 #

    c=exponentialaverage[9](MACDLine[12,26,9](close))

  4. Forexcheckup • 02/20/2020 #

    Hi
    I down loaded the ITF file, it paints red for a down trend but for all up trends the candles are grey. Could you advise how I get the candles to paint blue please

  5. stephane2.0 • 02/20/2020 #

    line 22: r = 195 by r = 0
    line 23: g = 195 by g = 0
    line 24: b = 195 by b = 255

    😉

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Lotech123 Thanks for this indicator. Working on a 3 M timeframe with the DJI, it can produce some inte...
JSTAR PRODUCTIONS Hi there, I downloaded the Indicator but the indicator does not show up on my charts. Am...
JSTAR PRODUCTIONS Hi, Worked it out. Thanks
CavalierDeCesDames Bonjour Nicolas, Thanks for your use full job. I tried this indicator on a shorter timefram...
Nicolas You are welcome. I'm glad you like it.
Bolbo It does not appear over the price indicator on V11. Thanks in advance.
Nicolas
7 years ago
Loop Hi All! Would it be possible to have the same indicator with the MACD calculated with the DE...
Nicolas Why not, but do you think it would make such a noticeable difference?
Loop Good question Nicolas! That's why I was curious to check it! MACD based on DEMA is usually m...
supertiti Thanks you so much Lucassen
dreif123 hi, copied the above code, not working on 10.3 the system says "return can only be used at ...
LUCASSEN Hallo , i have no problem , and i have the same versie 10.3, maybe you can ask Nicolas, tha...
Nicolas
7 years ago
Nicolas Para cambiar los colores del histograma, deben usarse las variables r, gyb entre las líneas ...
leofib Hello, I was looking for a MACD Histogram with red and green bars according to the value of ...
Helgart Hi, it's great to have this option of having a histogram coloured based on rising or fall...
SAM
7 years ago
Nicolas
7 years ago
Jurik MACD
Jurik MACD
1
Indicators
ramonjp Hi Nicolas, this sentence is correct?? ftmp0 = (1-falpha)*price + falpha*tmp0[1] I thi...
bolsatrilera
7 years ago
MACD MIRROR
MACD MIRROR
0
Indicators
Nicolas
7 years ago
soulintact Thank you very much Nicolas for this great indicator. I have tried to apply it to a trading ...
laitus No funciona este indicador ¿¿?? ¿Alguien sabe por qué?
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...
Nicolas
8 years ago
ALMA MACD
ALMA MACD
7
Indicators
Arnaud HALVICK Great indicator, thank you!
JMat45 Hi Nicolas, just reviewing this indicator and noticed that you have double assigned the vari...
Nicolas That would not make any difference because the code is read from top to bottom.
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 ...
Pelle Nævestad Thanks Nicolas, this is a keeper!
Chicane23 Hi, when uploaded the WAE isnt showing histogram; only line. Is there a way to modify?
Nicolas Change the way the lines are displayed in the indicator settings window : histogram, lines, ...
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...
Bard Did anyone get an error with lines 25 and 26?
Nicolas
8 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
8 years ago
Sniper T3-CCI
Sniper T3-CCI
0
Indicators
Nicolas
9 years ago
ZeroLag MACD
ZeroLag MACD
13
Indicators
sam00075 Hi Nicolas, can you please upload a version with TEMA, so those who don't know how to code c...
Nicolas Use the MACD code here: https://www.prorealcode.com/topic/standard-prt-code-for-macd/#post-1...
Alai-n Afin d'avoir l'Histogramme Macd il faut rajouter ligne18 : HistogrammeMacd = ZeroLagMACD - S...
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.
Nicolas
9 years ago
Nicolas Just replace the last line with this : RETURN dm as "Volume Weighted MACD", masignal as "Si...
thomas2004ch I happen to read this article. I would say the formel 'd = maslow - mafast' could be inverse...
Nicolas You are right! but still the picture is looking good. The formula is inverted! dunno why :) ...

Top