OPEN-SOURCE SCRIPT

Multi-Timeframe SMA Indicator | Daily & Weekly SMAs

🔹 Description:
This Multi-Timeframe SMA Indicator is designed for traders who want a clean and structured way to visualize daily and weekly Simple Moving Averages (SMAs) on their TradingView charts. It automatically adjusts based on the selected timeframe:

📅 Daily Chart:

SMA 5 (Blue)
SMA 20 (Orange)
SMA 50 (Green)
SMA 150 (Purple)
SMA 200 (Red)
🗓 Weekly Chart:

SMA 10W (Aqua)
SMA 40W (Fuchsia)
🛠️ Features:
✅ Automatic Timeframe Detection:

Daily SMAs only appear on daily charts
Weekly SMAs only appear on weekly charts
✅ Distinct Colors for Each SMA – Makes it easy to differentiate moving averages.

✅ Slightly Thicker Lines – Ensures better visibility.

✅ Labels on SMA Lines – Helps identify each SMA directly on the chart.

✅ SMA Reference Table (Top-Left Corner) – Shows SMA names & colors for quick reference.

🎯 How to Use This Indicator?
📌 For Swing Traders & Long-Term Investors:

Use SMA 50, 150, and 200 to identify overall trend direction.
Monitor the weekly SMA 10 & 40 to gauge broader market strength.
📌 For Short-Term Traders:

Use SMA 5 & 20 for momentum and trend shifts.
🚀 Perfect for traders who rely on multi-timeframe analysis to make better trading decisions!

🔍 Like this indicator? Don't forget to 🌟 Favorite & Share with your trading community! 🚀📊

คำจำกัดสิทธิ์ความรับผิดชอบ