OPEN-SOURCE SCRIPT
Updated

Percent above or Below Moving Average Candle colour

5 566
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.
Release Notes
Added moving average type selection
Release Notes
added Double EMA type
Release Notes
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

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.