OPEN-SOURCE SCRIPT
6/20 Cloud Flip

EMA Cloud 6/20
A clean, minimal EMA cloud built on the 6 and 20 period exponential moving averages. The cloud automatically flips between bullish and bearish coloring based on which EMA is on top — green when the 6 EMA is above the 20 EMA, red when it flips below.
Features:
Cloud fill between the 6 and 20 EMA, colored by trend direction
EMA lines hidden by default for a clean chart — toggle on anytime
Fully customizable: adjust both EMA lengths, cloud colors, and line colors from the settings panel
Lightweight, overlay-based, works on any timeframe or instrument
Useful as a quick visual read on short-term trend bias, or as a component alongside other trend/momentum tools.
A clean, minimal EMA cloud built on the 6 and 20 period exponential moving averages. The cloud automatically flips between bullish and bearish coloring based on which EMA is on top — green when the 6 EMA is above the 20 EMA, red when it flips below.
Features:
Cloud fill between the 6 and 20 EMA, colored by trend direction
EMA lines hidden by default for a clean chart — toggle on anytime
Fully customizable: adjust both EMA lengths, cloud colors, and line colors from the settings panel
Lightweight, overlay-based, works on any timeframe or instrument
Useful as a quick visual read on short-term trend bias, or as a component alongside other trend/momentum tools.
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.