OPEN-SOURCE SCRIPT
Multi-Timeframe MA 10 EMA SMA WMA HMA RMA

█ OVERVIEW
This indicator displays up to 10 moving average lines, each on its own independently configurable timeframe.
The core idea is simple: instead of recalculating periods manually when switching chart timeframes, you set each line to a specific timeframe once and it stays there regardless of what timeframe you are viewing.
For example, set MA1 to the Daily 200 EMA and it will always show the Daily 200 EMA — whether you are looking at a 1-minute chart or a 4-hour chart.
█ FEATURES
• Up to 10 MA lines, each with independent timeframe, period, type, and color settings
• MA types: EMA, SMA, WMA, HMA, RMA
• Lines 7 to 10 are hidden by default — enable only what you need
• Each line has a Show toggle so you can turn individual lines on and off without losing your settings
█ MA TYPES
• EMA — Exponential Moving Average. Weights recent bars more heavily. The most widely used MA among traders.
• SMA — Simple Moving Average. Treats all bars equally. Often watched by institutional traders.
• WMA — Weighted Moving Average. Similar to EMA but with a more straightforward weighting curve.
• HMA — Hull Moving Average. Designed to minimize lag while staying smooth. Reacts faster than EMA.
• RMA — Wilder's Moving Average. The same MA used inside RSI calculations. Smoother and slower than EMA.
█ HOW TO USE
Set each line to a timeframe and period that matches your trading approach. A few common setups:
Upper timeframe confluence — Set MA1, MA2, MA3 to the Daily, 4H, and 1H 200 EMA respectively. Keeps key support and resistance levels visible on any chart.
MA ribbon — Set multiple lines to the same timeframe with different periods (e.g. 20, 50, 100, 200). The order and spacing of the lines reflects trend strength.
Cross-timeframe comparison — Set the same period (e.g. 50 EMA) across multiple timeframes to see whether they are aligned in the same direction.
█ NOTES
• Lines set to a higher timeframe than the current chart may repaint on the forming bar — this is normal behavior for request.security() in Pine Script
• If a line appears flat or missing, check that the selected timeframe is higher than or equal to your current chart timeframe
This indicator displays up to 10 moving average lines, each on its own independently configurable timeframe.
The core idea is simple: instead of recalculating periods manually when switching chart timeframes, you set each line to a specific timeframe once and it stays there regardless of what timeframe you are viewing.
For example, set MA1 to the Daily 200 EMA and it will always show the Daily 200 EMA — whether you are looking at a 1-minute chart or a 4-hour chart.
█ FEATURES
• Up to 10 MA lines, each with independent timeframe, period, type, and color settings
• MA types: EMA, SMA, WMA, HMA, RMA
• Lines 7 to 10 are hidden by default — enable only what you need
• Each line has a Show toggle so you can turn individual lines on and off without losing your settings
█ MA TYPES
• EMA — Exponential Moving Average. Weights recent bars more heavily. The most widely used MA among traders.
• SMA — Simple Moving Average. Treats all bars equally. Often watched by institutional traders.
• WMA — Weighted Moving Average. Similar to EMA but with a more straightforward weighting curve.
• HMA — Hull Moving Average. Designed to minimize lag while staying smooth. Reacts faster than EMA.
• RMA — Wilder's Moving Average. The same MA used inside RSI calculations. Smoother and slower than EMA.
█ HOW TO USE
Set each line to a timeframe and period that matches your trading approach. A few common setups:
Upper timeframe confluence — Set MA1, MA2, MA3 to the Daily, 4H, and 1H 200 EMA respectively. Keeps key support and resistance levels visible on any chart.
MA ribbon — Set multiple lines to the same timeframe with different periods (e.g. 20, 50, 100, 200). The order and spacing of the lines reflects trend strength.
Cross-timeframe comparison — Set the same period (e.g. 50 EMA) across multiple timeframes to see whether they are aligned in the same direction.
█ NOTES
• Lines set to a higher timeframe than the current chart may repaint on the forming bar — this is normal behavior for request.security() in Pine Script
• If a line appears flat or missing, check that the selected timeframe is higher than or equal to your current chart timeframe
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.