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) [enable in settings] - 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