Madrid Trend Squeeze

v10.3
Madrid Trend Squeeze

Adaptation for Prorealtime v10.3 of the Madrid Trend squeeze indicator appeared on the Tradingview platform.

The Madrid Trend Squeeze is shown in color histograms.

There are seven colors used:
dark green; Upward trend in general.
light green; Current bullish trend.
light blue; The maximum profitability in a long position.

Squeeze occurs when Green + Lime + Aqua is aligned (the larger the values ​​are).

brown; Downward trend in general.
red; Current downtrend.
fuchsia; The maximum return in a short position.

yellow; The trend has come to a halt and it is an investment warning or a continuation. These are entry points, re-entry or closing.

When Fuchsia or Aqua color disappear or contract significantly, it could mean a possible exhaustion of the movement that will have to be confirmed with the back bars.
When the color of the compression appears without the intermediate color (Fuchsia + Yellow, Fuchsia + Maroon, Aqua + Yellow, Aqua + Green) it could mean that this is just a shake of the movement.


Adaptación para Prorealtime v10.3 del indicador Madrid Trend squeeze aparecido en la plataforma Tradingview.

El Madrid Trend Squeeze se muestra en histogramas de colores.

Hay siete colores utilizados :
Green=verde oscuro ; tendencia alcista en general.
Lime=verde clarito; tendencia actual alcista.
Aqua=celeste clarito; la rentabilidad máxima en una posición larga.

El Squeeze ocurre cuando Green+Lime+Aqua estan alineados (cuanto más grande sean los valores mejor).

Maroon=castaño; tendencia bajista en general.
Red=rojo; tendencia bajista actual.
Fuchsia=fucsia; la rentabilidad máxima en una posición corta.

Yellow=amarillo; la tendencia ha llegado a una pausa y es una advertencia de inversión o de una continuación.Estos son los puntos de entrada, reentrada o cierre.

Cuando el color Fuchsia o el Aqua desaparecen o se contraen significativamente, podría significar un posible agotamiento del movimiento que tendrá que confirmarse con las barras posteriores.
Cuando el color de la compresión aparece sin el color intermedio (Fuchsia+Yellow,Fuchsia+Maroon,Aqua+Yellow,Aqua+Green) podría significar que esto es sólo una sacudida del movimiento.

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. HeikinAshi • 06/06/2017 #

    Do you have an update of this indicator since you’ve created them, or is this still the actual version?

  2. mcha • 06/06/2017 #

    Thank you for this work. Do you try to transform/put this indicator on candlesticks and is it to show divergence on the graph?

avatar
Register or

Likes

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

+6 more likes

Related users ' posts
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...
Krallenmann Hallo Nicolas, kannst du mir die Regeln für den Halftrend Indikator sagen? Aus dem Code kann...
davefransman Dear Nicolas, i want set a alert on the "HalfTrend "custom moving average" met Heikin Ashi w...
Nicolas Please post the question in a new forum topic, that would need custom coding I believe.
Lyam Pareil ne marche pas dommage
ahmedbouaziz89 Bonjour, quand j'ajoute le code ou le fichier dans l'outils screeners de Prorealtime je ne v...
tyvix Bonjour le code marche bien c est juste qu'il n y a pas d opportunité au moment ou vous le...
verdi55 Is there such a thing as a free lunch ?
maceng Thanks Nicolas for this great work! I would like to understand the math behind it in order t...
Nicolas Sorry I have no time to provide assistance for python programmers. Have a good day.
Maz Hi all, firstly happy to know that this is helping you. I look into updating it for PRT11 wh...
Nicolas just use 3 times a linear regression channel code you will find in the library.
leederbyshire Here's the link to alternative linear regression channel indicator Nicolas is referring to t...
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...
Nicolas Je vais faire l'indicateur et expliquer comment en même temps dans un sujet de forum. Plus s...
gregus merci nicolas toute ma gratitude est pour toi sa sera bien pratique car je pense ne pas etre...
Nicolas Ok merci donc d'ouvrir un sujet spécifique pour cette demande donc :) 
algotrader This indicator looks coolBut on attempt to use it for a strategy dev'I get an error.."The in...
dajvop @algotrader if you at the bottom of the code add: RETURN Buffer1 as "up", Buffer2 as "down",...
Bateson Si cela peut servir, l'indicateur Sadukey a été créé en utilisant un générateur de filtre ap...
Nicolas
9 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 ...
eisi If i switch between different Markets, the Backgroundcolour will appear where it should not...
datageek How can I get alerts on colour change?
NAMBO40 Hello, I would like to add a 25 period SMA moving average. It's possible?
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
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 Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
GraHal Hi Nicolas I like this and would like to understand it fully so please forgive the (maybe) d...
Nicolas Hi GraHal, the Factor parameter is only a multiplier of the ATR that is added or subtracted ...
GraHal Nicolas, thank you for your useful and informative response. Yes I optimise using ProBackte...
Denis Hello, Congratulations and thank you for this work. I do not understand one thing, however...
Nicolas
9 years ago
GraHal Hi Nicolas Britains .itf file didn't work for me ... I had to change h to hh at line 13 and...
Nicolas Thank you GraHal for pointing this error, i have corrected the code in the file. The code in...
Nicolas
9 years ago
Nicolas
9 years ago
U Trend Sensor
U Trend Sensor
4
Indicators
Nicolas Hi Stef, thanks again for contributing to my near perfect english :)
Salocin Hi Nicolas, seems to be a pretty cool one as an indicator. can you define "plotsingal". Syst...
Nicolas Download the itf file attached to the post, there's everything needed in it. Just import thi...

Top