OPEN-SOURCE SCRIPT

Real-Time Price Line by Candle Color

428
This indicator draws a horizontal line at the current price that updates in real time on each candle. The line:

Extends infinitely left and right

Changes color based on the current candle:

🟢 Green if the candle is bullish (close ≥ open)

🔴 Red if the candle is bearish (close < open)

Automatically clears and redraws each bar to reflect the latest price and direction

Use this as a simple but effective visual aid to track the live price and its directional bias.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。