OPEN-SOURCE SCRIPT
Zone Moving Average Color Direction Detection

This indicator generates a zone for a moving average by means of the high and low source of the same average, the moving average should be worked as zones not as a line, by default a simple average of 200 periods is configured, the indicator has direction detection and represents it by the green and red colors, it also has padding with the same characteristic, it is possible to configure the following:
- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, THEME, HULLMA, ZEMA, TMA, SSMA
- Period / Length
- Source
- Color Direction Detection
Release Notes: Add a field to change the reaction in the change of color and direction of the Media, set to 1 is the fastest, a larger number filters the address better but is slower, 3 is set by default.
- Type: SMA, EMA, WMA, VWMA, SMMA, DEMA, THEME, HULLMA, ZEMA, TMA, SSMA
- Period / Length
- Source
- Color Direction Detection
Release Notes: Add a field to change the reaction in the change of color and direction of the Media, set to 1 is the fastest, a larger number filters the address better but is slower, 3 is set by default.
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.