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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.