OPEN-SOURCE SCRIPT
Live Price Pro Candle Timer & SL/TP Distance

This indicator provides a clean, customizable information panel directly on your TradingView chart. It displays the current market price, the remaining time before the active candle closes, and the live distance from the current market price to your Entry, Take Profit, and Stop Loss levels.
It is especially useful for traders who want to monitor their trade levels without repeatedly calculating price distance manually.
Main features
Live market price display
Real-time countdown to candle close
Manual Entry, Take Profit, and Stop Loss inputs
Automatic distance calculation from the current market price
Distance display in:
Price
Points
Percentage
Price and points
Price and percentage
Bullish and bearish price colors
Dark or Bull/Bear background mode
Adjustable panel size
Full panel positioning across the chart
How to use the indicator
After adding the indicator to your chart, open the indicator settings.
Under Trade Levels, enter your planned:
Entry Price
Take Profit Price
Stop Loss Price
The panel will automatically calculate the distance between the current market price and each level.
For example:
Current Price: 4069.17
Entry: 4065.00
Distance: -4.17
Take Profit: 4080.00
Distance: +10.83
Stop Loss: 4060.00
Distance: -9.17
A positive value means the level is above the current market price. A negative value means the level is below the current market price.
Candle countdown
The candle timer shows the remaining time before the current candle closes.
The timer automatically adapts to the selected chart timeframe. For example:
On a 5-minute chart, it counts down to the next 5-minute candle.
On a 1-hour chart, it counts down to the next hourly candle.
On higher timeframes, it can display hours or days when required.
The timer uses the actual candle closing time provided by TradingView.
Distance modes
You can choose how the distance is displayed.
Price
Shows the direct price difference.
+10.83
Points
Shows the distance in minimum tick increments based on the symbol.
+1083 pts
Percentage
Shows the percentage difference from the current market price.
+0.27%
Price + Points
Shows both the price difference and point distance.
+10.83 | +1083 pts
Price + Percentage
Shows both the price difference and percentage distance.
+10.83 | +0.27%
Panel positioning
The panel can be placed in any of the following chart positions:
Top Left
Top Center
Top Right
Middle Left
Middle Center
Middle Right
Bottom Left
Bottom Center
Bottom Right
This allows the panel to be positioned away from candles, indicators, or other chart elements.
Customization
Users can customize:
Panel position
Panel size
Background mode
Background transparency
Bullish price color
Bearish price color
Entry color
Take Profit color
Stop Loss color
Timer and text color
Which panel rows are visible
Important notes
The Entry, Take Profit, and Stop Loss levels are entered manually. The indicator does not place, manage, or execute trades.
A value of 0 means that the selected trade level has not been configured.
Point values depend on the symbol’s minimum tick size. Therefore, the meaning of “points” may differ between gold, forex, indices, cryptocurrencies, and other markets.
The live price is based on the current chart price and may differ slightly from the executable bid or ask price shown by a broker.
Suitable for
This indicator can be used for:
Gold trading
Forex trading
Indices
Cryptocurrencies
Intraday trading
Scalping
Swing trading
Manual trade planning
Risk and target monitoring
Disclaimer
This indicator is intended for informational and educational purposes only. It does not provide financial advice, trade signals, or guaranteed results. Traders remain fully responsible for their own entries, exits, position sizing, and risk management.
It is especially useful for traders who want to monitor their trade levels without repeatedly calculating price distance manually.
Main features
Live market price display
Real-time countdown to candle close
Manual Entry, Take Profit, and Stop Loss inputs
Automatic distance calculation from the current market price
Distance display in:
Price
Points
Percentage
Price and points
Price and percentage
Bullish and bearish price colors
Dark or Bull/Bear background mode
Adjustable panel size
Full panel positioning across the chart
How to use the indicator
After adding the indicator to your chart, open the indicator settings.
Under Trade Levels, enter your planned:
Entry Price
Take Profit Price
Stop Loss Price
The panel will automatically calculate the distance between the current market price and each level.
For example:
Current Price: 4069.17
Entry: 4065.00
Distance: -4.17
Take Profit: 4080.00
Distance: +10.83
Stop Loss: 4060.00
Distance: -9.17
A positive value means the level is above the current market price. A negative value means the level is below the current market price.
Candle countdown
The candle timer shows the remaining time before the current candle closes.
The timer automatically adapts to the selected chart timeframe. For example:
On a 5-minute chart, it counts down to the next 5-minute candle.
On a 1-hour chart, it counts down to the next hourly candle.
On higher timeframes, it can display hours or days when required.
The timer uses the actual candle closing time provided by TradingView.
Distance modes
You can choose how the distance is displayed.
Price
Shows the direct price difference.
+10.83
Points
Shows the distance in minimum tick increments based on the symbol.
+1083 pts
Percentage
Shows the percentage difference from the current market price.
+0.27%
Price + Points
Shows both the price difference and point distance.
+10.83 | +1083 pts
Price + Percentage
Shows both the price difference and percentage distance.
+10.83 | +0.27%
Panel positioning
The panel can be placed in any of the following chart positions:
Top Left
Top Center
Top Right
Middle Left
Middle Center
Middle Right
Bottom Left
Bottom Center
Bottom Right
This allows the panel to be positioned away from candles, indicators, or other chart elements.
Customization
Users can customize:
Panel position
Panel size
Background mode
Background transparency
Bullish price color
Bearish price color
Entry color
Take Profit color
Stop Loss color
Timer and text color
Which panel rows are visible
Important notes
The Entry, Take Profit, and Stop Loss levels are entered manually. The indicator does not place, manage, or execute trades.
A value of 0 means that the selected trade level has not been configured.
Point values depend on the symbol’s minimum tick size. Therefore, the meaning of “points” may differ between gold, forex, indices, cryptocurrencies, and other markets.
The live price is based on the current chart price and may differ slightly from the executable bid or ask price shown by a broker.
Suitable for
This indicator can be used for:
Gold trading
Forex trading
Indices
Cryptocurrencies
Intraday trading
Scalping
Swing trading
Manual trade planning
Risk and target monitoring
Disclaimer
This indicator is intended for informational and educational purposes only. It does not provide financial advice, trade signals, or guaranteed results. Traders remain fully responsible for their own entries, exits, position sizing, and risk management.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.