OPEN-SOURCE SCRIPT

Moving Averages & Bollinger Bands with Forecasts

Moving Averages & Bollinger Bands with Forecasts

  • 11 Moving Averages
  • SMA, EMA, WMA
  • Highly Customizable
  • Linear Regression Forecast
  • Bollonger Bands


Personal Setup: Add indicator twice
1st indicator = SMA using #4, 7, 10, 11 (20, 50, 100, 200 SMAs) with bollonger bands on 20.
2nd indicator = EMA using #1, 2, 3, 5, 6, 8, 9 (5, 8, 13, 21 ,34, 55, 89 EMAs).
This allows easy toggling between SMAs/Bolls and Fib EMAs

Thank you to yatrader2 for the forecast code
forecastMoving Averagessma

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer