PROTECTED SOURCE SCRIPT

Multi-Period Key Levels & Separators

20
Period Levels & Separators – D/W/M/Q/Y

Comprehensive higher timeframe levels indicator displaying key price levels and period separators for Daily, Weekly, Monthly, Quarterly, and Yearly timeframes.

Features:
• Current & previous period Open lines
• Previous period High / Low (PDH/PDL, PWH/PWL, PMH/PML, etc.)
• Previous period midpoint (½ level) — shown on lower timeframes
• Weekly & Monthly Highest/Lowest Close of period (HCOW, LCOW, HCOM, LCOM)
• First Trading Day of the Month High/Low with optional background fill
• Smart label merging — automatically combines labels when levels are very close (configurable tolerance)
• Customizable period separators (daily, weekly, monthly, quarterly, yearly)
• Day of week labels (Mon–Sat) on lower timeframes
• Multiple visibility controls — hide levels/separators on higher timeframes
• Unlimited or limited history mode
• Optional alerts on break of previous period high/low

Ideal for:
• Anyone using higher timeframe structure & key levels in their analysis

Settings include:
- Master toggles for each timeframe
- Individual colors, styles & widths
- Label size & text color
- Merge tolerance for overlapping levels
- Timezone selection
- Hide rules for cleaner charts on higher TFs

Enjoy cleaner, more structured charts with all major period levels in one place.

Feedback & suggestions always welcome.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.