INVITE-ONLY SCRIPT

Automatic Timeframe Mapping

18
📘 Description

Period Separator is a chart-overlay utility that automatically draws vertical separator lines to visually distinguish higher-timeframe periods on lower-timeframe charts.

It helps traders clearly identify daily, weekly, monthly, and higher-period boundaries, improving session awareness, structure analysis, and multi-timeframe alignment.

🧩 How It Works

The indicator determines an appropriate separator timeframe based on the active chart timeframe and draws a vertical line whenever that higher timeframe changes.

Separators are drawn only when the chart timeframe is equal to or lower than the selected separator timeframe, preventing clutter on higher timeframes.

⏱️ Automatic Timeframe Mapping

The separator timeframe adapts automatically as follows:

Chart Timeframe Separator Drawn
2m – 60m Daily
120m – 240m Weekly
Daily Monthly
Weekly 6-Month
Monthly 24-Month

This ensures logical and consistent period separation across intraday and higher-timeframe charts.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.