OPEN-SOURCE SCRIPT
Updated

MA and estimated MA

1 633
EMA and SMA system with an estimated coming 7-day EMA/SMA based on oldest closing price and estimated change percentage of future price. The long-cycle bars are marked by green color to avoid distraction from price fluctuation based on MACD default EMA setting. This work is a combination of ideas inspired by LoneCapital and @seedof.
Release Notes
1. Add an input option to show SMA lines.
2. Extend the estimated SMA values to the coming 20 days.
3. Remove EMA and estimated EMA.

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.