OPEN-SOURCE SCRIPT
Atualizado Percent above or Below Moving Average Candle colour

Filter:
If green candle is 'x' % above moving average than colour of candle is turn in blue colour.
If red candle is 'x' % below moving average than colour of candle is turn in orange colour.
If green candle is 'x' % above moving average than colour of candle is turn in blue colour.
If red candle is 'x' % below moving average than colour of candle is turn in orange colour.
Notas de Lançamento
Added moving average type selectionNotas de Lançamento
added Double EMA typeNotas de Lançamento
Use "Selective" mode to color bars blue when they exceed the percentage above the MA (bullish) or yellow when they exceed it below (bearish)Use "All" mode to color all bars above the MA green and all below red
Script de código aberto
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.
Aviso legal
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.
Script de código aberto
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.
Aviso legal
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.