OPEN-SOURCE SCRIPT
Atualizado Madrid MA Ribbon Bar

This is the MMAR companion study. This along with the MMAR study help visualize in a concise way the trend direction, patterns, trend strength, entry points and reversals.
Trading with MMAR: Look for the size of the bar, when it is partially filled with a color starting from bottom to top it means there is a reentry point, but if it fills 50% or more then there is a strong possibility that this will turn into a trend reversal. You may want to wait for confirmation. Normally after two or three solid bars you can have an idea of where the trend goes.
The standard colors are
1. Red : Downtrend
2. Maroon : Short reentry or uptrend warning
3. Lime : Uptrend
4. Green : Long reentry or downtrend warning
This indicator is based on the MMAR, so the only parameter it needs is the kind of MA you want to use, if you're using a regular standard moving average or an exponential moving average (this reduces lagging). Normally I use the exponential MA, which is the default value. It is simple, it only has four output values, it can be easily interpreted and practically no input parameters to tune. This doesn't require too much space on the screen
I suggest you to shrink the bar so it gives the visual effect of a solid bar and put it at the bottom of the screen.
Trading with MMAR: Look for the size of the bar, when it is partially filled with a color starting from bottom to top it means there is a reentry point, but if it fills 50% or more then there is a strong possibility that this will turn into a trend reversal. You may want to wait for confirmation. Normally after two or three solid bars you can have an idea of where the trend goes.
The standard colors are
1. Red : Downtrend
2. Maroon : Short reentry or uptrend warning
3. Lime : Uptrend
4. Green : Long reentry or downtrend warning
This indicator is based on the MMAR, so the only parameter it needs is the kind of MA you want to use, if you're using a regular standard moving average or an exponential moving average (this reduces lagging). Normally I use the exponential MA, which is the default value. It is simple, it only has four output values, it can be easily interpreted and practically no input parameters to tune. This doesn't require too much space on the screen
I suggest you to shrink the bar so it gives the visual effect of a solid bar and put it at the bottom of the screen.
Notas de Lançamento
Upgrade from PSv1 to PSv6Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.