OPEN-SOURCE SCRIPT

Real-Time Price Line by Candle Color

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

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.