Plot Closed Candles OnlyWhat It Does:
This indicator helps you see candlesticks on your chart only after they are fully closed. It colors the candles based on whether they are bullish (green), bearish (red), or neutral (black/Doji). This way, you can focus on confirmed price movements without the distraction of candles that are still forming.
Key Features:
Plots Confirmed Candles: Only shows candles after they are fully formed.
Custom Colors:
Green: Bullish candles (close > open).
Red: Bearish candles (close < open).
Black: Doji candles (close = open).
Easy to Use: Simply add the indicator to your chart.
How to Use:
Add the indicator to your chart.
Turn off the default candles by:
Right-clicking on the chart.
Going to Style > Candles.
Disabling borders, bodies, and wicks for the default candles.
Enjoy a cleaner view of confirmed candles with clear color coding!
Why Use It?:
Helps you focus on confirmed price action.
Makes it easier to spot bullish, bearish, and neutral candles.
Great for traders who want to avoid the noise of incomplete candles.
Closedcandle
Alert on Candle CloseAlert on Candle Close is a simple indicator allowing you to set alerts when a candlestick closes.
Instructions for use
From the chart window, click on "Indicators" and search for "Alert on Candle Close".
Click on "Alert on Candle Close" to add the indicator to your chart. Click on the star icon to add it to your favourites to easily access later.
Set your chart timeframe to the timeframe you wish to alert on. For example, to create an alert when a 4h candlestick closes, set your chart to the "4h" timeframe.
Hover over the "Alert on Candle Close" indicator which has been added to your chart and click the ellipsis "..." icon, then click "Add alert on Alert on Candle Close" or use the keyboard shortcut "Alt+A" from the chart.
In the alert pop-up window, make sure "Condition" is set to "Alert on Candle Close" and "Trigger" is set to "Once Per Bar".
Optionally, you can set a custom expiry for the alert, give the alert a name and customise the alert message. You can configure notification settings from the "Notifications" tab.
Click "Create" and your alert is set up!
Each alert is tied to the timeframe and chart it was created on, so you can change the timeframe or asset and create more alerts by repeating the above process.
Note : this indicator is only designed to work with time-based chart types, such as Bars, Candles or Heikin Ashi. It will not work for non-time charts such as Renko.
FAQs
Why do my alerts sometimes not fire as soon as the candle closes?
This is a limitation with Pine Script's execution model. Indicators are calculated whenever a price or volume change occurs i.e. when a new trade happens. For illiquid or slow moving markets, there may be some time between when a candle closes and the next trade, leading to a delay in the alert triggering. The alert will trigger on the next tick of data on the chart.
Why can't I create more alerts?
TradingView has a limit on the number of active technical alerts you can have based on your membership tier. To configure more alerts, consider upgrading your TradingView plan to a higher tier. See a comparison of TradingView plans at www.tradingview.com
My alert only fired once, how can I get it to keep working?
When configuring the alert in the alert pop-up window, make sure you set "Trigger" to "Once Per Bar" and "Expiration" to "Open-ended alert".