top of page

Pine Script Library

Public·1 member

Kalman RSI



Two different Kalman filters driving one 0-100 oscillator — and the measurement

instrument that was used to judge them, running live on your chart. Pick the

alpha-beta velocity engine or the recursive-regression engine, and the same

bands, signals and scoring run on whichever you choose.


Density-based spatial clustering of applications with noise (DBSCAN) MicroClusters



DBSCAN MicroClusters [MarketFragments]


Real-time (online) DBSCAN clustering on bar-range microstructure. The engine

finds dense "micro-clusters" of bars whose range/volatility behavior is

statistically similar -- structure that often accompanies hidden liquidity,


5 Views

Smoothed On-Balance Volume (OBV) — Volume Drop


On-Balance Volume is the oldest volume-trend tool there is, but a raw cumulative line is noisy and hard to read against price. This drop wraps Granville's classic OBV in an EMA signal line and an optional smoothing pass so you get a clean, color-coded trigger instead of a jagged tally.


## What it does

- Builds the cumulative Granville OBV: adds full bar volume on up-closes, subtracts it on down-closes, holds flat on unchanged closes

- Plots an EMA signal line (default 20) over the OBV for a tradeable cross trigger

- Color-codes the OBV line green/red by its position relative to the signal


9 Views

Choppiness Index — Volatility Drop


The Choppiness Index tells you *when* the market is trending versus chopping sideways — not which direction. Use it as a regime filter to switch between trend-following and mean-reversion tactics.


## What it does

- Measures how directional price has been over a lookback window using the ratio of summed True Range to the total high-low range.

- Scales the result to a clean 0–100 oscillator via a log normalization.

- High readings (≥ 61.8) flag choppy, range-bound conditions; low readings (≤ 38.2) flag strong trends.


11 Views
Brain with financial data analysis.

Inquiries at :

Important Risk Notice: Trading involves substantial risk of loss. This is educational content only—not advice. Full details here  ------------>  

Proceed only if you're prepared.

tel#: (843) 321-8514

bottom of page