TradingCharts

What it does

What is CPR (Central Pivot Range)?

CPR (Central Pivot Range) is a price-action indicator derived from the previous period’s High, Low, and Close prices. It consists of three levels—Pivot (P), Bottom Central (BC), and Top Central (TC)—which act as dynamic institutional support and resistance zones. Traders use CPR width and structure to gauge whether a session is likely to trend (Narrow or Inside CPR) or remain range-bound (Wide or Outside CPR).

Features of This Indicator

Multi-Timeframe CPR, S/R & High/Low Levels

Individual toggles for Daily, Weekly, and Monthly CPR (P, BC, TC), S1–S4 / R1–R4, and Previous High / Low (PDH/PDL, PWH/PWL, PMH/PML).

Tomorrow’s CPR projection (P, BC, TC) plotted ahead for next-day planning.

Automatic Virgin CPR Zones

Detects any Daily CPR left untouched during its session and plots it as a shaded zone starting the next day.

Configurable extension modes: Fixed Days (1–30 days) or Until Touched (extends cleanly through the end of the session on which price touches it).

CPR Width & Structure Analysis

Automatically classifies each timeframe’s CPR type (Ascending, Descending, Inside, Outside, Overlapping).

Measures CPR width percentage and categorizes it as Narrow, Average, or Wide, with independent threshold inputs for Daily, Weekly, and Monthly.

Intraday Trend Engine & Bar UI Table

Evaluates 5-minute closes against Daily CPR, 1-hour closes against Weekly CPR, and 1-day closes against Monthly CPR using outer BC/TC boundaries.

Combines CPR width priority, Day Open alignment, CPR candle rejections, directional persistence, and Weekly CPR barrier/reversal tracking into a 9-tier Day Trend rating (Very Strong, Strong, Medium, Weak Bullish/Bearish, or Sideways / Neutral) with a 0%–100% segmented strength bar.

Includes 4 table themes (Light default, Dark, Midnight Blue, Slate) and flexible corner placement.

How to use it

  • Open the charts and go to Indicators › My scripts › Shared with me (or search the Community library) and press Add to chart.
  • The code is protected by the author: the script runs on the chart with the source hidden.

Version history

  • v7 — 29 Nov, 08:30 pm · compiler 0.3.70
  • v6 — 29 Nov, 08:25 pm · compiler 0.3.70
  • v5 — 29 Nov, 05:19 pm · compiler 0.3.70
  • v4 — 29 Nov, 04:26 pm · compiler 0.3.70
  • v3 — 29 Nov, 04:13 pm · compiler 0.3.70
  • v2 — 29 Nov, 03:59 pm · compiler 0.3.70
  • v1 — 29 Nov, 01:08 pm · compiler 0.3.70

#cpr