Madrid Trend Squeeze

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?

Register or


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

+5 more likes

Related users ' posts
6 months ago
Stenozar Hi Sever, how can I visualize the coloured areas?
Sever Hi Stenozar, You need to add the color zones yourself , just go to Add Color Zone To set ...
atlante hi nicolas this indicator have 2 wrong borderline and islalastbarupdate. thank you can you h...
Nicolas That'"s because you are not using PRT v11? Just remove lines 59 to 62
Kanamax Hi Roberto, sorry for my confusing previous posts (forget them). My request is very simple,...
robertogozzi Please start a new topic in ProOrder support.
robertogozzi There you go: myMagicTrend = CALL “Magic Trend custom”[20, 14, 1, 5] alpha = 105 b = 0...
johann8 exactly :) Thank you all for the help!
kats Bonjour, j'ai essayé de faire afficher cet indic en temps 5 mn sur le 1 mn et c'est Hiroshim...
Nicolas Il suffit d'ajouter l'instruction TIMEFRAME(5 minutes,updateonclose) en tête du code
diegofe_2000 cordial saludo Nicolas, una pregunta senciLla : Como coloco un STOPS en un maximo o un mini...
Nicolas change the last line with: return v coloured(r,g,b) style(line,2), v+band coloured(168,168,1...
Paolo.B Thanks ... works as i wanted.
Kanamax Bonjour Nicolas, comme Paolo.B je souhaiterais utiliser cette indicateur au sein d'un code. ...
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors..... "style(line,2)" C'è una guida ai parametri che si possono modificare ? Tipo stile della lin...
IV Mcm
Daniele Maddaluno Écrivez-moi où vous préférez you can easily find me on LinkedIn
AK27 C'est payant visiblement sur linkdin je peux pas vous envoyer, discord vous avez ?
Nicolas C'est dans ce sujet: M...
Pensera Bonjour Nicolas, comment est-il possible de backtester cet indicateur? cela fait une erreu...
Nicolas Oui bien sûr, il doit y avoir pas mal de sujets dans le forum à ce propos.
Nicolas Il doit s'agir d'un mauvais copier/coller. Je suggère de télécharger le fichier itf contenu ...
Bard Hello @Nicolas, I can get this to display in a separate indicator panel but not on Price as ...
Stenozar Hi @Nicolas, how can I put the bands on price? Thanks, Stefano
Guillaume Mcm I gave the above message fix ;)
Tradingrob Is it possible to put the itf-file in the right way here in Prorealcode? so the right 'trend...
Guillaume Mcm Update link ;)
Screw27 Hi man, I installed the indicator and i don't know why but my graph it is so big
HelixKing sounds interesting I'll take a look
Godo Bonjour Souhait Sam, Après de nombreux essais pour le mettre en format afin d'utiliser ce c...
Nicolas Il faut supprimer celles qui existent dans la fenêtre d'optimisation et les créer en dur dan...
crusoe76 hi there, anyone can help making this strategy work, i have a message saying replace variabl...
Nicolas Ask on an Excel website?!
imokdesign @nicolas ,if in want to "call" this indicator, which values i have to write down?