OPEN-SOURCE SCRIPT
Multiplied and Divided Moving Average

Customize Settings:
Access the indicator settings to adjust:
MA Type (SMA, EMA, WMA, VWMA, RMA)
MA Length (default: 14)
Multiply Factor (default: 5.0)
Divide Factor (default: 5.0)
Source (default: close)
Show Buy/Sell Labels (default: enabled)
Blue line: Base moving average.
Green line: Moving average multiplied by the specified factor.
Red line: Moving average divided by the specified factor.
"Buy" label: Appears when price crosses below the red line (potential oversold signal).
"Sell" label: Appears when price crosses above the green line (potential overbought signal).
The Buy/Sell labels are based on price crossing the multiplied/divided lines, which may produce signals in volatile markets. Test the indicator in your trading context to ensure it aligns with your strategy.
The showLabels toggle allows you to declutter the chart if desired.
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.