OPEN-SOURCE SCRIPT
20 MA Pack (SMA / EMA / SMMA / WMA)

This script provides a flexible 20-period Moving Average toolkit designed for active traders working with futures and high-momentum instruments.
It includes:
• 20 SMA (Simple Moving Average)
• 20 EMA (Exponential Moving Average)
• 20 SMMA (Smoothed Moving Average)
• 20 WMA (Weighted Moving Average)
Each average responds differently to price action:
SMA → Balanced trend view
EMA → Faster reaction to momentum
SMMA → Smoother structure, reduces noise
WMA → Stronger emphasis on recent price
This pack is especially useful for:
Current month futures contracts
Commodities with short contract lifecycles
Intraday and short-term swing trading
Identifying trend direction and dynamic support/resistance
The 20-period length aligns closely with one trading month, making it particularly effective for near-month contracts where longer moving averages lose relevance.
Use individually or compare them together to understand how price reacts to different smoothing methods.
It includes:
• 20 SMA (Simple Moving Average)
• 20 EMA (Exponential Moving Average)
• 20 SMMA (Smoothed Moving Average)
• 20 WMA (Weighted Moving Average)
Each average responds differently to price action:
SMA → Balanced trend view
EMA → Faster reaction to momentum
SMMA → Smoother structure, reduces noise
WMA → Stronger emphasis on recent price
This pack is especially useful for:
Current month futures contracts
Commodities with short contract lifecycles
Intraday and short-term swing trading
Identifying trend direction and dynamic support/resistance
The 20-period length aligns closely with one trading month, making it particularly effective for near-month contracts where longer moving averages lose relevance.
Use individually or compare them together to understand how price reacts to different smoothing methods.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。