OPEN-SOURCE SCRIPT

Madrid MA Ribbon Bar

This study is the companion of the MMAR, displayed here in this publication. This displays the same information as MMAR, but in a linear format. This measures the possibilities of a trend reversal. If the bar fills over 50% of the opposite color from bottom to top then chances are there will be a trend reversal. Otherwise it is just a reentry point.
This study doesn't require but one parameter, and the default is very good. Define if you want to use the standard or the exponential moving average. It is simple, easy to interpret and doesn't require much space on the screen.
It uses only four standard colors
1. Red : A downtrend in progress
2. Green: A short reentry or a trend reversal warning
3. Lime : An uptrend in progress
4. Maroon: A long reentry or a trend reversal warning
Exponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer