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
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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.