OPEN-SOURCE SCRIPT

Order Pressure Cloud [JOAT]

687
Order Pressure Cloud is an open-source Pine Script v6 overlay that estimates directional pressure from close location value, candle body bias, and volume participation. It then projects that pressure around an ALMA/EMA blended basis as a volatility-adjusted cloud.

The script is designed for pressure context. It does not read real order book data. Instead, it creates a transparent price-and-volume proxy that can show whether bars are closing toward highs or lows, whether volume is participating, and whether price is holding above or below the adaptive basis.

スナップショット

Core Concepts

1. Close Location Value

The close location value measures where the candle closes inside its high-low range. A close near the high produces positive pressure, while a close near the low produces negative pressure.

Pine Script®


2. Volume-Weighted Pressure

The script smooths CLV multiplied by volume and divides it by smoothed volume. This produces a normalized pressure ratio.

Pine Script®


3. Body Bias Component

Body direction is also included. The body component is weighted by a capped volume pulse so unusually large bars do not dominate the reading indefinitely.

4. Nonlinear Strength

The composite pressure is compressed with a nonlinear transform. This keeps extreme values readable and easier to display as a cloud strength score.

5. ALMA/EMA Basis Cloud

The basis blends ALMA and EMA. ATR, pressure strength, and volume pulse expand or contract the cloud width.

Features

  • CLV pressure proxy: Measures where price closes inside each candle range
  • Volume participation: Weights pressure by volume while normalizing by smoothed volume
  • Body pressure component: Adds candle body direction to the pressure model
  • Nonlinear strength scale: Converts pressure into a bounded -100 to +100 value
  • Adaptive cloud: Cloud width adjusts with ATR, pressure strength, and volume pulse
  • Basis blend: ALMA and EMA create a smoother central reference
  • Pressure zones: Confirmed pressure shifts and holds create clean boxes with pressure percentage and volume pulse data
  • Confirmed buy/sell labels: Compact labels mark pressure shifts and pressure-cloud holds after bar close
  • Strength gauge: Top-right dashboard shows pressure, volume, basis side, and cloud scale
  • Alerts: Pressure shifts, cloud holds, confirmed buy, and confirmed sell conditions


Input Parameters

  • Source: Price source for the basis
  • Pressure Length: Smoothing length for pressure calculations
  • Basis Length: Length for ALMA and EMA basis
  • ALMA Offset / ALMA Sigma: ALMA shape controls
  • ALMA Share: Blend weight between ALMA and EMA
  • ATR Length: Volatility length for cloud width
  • Cloud Multiplier: Base cloud distance
  • Signal Level: Strength threshold for pressure shifts
  • Paint Bars: Enables pressure candle tint
  • Strength Gauge: Shows dashboard
  • Pressure Zones: Toggles pressure data boxes
  • Buy/Sell Signals: Toggles compact confirmed labels
  • Zone Width: Bars each pressure box extends
  • Zone History: Maximum pressure boxes retained
  • Palette: Selects color pair


How to Use This Indicator

Step 1: Read the Gauge
The pressure row shows whether the current pressure score is above, below, or near neutral.

Step 2: Watch Basis Holds
A cloud hold means price interacted with the inner cloud while pressure remained directional.

Step 3: Compare Pressure With Price Location
Pressure is more meaningful when price is on the same side of the basis as the pressure reading.

Indicator Limitations

  • This is a price-and-volume proxy, not direct order book data
  • Volume availability differs between markets and symbols
  • Low-volume symbols can produce unstable pressure readings
  • Pressure shifts are reactive and can reverse during choppy conditions


Originality Statement

Order Pressure Cloud is original in how it combines CLV, body bias, volume pulse, nonlinear strength compression, and an adaptive ALMA/EMA cloud. It is built as original Pine v6 code from public market data fields.

Disclaimer

This script is provided for educational and informational use only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Pressure proxies can be inaccurate, especially where volume data is incomplete or irregular. Always use independent analysis and proper risk management.

-Made with passion by jackofalltrades

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。