Latest Candle Background

1.0 -> Changes the Background Based on the Color of the Latest Candle
Release Notes:
Now uses a 100% width / 100% height table instead of a box. The benefit here is that now your chart's "auto" scaling will work as you expect.
Release Notes:
"Latest Candle Background" indicator is a visual tool for traders that highlights the most recent candle on a chart. It does this by coloring the background of the candle with a user-specified color. This can be useful for quickly identifying the latest price action and making informed trading decisions.

The indicator allows users to customize the color of the background as well as the transparency level. It can be applied to any chart type and time frame. Additionally, the indicator can be overlaid on top of other technical indicators or chart patterns to provide an extra layer of analysis.

Overall, the "Latest Candle Background" indicator is a simple but effective way to highlight the most recent price action and enhance your trading strategy.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?