Daily CPR Custom
- インディケータ
- バージョン: 1.0
- アクティベーション: 7
Daily CPR is a lightweight MetaTrader 5 indicator that plots the daily Central Pivot Range and classic daily pivot support/resistance levels directly on the chart.
The indicator is designed for traders who use daily pivot structure as part of intraday planning, session preparation, support and resistance mapping, or top-down market context. It draws the current and historical daily CPR levels from the previous daily candle and keeps chart performance responsive by limiting the number of drawn days and recalculating only when a new bar appears.
What It Draws
- TC: Top Central Pivot
- P: Main Pivot
- BC: Bottom Central Pivot
- R1, R2, R3: Daily resistance levels
- S1, S2, S3: Daily support levels
Core Calculation
The indicator uses the previous daily candle high, low, and close to calculate the next daily pivot levels:
Pivot = (High + Low + Close) / 3
BC = (High + Low) / 2
TC = (2 x Pivot) - BC
Classic pivot levels:
R1 = (2 x Pivot) - Low
S1 = (2 x Pivot) - High
R2 = Pivot + (High - Low)
S2 = Pivot - (High - Low)
R3 = (2 x Pivot) + (High - 2 x Low)
S3 = (2 x Pivot) - (2 x High - Low)
Main Features
- Daily CPR: TC, Pivot, and BC
- Daily classic pivot levels: R1, R2, R3, S1, S2, S3
- Optional labels for each level
- Customizable colors, line styles, widths, and label font size
- Optional custom session start time
- Optional current-day-only display
- Configurable number of historical days to draw
- New-bar recalculation instead of tick-by-tick redraw
- Object updates instead of repeated object recreation
- Built as an indicator only; it does not open, manage, or close trades
Why Use Daily CPR
Daily CPR and pivot levels can help traders identify important reference areas before and during the trading day. These levels are commonly used to observe where price may react, consolidate, reject, break out, or retest. The indicator does not generate buy or sell signals by itself. It is intended as a clean market-structure and planning tool.
Performance Design
Daily CPR is built to keep charts responsive:
- It does not recalculate on every tick.
- It recalculates on new bars.
- It limits historical drawing through the Days To Draw input.
- It updates existing chart objects instead of constantly deleting and recreating them.
- A current-day-only mode is available for users who want the lightest possible chart setup.
Suggested Use
Use the indicator on intraday charts such as M5, M15, M30, or H1 to see the daily pivot structure while monitoring lower-timeframe price action. Daily CPR can also be used on higher timeframes for broader market context, but its main purpose is daily reference mapping.
Important Notes
This indicator is a charting and analysis tool. It is not an Expert Advisor, does not trade automatically, and does not guarantee profitable results. Trading decisions, risk management, and strategy rules remain the responsibility of the trader.
Copyright (c) Uniprojects.
