OPEN-SOURCE SCRIPT
Updated PCR table

Overview
This indicator displays a multi-period table of forward-looking price projections. It combines normalized directional momentum (Positive Change Ratio, PCR) with volatility (ATR) and presents a forecast for upcoming time intervals, adjusted for your local UTC offset.
Concepts & Calculations
Positive Change Ratio (PCR):
((total positive change)/(total change)-0.5)*2, producing a value between –100 and +100.
Synthetic ATR: Calculates average true range over the same lookbacks to capture volatility.
PCR × ATR: Forms a volatility-weighted directional forecast, indicating expected move magnitude.
Future Price Projection: Adds PCR × ATR value to current close to estimate future price at each lookahead interval.
Table Layout
There are 12 forecast horizons—1× to 12× the chart timeframe (e.g., minutes, hours, days). Each row displays:
1. Future Time: Timestamp of each projection (adjustable via UTC offset)
2. PCR: Directional bias per period (–1 to +1)
3. PCR × ATR: Expected move magnitude
4. Future Price: Close + (PCR × ATR)
High and low PCR×ATR rows are highlighted green for minimum value in the price forecast (buy signal) or red for maximum value in the price forecast (sell signal).
How to Use
1. Set UTC offset to your time zone for accurate future timestamps.
2. View PCR to assess bullish (positive) or bearish (negative) momentum.
3. Use PCR × ATR to estimate move strength and direction.
4. Reference Future Price for potential levels over upcoming intervals, and for buy and sell signals.
Limitations & Disclaimers
* This model uses linear extrapolation based on recent price behavior. It does not guarantee future prices.
* It uses only current bar data and no lookahead logic—compliant with Pine Script rules.
* Designed for analytical insight, not as an automated signal or trade executor.
* Best used on standard bar/candle charts (avoid non-standard types like Heikin‑Ashi or Renko).
This indicator displays a multi-period table of forward-looking price projections. It combines normalized directional momentum (Positive Change Ratio, PCR) with volatility (ATR) and presents a forecast for upcoming time intervals, adjusted for your local UTC offset.
Concepts & Calculations
Positive Change Ratio (PCR):
((total positive change)/(total change)-0.5)*2, producing a value between –100 and +100.
Synthetic ATR: Calculates average true range over the same lookbacks to capture volatility.
PCR × ATR: Forms a volatility-weighted directional forecast, indicating expected move magnitude.
Future Price Projection: Adds PCR × ATR value to current close to estimate future price at each lookahead interval.
Table Layout
There are 12 forecast horizons—1× to 12× the chart timeframe (e.g., minutes, hours, days). Each row displays:
1. Future Time: Timestamp of each projection (adjustable via UTC offset)
2. PCR: Directional bias per period (–1 to +1)
3. PCR × ATR: Expected move magnitude
4. Future Price: Close + (PCR × ATR)
High and low PCR×ATR rows are highlighted green for minimum value in the price forecast (buy signal) or red for maximum value in the price forecast (sell signal).
How to Use
1. Set UTC offset to your time zone for accurate future timestamps.
2. View PCR to assess bullish (positive) or bearish (negative) momentum.
3. Use PCR × ATR to estimate move strength and direction.
4. Reference Future Price for potential levels over upcoming intervals, and for buy and sell signals.
Limitations & Disclaimers
* This model uses linear extrapolation based on recent price behavior. It does not guarantee future prices.
* It uses only current bar data and no lookahead logic—compliant with Pine Script rules.
* Designed for analytical insight, not as an automated signal or trade executor.
* Best used on standard bar/candle charts (avoid non-standard types like Heikin‑Ashi or Renko).
Release Notes
square root formula for approximating ATROpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.