OPEN-SOURCE SCRIPT

Real-Time Price Line by Candle Color

894
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。