OPEN-SOURCE SCRIPT

Intraday Intensity Percent (IIP) by CoryP1990 – Quant Toolkit

126
The Intraday Intensity Percent (IIP) quantifies buying vs. selling pressure within each bar by combining price position inside the range and trading volume. It’s essentially a volume-weighted order-flow indicator, showing whether volume concentrates near highs (buying pressure) or lows (selling pressure).

How it works

Computes the Intraday Intensity (II) = ((Close − Low) − (High − Close)) / (High − Low) × Volume.

Then compares total “intensity” to total volume over a look-back window to produce a normalized percentage.

Lime line: IIP rising → accumulation / increasing buy pressure.

Red line: IIP falling → distribution / increasing sell pressure.

Background: Green tint = heavy buying, Red tint = heavy selling.

Use cases

Identify accumulation or distribution phases early.

Confirm momentum with volume-backed pressure.

Detect divergences between price and volume flow.

Defaults

Length = 14

High-pressure threshold = +5 %

Low-pressure threshold = −5 %

Example — AAPL (2H)

Late July into early August shows sustained distribution as IIP sinks below −5% (deep red), marking heavy sell pressure during the drop. From early to mid-August, IIP flips positive and holds > +5% (green background), aligning with the rebound. After a brief mid-September shakeout, late Sep–mid Oct features renewed accumulation with repeated green surges. Most recently, IIP prints around −33%, indicating dominant selling pressure into the latest two-hour bars.

Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.