Hi, I leave a very practical modification of Macd and Squeeze, the MACD histogram is colored in red or green depending on whether the squeeze is active or not. Additionally, the MACD line is colored green if the RSI is oversold or red, if it is in overbought.


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. Juanjo • 03/29/2019 #

    Hola, Buscando un sistema valido para operar el squeeze, he reprogramado el indicador para incorporar un oscilador y el flujo de dinero de Twiggs. El resultado es el de la imagen

  2. mauro1966 • 03/29/2019 #


  3. JackD • 03/29/2019 #

    I am getting a Syntex error when entering the code

  4. MadBat • 03/29/2019 #

    How do you get this to work in PRT v11 ?

    • JJ Tec • 03/29/2019 #

      no te funciona el indicador?

  5. luiskohnen • 03/29/2019 #

    Solo hay que cambiar la variable MACDSignal por otro nombre, ya que el programa reconoce a MACDSIgnal como la señal del indicador MACD disponible. (me parece)

  6. phanz • 03/29/2019 #

    Hi … what are the conditions for buy signal using this indicator? Tks

    • JJ Tec • 03/29/2019 #

      Las condiciones de entrada / salida vienen en el libro de J. Carter Mastering the trade. Aunque imagino que podrias implementar otras señales de entrada / salida con otros osciladores de momentum

  7. Pixeldd • 03/29/2019 #

    Ich bekomme beim einfügen des Indikators einen Fehler angezeigt. Was bitte muss ich genau ändern am Code ? Der Indikator wird kurz angezeigt und verschwindet dann wieder. Habe vom programmieren leider absolut keine Ahnung. Hilfe wäre nett.

  8. HarryPro • 55 days ago #


    Firtly there appears to be a typo on line 6 “lenghkc=20” should this be “lengthkc=20”.

    Secondly this will not run on my auto trades — “The trading system was stopped because an indicator received a negative or zero parameter ex:(-10). You can modify your code to to prevent negative parameters then backtest the system to check the correction.” error on ProOrder.

    Any Help Please.

    Many thanks in advance

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+3 more likes

Related users ' posts
luxrun I have a problem that I don't understand: by changing the parameters of the CCI and RSI peri...
Iván Hi! Sorry... You have to check lines 9 to 13 and delete. //CCIper = 14 //RSIper = 14 //Ma...
luxrun grazie Ivàn!
Faisalx ChatGPT Hola Iván. Gracias por tu excelente trabajo. Te agradecería si pudieras echarle un...
Iván ok, perfecto! me pongo con ello
2 months ago
luiskohnen This indicator re-paint?
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
P. Marlowe Quite an impressive work, Iván. Extremely useful and accurate. Congratulations. Keep it up¡
lkiklkik i love it !!! thanks.
Lean Me parece muy buen indicador, y se complementa muy bien en mi sistema, ¿podrías crear un scr...
Iván Gracias! Para el screener sólo tienes que copiar el indicador y poner como condición de búsq...
Lean Muchas gracias Iván, ya lo he podido crear.
7 months ago
7 months ago
MACD Reloaded
MACD Reloaded
NEOMKEY Nada nuevo
Carlose I love your version of the MACD, if you use it you can get a lot of use out of it, for me ma...
8 months ago
bousalahane hello, thank you for sharing, I’m not top strong in the programation part, there is a way to...
Fgats Hi, With this indicator I just wanted to show the interest that can exist to synthesize th...
davidguerreir how to adapt nbStdSig values ?
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...
Traderfox06 Dear zeiiermantrading, I really like your approach combining adaptive averages with MACD in...
jacquesgermain Hello IASD it's normal , when this occurs, uncheck RSI and MFI line and click then the MAC...
emiliobercial Thank you very much for sharing!
Carlose estoy de acuerdo con IASD Esta muy bien el MAD y el indicador en el precio no se ven bien...
bousalahane merci pour le partage de cet l'indicateur, j'ai rajouté un autre indicateur pour faire une s...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
superfalcio Hello, very interesting. Do you have already some tested condiction including timeframe and ...
Gianluca Amazing, thank You for your contribution!
Alex Spioglou Thank you for featuring my work, and I hope you found it useful. Mind the paper was publ...
ThaNoizy Yes, you cannot use CFDs on IG for Weekly strats you need to use their Index Futures, they h...
KumoNoJuzza Thanks. I did not know IG had Futures. I am always missing an info or a detail. I used to th...
joaoarcher Hi, thank you for the this. Is it possible to create a screener from this indicator, so that...
FXtonio @RICOU en 1 minutes avec un filtre de tendance ZLSMA 200 et eventuellement un rsi 7 , 69% de...
JC_Bywan For people interested in the screener:
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
1 year ago
Violet Nicolas, you calculate iRSI, but don't use it. You show RSI in the returned values, which, a...
Nicolas Yes, that's an error. RSI instruction is set by default to 14 if you don't indicate it that'...
geroniman bonjour si je comprends bien, qaund els points sont verts on regarde pour un long, le blanc ...
Alfy No, the dots only show the compression of the volatility. There are 3 levels of "squeeze" wh...
ted.hulsman Hi Alfy, I'm trying to understand your indicator, so I made the Bollinger Bands and the Kelt...
DELBERT Bonjour , Nicolas , je voudrais installer cet indicateur sur ma PRT , version 10.3 , mais je...
Nicolas En effet, il faut à minima une version 11. La 10.3 est tellement ancienne maintenant.. Je pe...
DELBERT Bonjour , Nicolas , merci pour ta réponse , je fais un essai et je verrais . Salutations .
Khaled Thank you Nicolas! Looks like TDI (Trader Dynamic Index). Interesting to give Exit Signal as...
Nicolas ColorBetween is an instruction added last year: