OPEN-SOURCE SCRIPT
指定周期 MA

Custom Timeframe Moving Average (MA)
This indicator allows you to display a Moving Average from a higher or custom timeframe directly on your current chart.
📌 Features:
Choose any custom timeframe (e.g. 1H, 4H, 1D)
Supports multiple MA lengths (e.g. 20, 40, 60…)
Helps identify trend direction and key dynamic support/resistance
Ideal for multi-timeframe trading strategies
💡 Usage Example:
View 1H MA on a 5-minute chart for stronger trend confirmation
Use longer period MA as trend filter, shorter MA for entry signals
🚀 A great tool for swing traders, scalpers, and day traders who rely on multi-timeframe confluence.
This indicator allows you to display a Moving Average from a higher or custom timeframe directly on your current chart.
📌 Features:
Choose any custom timeframe (e.g. 1H, 4H, 1D)
Supports multiple MA lengths (e.g. 20, 40, 60…)
Helps identify trend direction and key dynamic support/resistance
Ideal for multi-timeframe trading strategies
💡 Usage Example:
View 1H MA on a 5-minute chart for stronger trend confirmation
Use longer period MA as trend filter, shorter MA for entry signals
🚀 A great tool for swing traders, scalpers, and day traders who rely on multi-timeframe confluence.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.