OPEN-SOURCE SCRIPT
已更新

Weekend Range

626
Weekend Range Indicator – Customizable High/Low Zones

🔹 Overview

The Weekend Range Indicator marks the last 20 weekends on your chart, highlighting their highs and lows with fully customizable colors, transparency, and time settings. This tool helps traders identify key support and resistance levels from weekend price action.

🛠️ Features

✅ Custom Weekend Start & End – Choose the weekend days and time (UTC)
✅ Automatically Tracks the Last 20 Weekends (configurable up to 50)
✅ Custom Box Colors & Transparency – Adjust the fill and border colors easily
✅ Works on All Timeframes – Best viewed on 1H, 4H, or higher
✅ Efficient & Optimized Code – No lag, smooth performance

🎯 How to Use

1️⃣ Add the indicator to your chart.
2️⃣ Adjust the weekend start & end time in the settings.
3️⃣ Customize the box colors and transparency to match your style.
4️⃣ Watch how price reacts around the weekend high/low zones for trade opportunities.

💡 Trading Strategies

🔹 Breakout Trading – Look for price breaking above or below the weekend range.
🔹 Reversal Zones – Watch for rejections at weekend highs/lows.
🔹 Liquidity & Stop Hunts – Large players often target these levels.

📈 Recommended Markets

✔ Works best on Forex, Crypto, Indices, and Commodities
✔ Ideal for swing traders and intraday traders

🚀 Enjoy using the indicator! Let me know if you’d like any new features added! 🎯🔥
版本注释
📌 Weekend Range 2.0

This indicator highlights weekend price ranges on your chart.
Unlike the old version that only worked on 1H+, this one works seamlessly on all timeframes (from 1-minute up).



✨ Features
• Automatically detects weekend sessions using UTC day/hour inputs.
• Draws a shaded range box for each weekend (High–Low).
• Supports up to 200 weekends back (default: 50).
• Fully customizable box color, border, and transparency.
• Works reliably on any symbol and timeframe, without hitting object limits.



⚙️ Inputs
• Weekend Start Day / Hour (UTC) – when the weekend session begins.
• Weekend End Day / Hour (UTC) – when the session ends.
• Number of Weekends – how many past weekend ranges to display.
• Style Settings – customize box border & fill appearance.



💡 Use Cases
• Spotting gaps between Friday close and Monday open.
• Identifying weekend accumulation zones that act as future support/resistance.
• Backtesting weekend market behavior over multiple weeks.



🔔 Notes
• All times are handled in UTC for consistency across brokers.
• The latest weekend box updates in real time while the session is active.
• Historical weekends are drawn once and stored efficiently.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。