Madrid

Madrid Trend Trading

916
Madrid Trend Trading is an indicator that shows Momentum direction and strength based on a given trend (pair of MA's). It is useful to detect the direction of the trend, Momentum divergences with the trend and possible trend reversals.
Parameters
1. Fast MA Length
2. Slow MA Length
3. Signal Length

Trading with MTT
1. MTT > 0 and increasing (Lime) : Long position
2. MTT > 0 and decreasing (Green) : entry/exit long position, take profits or plan an entry
3. MTT < 0 and decreasing (Red) : Short position
4. MTT <0 and increasing (Maroon) : entry/exit short position, take profits or plan entry

This shows the market waves, it's a good indicator for swing trading since it shows the change of direction of the trend, signals profit areas and entry/exit regions. Change in the direction of the trend can be spotted by the cross over the zero line or by trend divergences, H-H in the trend and L-H in the MTT indicator means a downtrend is close. L-L in the trend and H-L in the indicator means an uptrend is forming.
There is a bar in the zero line that shows the momentum direction, simple, green it's increasing, red, it's decreasing.
This indicator is meant to be a companion of the MTS indicator. When combined MTS shows the direction and strength of the trend, meanwhile MTT shows if the trend is weakening, gaining strength, confirms continuation or warns a reversal.

What I look from my indicators is to create a tool that filters out as much noise as possible without losing much sensitivity, they have to be easy to tune and simple to analyze, so I normally use contrasting colors, using cold colors for long positions and warm colors for short positions. I try to use the least possible number of parameters and the defaults have been set after several months of testing in Beta mode against hundreds of charts before publishing them.

I hope this effort can help you to have a simpler point of view of the market.

Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
// Madrid : 6/SEP/2014 10:57 : TrendStrengthBuySell : 2.0
// Buy Sell based on the trend Strength
// http://madridjourneyonws.blogspot.com/

study(title="Madrid Trend Trading", shorttitle="MTT", precision=2)
src =  hl2

// Input parameters
fastMALength = input(34, minval=1, title="Fast Length")
slowMALength = input(89, minval=1, title="Slow Length")
signalMALen = input(13, title="Signal MA")

fastMA = ema(src, fastMALength )
slowMA = ema(src, slowMALength )
trendStrength = (fastMA - slowMA)*100/slowMA
signalMA = sma(trendStrength, signalMALen)

momentum = trendStrength-signalMA
momColor = momentum>0 and change(momentum)>0 ? lime
         : momentum>0 and change(momentum)<0 ? green
         : momentum<0 and change(momentum)>0 ? maroon
         : momentum<0 and change(momentum)<0 ? red
         : gray
         
plot(momentum, style=histogram, linewidth=2, color=momColor)
plot(0, color=change(momentum)>=0?green:red, linewidth=3)