OPEN-SOURCE SCRIPT

Multi-Timeframe Session Highlighter

76
What is the Multi-Timeframe Session Highlighter?
It’s a simple Pine Script indicator that paints two special candles on your chart, no matter what timeframe you’re looking at. Think of it as a highlighter pen for session starts and ends—can be used for session-based strategies or just keeping an eye on key turning points.

How it works:

Green Bar (Session Open): Marks the exact bar when your chosen higher-timeframe session kicks off. If you select “4H,” on the indicator, you’ll see green on every 4-hour open, even if you’re staring at a 15-minute chart.

Red Bar (Session Close): Highlights the very last lower-timeframe candle immediately before that session wraps up. So on a 1H chart with “Daily” selected, you’ll get a red band on the 23:00 hour before the new daily bar at midnight.

Customizable: Pick your own colors and transparency level to match your chart theme.

Getting started:

Add the indicator to your chart.

In the inputs, select the session timeframe (for example, “240” for 4H or “D” for daily).

Choose your favorite green and red shades.

That’s it.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.