OPEN-SOURCE SCRIPT
Smart Money Concept with CPR Hariss 369

The Central Pivot Range (CPR) is a price-based intraday support–resistance indicator used to identify market trend, strength, and breakout levels. It is calculated using the previous day’s High, Low, and Close. CPR consists of three levels:
PP (Pivot Point) = (High + Low + Close) / 3
BC (Bottom Central) = (High + Low) / 2
TC (Top Central) = 2 × PP – BC
Together, BC–PP–TC form the CPR zone.
How traders use CPR
Narrow CPR → Indicates high probability of trending or volatile moves.
Wide CPR → Suggests range-bound or sideways market.
Price above CPR → Bullish bias.
Price below CPR → Bearish bias.
Breakouts of TC/BC are often used for intraday trades with momentum confirmation (like volume or moving averages).
Why CPR is popular
CPR helps traders quickly judge the market tone, identify key levels, and plan trades around breakout, reversal, or trending conditions. It is widely used in index and stock intraday trading.
To strengthen the trade, RSI, RVOL and DMI/ADX have been added to this strategy with optional filter. One can change these values based on one's trading style and risk appetite.
On bullish trend BC is often used as stop loss and on bearish trend TC is often used as stop loss.
PP (Pivot Point) = (High + Low + Close) / 3
BC (Bottom Central) = (High + Low) / 2
TC (Top Central) = 2 × PP – BC
Together, BC–PP–TC form the CPR zone.
How traders use CPR
Narrow CPR → Indicates high probability of trending or volatile moves.
Wide CPR → Suggests range-bound or sideways market.
Price above CPR → Bullish bias.
Price below CPR → Bearish bias.
Breakouts of TC/BC are often used for intraday trades with momentum confirmation (like volume or moving averages).
Why CPR is popular
CPR helps traders quickly judge the market tone, identify key levels, and plan trades around breakout, reversal, or trending conditions. It is widely used in index and stock intraday trading.
To strengthen the trade, RSI, RVOL and DMI/ADX have been added to this strategy with optional filter. One can change these values based on one's trading style and risk appetite.
On bullish trend BC is often used as stop loss and on bearish trend TC is often used as stop loss.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.