OPEN-SOURCE SCRIPT

Real-Time Price Line by Candle Color

230
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.