OPEN-SOURCE SCRIPT
已更新 Ranges by TraderHaro

This indicator highlights a custom price range for a selected date/time period on your chart. It draws key levels (0.00, 0.25, 0.50, 0.75, 1.00) within the range, visually marking the Premium Zone (upper range) and Discount Zone (lower range).
Features:
- Define a specific date/time range for the analysis.
- Optional fill between top and bottom levels with customizable color and transparency.
- Shows mid-levels (0.25, 0.50, 0.75) for additional guidance.
- Lines and fill can be extended to the right side of the chart.
- Labels for levels can be displayed or hidden.
Use Case:
Quickly identify where price is trading relative to a defined range, visualize potential zones of premium (resistance) and discount (support), and make better-informed trading decisions.
Features:
- Define a specific date/time range for the analysis.
- Optional fill between top and bottom levels with customizable color and transparency.
- Shows mid-levels (0.25, 0.50, 0.75) for additional guidance.
- Lines and fill can be extended to the right side of the chart.
- Labels for levels can be displayed or hidden.
Use Case:
Quickly identify where price is trading relative to a defined range, visualize potential zones of premium (resistance) and discount (support), and make better-informed trading decisions.
版本注释
Fill Coloring Update:The fill now shows two zones:
- Upper half of the range = Premium Zone (red)
- Lower half of the range = Discount Zone (green)
版本注释
Fixed a bug in live charts where the script would stop working when a candle closed and a new one opened. Now the range calculation safely handles historical bars, ensuring lines, fills, and labels update correctly in real-time.开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Subscribe to my VIP Telegram channel here: t.me/TraderHaroVIP
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Subscribe to my VIP Telegram channel here: t.me/TraderHaroVIP
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。