OPEN-SOURCE SCRIPT

Caldera Relative Pressure [JOAT]

474
Caldera Relative Pressure [JOAT]

Introduction

Caldera Relative Pressure is an open-source effort-versus-result oscillator designed to measure whether price movement is being supported by participation, directional efficiency, and close location within the bar. It is built to distinguish clean directional drive from absorption, exhaustion, and two-way rotation.

The problem this script solves is that raw price movement does not explain whether a move is efficient, forced, rejected, or fading. A wide candle on low participation is not the same as a wide candle with expanding participation and strong close location. Caldera converts candle anatomy, relative volume, range behavior, and baseline context into a structured pressure model that is easier to read in real time.

snapshot

Core Concepts

1. Effort-Versus-Result Framework

The script blends three weighted components:

  • Effort: candle body and directional spread relative to true range
  • Result: directional efficiency relative to ATR
  • Location: where the bar closes inside its own range, adjusted by wick pressure


Those three parts are multiplied by relative volume so that quiet moves and committed moves do not receive the same score.

2. Directional Drive Detection

Bull and bear drive states require a sufficiently large composite pressure reading, positive spread between the composite and its signal line, and close location agreement. This keeps small or conflicted moves from being treated as decisive tape control.

3. Absorption Detection

Absorption is identified by unusually strong volume combined with limited body progress and asymmetric wick behavior. In practical terms, that means participation increased but result did not expand proportionally. This is often a useful clue that one side is meeting aggressive pressure with passive liquidity.

4. Exhaustion Detection

The script also tracks exhaustion. It compares the current pressure state with recent pressure extremes and short-term momentum fade. A move can still be directionally positive or negative while simultaneously losing efficiency.

5. Multi-Layer Pressure Visualization

The pane includes a histogram, composite line, signal line, drive quality line, balance line, participation band, efficiency band, location band, rotation ribbon, and reference ladders. These are separate on purpose:

  • The histogram shows raw directional pressure
  • The composite and signal lines show state and rotation
  • Drive quality shows how healthy the move is
  • Participation, efficiency, and location bands show what is contributing to the reading


Features

  • Composite pressure engine: Candle anatomy, ATR efficiency, location, and relative participation
  • Bull and bear drive states: Measures directional initiative
  • Bull and bear absorption states: Flags high-effort / low-result behavior
  • Bull and bear exhaustion states: Flags fading pressure after prior extremes
  • Baseline context filter: Can require price to align with a directional baseline
  • Drive quality and balance lines: Separate force from quality
  • Participation, efficiency, and location bands: Show what is driving the current reading
  • Rotation ribbon: Highlights positive and negative carry
  • Dashboard summary: State, bias, strength, regime, context, participation, quality, balance, rotation, and compression


Input Parameters

Core Engine:
  • Relative Volume Length
  • Range Normalization Length
  • Baseline Context Length
  • Signal Smoothing


Pressure Model:
  • Effort Weight
  • Result Weight
  • Location Weight
  • Drive Threshold
  • Expansion Threshold


State Logic:
  • Absorption Volume Z
  • Absorption Range Cap
  • Exhaustion Lookback
  • Recent State Window
  • Baseline Context Filter toggle


How to Use This Indicator

Step 1: Read the State Row
The State row tells you whether the market is currently showing directional drive, absorption, exhaustion, or balance. This is the first layer of interpretation.

Step 2: Compare Pressure With Quality
A strong pressure reading with weak drive quality can be unstable. A smaller pressure reading with improving quality can be more constructive. Use those two together rather than treating histogram height alone as the answer.

Step 3: Inspect Participation, Efficiency, and Location
These bands explain why the model is leaning in one direction. If participation is strong but efficiency is weak, the move may be absorption. If efficiency and location are strong but participation is weak, the move may be less durable.

Step 4: Watch the Rotation Ribbon
Rotation tells you whether pressure is continuing, stabilizing, or turning. This can be useful for early changes in internal character even when the headline state has not fully flipped yet.

Indicator Limitations

  • Relative volume is broker and instrument dependent, so the same thresholds may not transfer perfectly across markets
  • Absorption and exhaustion are contextual states, not guaranteed turning points
  • High-volatility event bars can temporarily distort effort-versus-result relationships
  • A baseline filter improves context but can delay state recognition during sharp reversals


Originality Statement

Caldera Relative Pressure is original in the way it turns candle anatomy, participation, efficiency, and location into a layered pressure model with separate drive, absorption, and exhaustion states. The script is not a simple volume oscillator or candle-coloring tool. Its design is centered on explaining how price is moving, not only how far it moved.

Disclaimer

This script is provided for educational and informational purposes only. It is not financial advice. Pressure readings are based on historical bar data and can misclassify conditions during abnormal liquidity or fast event-driven moves. Always use independent confirmation and prudent risk management.

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.