[CS] HTF Candle Start Marker

Racha23 Updated   
Hello Traders!

I was using this script personally and thought it may be helpful to others that trade much lower timeframes. This script is particularly useful for traders who monitor price movements across multiple timeframes or need to synchronize their strategies with the start of new candle open.


User-Selectable Timeframe: Users can select the desired timeframe for the candle start marker, ranging from 1 to 60 minutes.

Start-of-Period Visualization: The indicator works by highlighting the background color at the start of each new candle for the chosen timeframe. This visual cue is particularly helpful for identifying the commencement of new trading intervals on lower timeframe charts.

Intelligent Timeframe Adaptation: A unique feature of this indicator is its ability to disable the marking on charts where the selected timeframe is equal to or higher than the chart's current timeframe. This ensures that the marker is only active when it provides meaningful information, avoiding redundancy on higher timeframe charts.


This indicator is ideal for low time frame traders and those employing multi-timeframe analysis. It helps in quickly identifying the start of new time intervals. For example I trade the 15 second timeframe and mark the start of every 5 minute candle.
Release Notes:

In my haste, I realized I did not make the script easy to use for other traders. I have added quality of life user settings and a next candle marker. I hope everyone likes the update :).
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?