Price Regime Oscillator📊 Price Regime Oscillator (PRC)
🧠 Overview
Price Regime Oscillator (PRC) is a custom-built market regime indicator designed to detect trend direction and momentum shifts using a normalized price-change approach.
Unlike traditional oscillators, PRC focuses on relative price movement over a defined lookback period, then smooths it to produce a cleaner signal. The result is a dynamic regime filter that can be used for both trend identification and entry confirmation.
This indicator is built on the previous PRC Market Regime Indicator, now directly integrated onto the chart. The PRC logic drives the visual representation through the EMA line and candle coloring, providing a clearer and more practical real-time application.
This version integrates PRC directly into the chart by driving:
EMA color (trend filter)
Candle coloring (market bias)
⚙️ How It Works
The core logic is based on:
Price change over a selected period (PRC Length)
Smoothing via EMA (PRC Smoothing)
Signal line using EMA of PRC (EMA Length)
🔑 Signals:
Bullish Regime
PRC crosses ABOVE its EMA
EMA turns green
Candles turn green
Bearish Regime
PRC crosses BELOW its EMA
EMA turns red
Candles turn red
Neutral
No active crossover
No coloring applied
📈 How To Use
✅ Trend Filter
Use EMA color as a simple trend filter:
Green → look for BUY setups
Red → look for SELL setups
✅ Entry Confirmation
Combine with your strategy:
Enter after PRC crossover confirmation
Or wait for pullback while trend color remains active
✅ Best Use Case
Works best in:
Trending markets
Breakout environments
⚠️ Like all indicators, performance may degrade in sideways (range-bound) conditions.
⚙️ Inputs
PRC Length → Lookback period for price change
PRC Smoothing → Noise reduction on PRC
EMA Length → Signal sensitivity
🎯 Key Features
Clean trend visualization directly on chart
PRC-based momentum logic (not standard EMA crossover)
Non-repainting (based on confirmed bar close)
Lightweight and fast
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice. Always use proper risk management and test any strategy before applying it in live trading.
Pine Script® indicator






















