tradewithkenzo

Moving Average Forecast (Beast)

This script displays up to 8 lengths of moving averages using either the SMA , EMA, WMA, HMA, SWMA, VWMA or CCI and forecasts where the moving average will be in future periods (by removing the oldest periods and adding future prices based on either current price "flat" or a user-defined period linear regression "linreg".

Built on top of Triple MA Forecast by yatrader2, expanded it and added awesome features.

The following has been changed/added:
- Changed to pine script version 4
- Altered number of moving averages displayed up to 8
- Added multiple moving average types ( SMA , EMA , WMA, HMA, SWMA, VWMA, CCI )
* SMA - Simple moving average *
* EMA - Exponential moving average *
* WMA - Weighted moving average *
* HMA - Hull moving average *
* SWMA - Symmetrical weighted moving average *
* VWMA - Volume-weighted moving average *
* CCI - Commodity channel index *
- Fixed settings menu
- Added label with current moving average values (sorted by price)
- Cleaned up the logic
- Cleaned up the code
Release Notes:
This script displays up to 8 lengths of moving averages using either the SMA , EMA, WMA, HMA, SWMA, VWMA or CCI and forecasts where the moving average will be in future periods (by removing the oldest periods and adding future prices based on either current price "flat" or a user-defined period linear regression "linreg".

Built on top of Triple MA Forecast by yatrader2, expanded it and added awesome features.

The following has been changed/added:
- Changed to pine script version 4
- Altered number of moving averages displayed up to 8
- Added multiple moving average types ( SMA , EMA , WMA, HMA, SWMA, VWMA, CCI )
* SMA - Simple moving average *
* EMA - Exponential moving average *
* WMA - Weighted moving average *
* HMA - Hull moving average *
* SWMA - Symmetrical weighted moving average *
* VWMA - Volume-weighted moving average *
* CCI - Commodity channel index *
- Fixed settings menu
- Added label with current moving average values (sorted by price)
- Cleaned up the logic
- Cleaned up the code

*NEW*
- Changed to pine script version 5
- Added signals when moving averages are in the correct order
Release Notes:
Added alertconditions for custom alerts
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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.

Want to use this script on a chart?