OPEN-SOURCE SCRIPT
已更新 OHLC Lines – Yesterday & Today (Minimalist Option)

This indicator draws horizontal lines representing the Open, High, Low, and Close (OHLC) levels of yesterday and today directly on your chart. It automatically updates each day, showing only the lines for the previous day and the current day, keeping your chart clean and focused.
Features:
Display Yesterday’s OHLC levels.
Display Today’s OHLC levels.
Optional Minimalist Mode with customizable color, width, and line style.
Lines automatically update each day and remove old lines.
Fully customizable colors, visibility, and line width for each OHLC level.
Use Case:
Perfect for traders who want to monitor key daily price levels, identify support/resistance zones, or incorporate OHLC levels into intraday strategies.
Features:
Display Yesterday’s OHLC levels.
Display Today’s OHLC levels.
Optional Minimalist Mode with customizable color, width, and line style.
Lines automatically update each day and remove old lines.
Fully customizable colors, visibility, and line width for each OHLC level.
Use Case:
Perfect for traders who want to monitor key daily price levels, identify support/resistance zones, or incorporate OHLC levels into intraday strategies.
發行說明
This indicator draws horizontal lines representing the Open, High, Low, and Close (OHLC) levels of yesterday and today directly on your chart. It automatically updates each day, showing only the lines for the previous day and the current day, keeping your chart clean and focused.Features:
Display Yesterday’s OHLC levels.
Display Today’s OHLC levels.
Optional Minimalist Mode with customizable color, width, and line style.
Lines automatically update each day and remove old lines.
Fully customizable colors, visibility, and line width for each OHLC level.
Use Case:
Perfect for traders who want to monitor key daily price levels, identify support/resistance zones, or incorporate OHLC levels into intraday strategies.
發行說明
V1: Performance OptimizationThe indicator's loading time was drastically improved by reducing the data requests from 11 to 2.
V2: Feature Enhancements
Price Labels: Optional text labels (e.g., "YH", "TL") were added directly to the lines.
Info Table: An optional table was added to the top-right corner to display all price levels clearly.
V3: Usability Improvements
The position of the price labels was corrected to prevent them from overlapping the lines.
The info table was updated to display "(Off)" when a line is disabled, making the status clearer.
V4: Dynamic Info Table
The info table was redesigned. Disabled lines are now completely removed from the table, allowing it to dynamically resize.
V5: Customizable Labels
A new option was added, allowing the user to choose whether the labels display the abbreviation ("YH") or the exact price ("150.25").
V6: Text Adjustment
A term in the dropdown options was adjusted for better clarity.
V7: Customizable Line Style
A new dropdown option was added to allow the user to select the line style (Solid, Dashed, Dotted) for the standard design.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。