OPEN-SOURCE SCRIPT

Mercator Pressure [JOAT]

723
Mercator Pressure [JOAT]

Introduction

Mercator Pressure is an open-source institutional-style pressure oscillator built to measure directional force using a blended model of candle pressure, close-location behavior, range expansion, optional volume impulse, and volatility-channel context. The goal is to capture not just whether momentum is positive or negative, but how forceful and structurally aligned that movement is.

The problem Mercator Pressure solves is shallow momentum interpretation. Many oscillators react to price movement but fail to distinguish between weak drift, strong displacement, location inside a volatility envelope, and divergence between price and internal force. Mercator Pressure combines those dimensions in one panel and adds confirmed divergence logic, threshold regimes, layered gradients, and a live dashboard.

snapshot

Core Concepts

1. Weighted Candle Pressure Engine

The core model scores each bar using a weighted blend of body impulse, close location, range expansion, and optional relative volume impulse. This helps the oscillator react differently to high-conviction bars than to passive movement.

2. Volatility-Channel Context Engine

Pressure is not evaluated in isolation. The script also measures where price sits inside an adaptive volatility envelope and uses that context as part of the composite regime model.

3. Composite Regime and Signal Layer

The pressure and context models are blended into a smoothed composite oscillator and signal line. Regime state is then derived from threshold behavior and internal persistence.

4. Confirmed Divergence Detection

Both regular and hidden divergence are supported using pivot-confirmed logic, which keeps the divergence framework more stable than naive visual divergence methods.

5. Institutional Panel Styling

Mercator Pressure uses layered fills, gradient regime cues, restrained optional divergence markers, and a top-right dashboard rather than retail-style arrow spam.

Features

  • Multi-factor pressure engine: Body, close location, range expansion, and optional relative volume
  • Volatility envelope context: Internal force is blended with channel position
  • Composite oscillator and signal line: Regime interpretation is smoother and more stable
  • Regular and hidden divergence: Pivot-confirmed divergence conditions
  • Confirmed-bar event gating: Alerts and key events can be evaluated on closed bars
  • Layered gradient fills: Smooth panel depth instead of harsh histogram clutter
  • Regime background tint: Visual context in the panel
  • Top-right dashboard: Live state readout for regime, slope, context, and divergence
  • Optional divergence markers: Uses professional square and diamond markers, not arrows
  • Alertconditions: Regime flips, signal crosses, expansions, and divergences


How to Use This Indicator

Step 1: Read the Composite Line Versus Signal
When the composite line is above the signal and above key thresholds, internal pressure is supportive. The opposite applies during bearish pressure.

Step 2: Check Regime State
Use the dashboard and panel tint to determine whether the script sees a bullish, bearish, or neutral pressure regime.

Step 3: Watch Expansion Conditions
Expansion events are stronger than ordinary threshold crosses because they imply pressure is extending into a more forceful state.

Step 4: Use Divergence as Context
Divergence is best used as a warning or contextual signal, not as a blind reversal trigger.

Indicator Limitations

  • Divergence only confirms after pivots confirm, which introduces natural delay by design
  • Pressure is a proxy model derived from chart data, not exchange-level order flow
  • The composite engine is adaptive and may behave differently across very low-volatility versus very high-volatility symbols
  • This script is best used as a directional-quality filter or context tool, not a standalone trading system


Originality Statement

Mercator Pressure is original in the way it combines weighted candle pressure, volatility-envelope context, regime hysteresis, and pivot-confirmed divergence inside one coordinated panel. Its value comes from force measurement, contextualization, and divergence structure rather than from any one common oscillator formula.

Disclaimer

This indicator is provided for educational and informational purposes only. It is not financial advice. Pressure and divergence readings are derived from historical price and volume behavior and do not guarantee future results.

- Made with passion by jackofalltrades

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.