pine-scripts

Catalog

Every indicator and strategy in the repository with its status and how far it has been checked on real charts. Experimental.

Everything in the repository, as it stands. This is a collection of experiments, not a product range: most indicators are drafts, few have been checked on real charts, and some ideas will turn out to be wrong. Status and test depth come from the working catalog in the repository (CATALOG.md) and change as the scripts do.

Nothing here is investment advice or a recommendation to trade. Trading involves substantial risk of loss.

Market structure

Indicator What it does Status Checked on real charts
Auto Trendlines Detects trendlines through pivot points using a Directional or Combinatorial pair scan with optional OLS/Outer refinement and a composite quality score. Code settled a little
Broadening Wedge Scanner Pro Slides a fixed-size window of confirmed swings across the search depth and fits two boundary lines — an upper line from the window’s outer highs, a lower line from its outer lows — to find expanding wedges: descending broadening (both lines fall, the lower one faster — bullish bias), ascending broadening (both lines rise, the upper one faster — bearish bias), or symmetric broadening (upper rising, lower falling — a direction-neutral “megaphone”). Draft not yet
Candle Story Engine Interprets candle behaviour as a weighted multi-candle sequence instead of relying on isolated candlestick patterns. Draft not yet
CoilForge Zones v1.2 Detects price compression zones using a weighted, multi-module scoring system built from ATR compression, ADX chop filter, volume dry-up, impulse context, and historical support/resistance reuse. Code settled partly
Edge Atlas Edge Atlas is a right-edge price-level atlas. Draft barely
Elliott Wave Radar Rule-validated Elliott Wave counting on ZigZag pivots. Draft a little
Fib Reaction Memory Scores Fibonacci retracement levels of an active A→B reference leg by the confirmed local price reactions that actually occurred inside that leg — not by geometric proximity. Draft not yet
JMA Cluster Entries with Market Structure Multi-timeframe JMA cluster analysis with market structure detection. Code settled a little
Liquidity Hunter Ranks equal highs and equal lows by quality, detects sweep-and-reclaim events with a composite score, and surfaces the two most relevant levels on each side — so the chart shows only the levels that actually matter. Code settled a little
Market Motion DNA v1.0 Objective movement-character engine. Draft not yet
Market Scenario Projector Splits “what happens next” into three explicit forward scenarios instead of a single directional call. Draft barely
Market Structure Advanced Converts swing pivot classifications (HH/HL/LH/LL) into a continuous bounded score oscillator. Draft barely
Market Structure Pivot Map A Location-role structure map. Draft not yet
Market Tradability Engine Market Tradability Engine is a market-quality and no-trade filter. Draft not yet
Modern Wyckoff State Machine Lite Lightweight Wyckoff state-machine overlay for identifying accumulation, distribution, markup and markdown context. Draft not yet
MTF Structure Bias Classifies market structure across four timeframes using pure price geometry — no oscillators, no momentum indicators. Draft barely
Reversal Type Classifier Ex-post diagnostic indicator that classifies every confirmed pivot reversal into one of four outcome types. Code settled partly
S/R Zones MTF v2 Multi-timeframe support/resistance zones built from ATR-reversal structure swings. Code settled a little
SMC Structure & Expectation Four-layer Smart Money Concepts indicator. Code settled a little
Structural Wave Field A chart-native market-structure visualization. Draft not yet
Structure Break Risk An indicator that answers one question: how close is the prevailing trend’s structure to breaking — and against which level? Draft not yet
Support & Resistance Zones A detector-driven support/resistance zone engine. Draft not yet
Swing Conviction Radar Scores each price swing (pivot-to-pivot leg) by three conviction factors: how fast the move was (speed), how consistently bars moved in the leg’s direction (cleanliness), and whether volume was increasing toward the end of the leg (volume gradient). Draft barely
Trading Range State Machine Trading Range State Machine detects an active trading range and tracks its maturity through a state machine, from first formation to breakout. Draft not yet
Triangle Compression Scanner Pro Slides a fixed-size window of confirmed swings across the search depth and fits two boundary lines — an upper line from the window’s outer highs, a lower line from its outer lows — to find compressing triangles: symmetric, ascending, or descending. Draft not yet
Tweezer & Kangaroo Zones Detects two specific reversal candlestick patterns — tweezer tops/bottoms and kangaroo tails (pin bars) — and converts them into scored supply and demand zones that persist and decay over time. Code settled a little
Wolfe Wave Scanner Pro Searches a depth window of confirmed swings for every distinct, non-overlapping 5-point Wolfe Wave wedge — a contracting, alternating channel where point 5 tests the 1-3 trendline — not just the single highest-scoring one. Draft barely
Wyckoff Schematics Volume/spread-based Wyckoff schematic detector. In progress partly
ZigZag Core A configurable ZigZag foundation for structural chart analysis. Draft barely
ZigZag Fibo Pullback Map Confirmed ZigZag pivots with pullback-to-fibo labeling and a live fib fan on the current unfinished leg. Code settled partly
ZigZag Patterns ZigZag pivot engine with pattern detection on confirmed pivots: simple ABC corrections, triangle formations (symmetrical / rising / falling), a basic Wolfe wave heuristic, and a 1-2-3 reversal (Sperandeo) detector, plus smart pivot labels combining structure tags with confirmation signals. Code settled a little

Trend direction

Indicator What it does Status Checked on real charts
Adaptive Arithmetic Candles + Quality Score Renders an adaptive, efficiency-smoothed candle overlay in place of raw price action, paired with a 0-100 Trend Quality Score that grades how trustworthy the current candle’s direction is. Draft not yet
Chandelier Flip Radar ATR-based trailing stop with a directional, multi-level trend state. Code settled partly
MA Cascade Engine Moving averages are treated as a layered system rather than an isolated crossover signal. Draft not yet
MA Regime Bands Regime overlay that classifies the market as Bull, Bear, or Neutral using the alignment of three configurable moving averages, gated by an ATR-normalized trend-strength filter. Code settled a little
Market–Average Relationship Engine Evaluates the relationship between price and one consistently selected moving-average family — the MA is treated as a market reference, not as a standalone crossover signal. Draft not yet
Modern Trend Regime Simplified trend/range regime system without Ichimoku terminology. Draft not yet
Smooth Trend Radar Double-smoothed Supertrend baseline for trend direction, with pivot-based rejection signals at the baseline, statistical overextension highlighting, and automatic SL/TP level visualization on each trend flip. Code settled partly
Vein Reversal System — Visual Guide The system consists of 6 indicators that work together on a NatGas chart. Code settled mostly
Vein: Reversal Zones ¹ S/R zones derived from forward-validated reversal bars, combined with a live multi-trigger signal engine. Code settled partly

Trend strength & regime

Indicator What it does Status Checked on real charts
Adaptive Cycle Detector Estimates the dominant market cycle by measuring the average period between WaveTrend zero-crossings over a configurable lookback window. Draft barely
ADX Advanced ADX/DI system with pluggable smoothing on the ADX line, rich visualization of DI± divergence, and a 4-state histogram for trend strength clarity. Draft barely
Bayesian Trend Factor Bayesian Trend Factor is a Bayesian-inspired probabilistic trend-quality filter that maps the current directional thesis to a signed -100..+100 score and a separate 0..100 confidence reading. Draft not yet
Market Memory & Decay Oscillator A signed oscillator that scores how much “memory” the current price impulse carries versus how fast that memory is decaying back toward random-walk noise. Draft not yet
Market State Engine A context engine for medium- to long-term discretionary trading. Draft not yet
Markov State Engine Markov State Engine classifies every bar into one of six market states and then treats those states as a first-order Markov chain. Draft not yet
Predictability Regime Index Classifies whether the current market rewards momentum/trend-following or mean-reversion, by fusing four statistical predictability sensors — Variance Ratio, return autocorrelation, a Hurst exponent approximation, and a fractal efficiency ratio — onto one signed −100..+100 axis. Draft not yet
Regime Classifier Stage-1 regime filter for the reversal pipeline. Draft not yet
Regime Detector (MA Zones Overlay) MA-zone based trend regime overlay with an adaptive core engine, higher-timeframe gate, tiered signal quality, and an optional SSA (Smart Signals Assistant) layer with trade management. Code settled a little
Regime Transition Engine Regime Transition Engine classifies the current market into one of seven regime states — Noise, Compression, Expansion, Trend Up, Trend Down, Exhaustion, Reversion — and derives a directional transition-pressure oscillator that reads how close the market is to flipping into the next expected state. Draft not yet
Trend Persistence Score ¹ A single-role trend-strength oscillator that grades how persistent, clean and durable the current trend is on one continuous 0–100 axis. Draft not yet

Momentum

Indicator What it does Status Checked on real charts
CCI Advanced CCI with pluggable smoothing, three scale modes, and rich visualization. Draft barely
Elder Ray Pressure Engine A research framework built on Alexander Elder’s Bull Power / Bear Power concept — maximum buyer/seller excursion against a consensus-of-value line. Draft not yet
Exhaustion Scanner Role-separated overextension / reversal-risk context. Draft barely
Fisher Transform Advanced Fisher Transform Advanced ports the CCI Advanced context view onto a zero-centered Fisher Transform core. Draft not yet
Market Exhaustion MFI + StochRSI fusion in a single exhaustion panel. Code settled a little
Market Pressure Scale ¹ Two-component oscillator that separates Setup Pressure (market coiling for a move) from Impulse Pressure (active directional momentum). Code settled partly
Momentum Profile Analog to a volume-profile or money-flow delta profile, but for momentum: maps average WaveTrend and MFI values per price zone over a configurable lookback window to identify dominant-momentum levels (zones where strong, oscillator-backed moves occurred) versus mixed or fragile levels (zones where buyers and sellers were roughly balanced and price is likely to be revisited). Draft barely
Momentum Trajectory Treats WaveTrend, StochRSI, and MFI as movement vectors and decomposes each into direction, velocity (1st derivative), and acceleration (2nd derivative). Draft barely
MSO — Market Stress Oscillator Bi-directional Williams VIX Fix stress oscillator. Code settled a little
MTF StochRSI Pair Score Multi-timeframe StochRSI confluence scorer. Draft barely
MTF WaveTrend Opportunity Hunter MTF confluence pane around WaveTrend. Draft barely
Oscillator Divergence Zones Detects regular and hidden divergences by comparing consecutive price pivots with the corresponding oscillator values. Code settled partly
Oscillator Topology Analyzes the shape of WaveTrend movements rather than their magnitude or direction. Draft barely
Pivot Momentum Structure ¹ Structure-oriented oscillator that uses confirmed price pivots as the authoritative anchor for both price and oscillator structure. In progress partly
Reversal Engine Score v1 Score-based liquidity sweep reversal detector with HTF trend confluence. In progress partly
ROC Advanced ROC Advanced ports the CCI Advanced context view onto a classic percentage Rate of Change core. Draft not yet
RSI Advanced RSI Advanced ports the CCI Advanced context view onto a bounded RSI core. Draft not yet
Stoch RSI Advanced Stoch RSI Advanced ports the CCI Advanced context view onto a bounded Stoch RSI K/D core. Draft not yet
TSI Advanced TSI Advanced ports the CCI Advanced context view onto a True Strength Index core. Draft not yet
WaveTrend WaveTrend momentum oscillator with configurable cross signals, divergence detection, and an optional price-chart overlay. Code settled thoroughly
WaveTrend Advanced Smoothing WaveTrend oscillator with a pluggable smoothing kernel and a rich visualization layer. Draft barely
Williams %R Advanced Williams %R Advanced ports the CCI Advanced context view onto a Williams %R core. Draft not yet

Mean reversion

Indicator What it does Status Checked on real charts
Anchored VWAP Volume-weighted average price anchored to a selectable origin, with volume-weighted standard-deviation bands. Draft not yet
MIDAS 2.0 An anchored MIDAS support/resistance curve (Paul Levine’s launch-anchored volume-weighted price) with a true topfinder / bottomfinder accelerated curve — an accelerated exhaustion estimate, not a forecast. Draft not yet
Oscillator Cycle Statistics Oscillator Cycle Statistics is a statistics engine, not a trading signal. Draft not yet
VWAP Cross Visuals VWAP cross detection at its core, with optional advanced layers. Code settled a little

Money flow & volume

Indicator What it does Status Checked on real charts
Candle Pressure Index Measures buying vs. Draft barely
Commodity FlowTrend MFI + CCI composite oscillator designed for commodity markets. Draft barely
CVD Bias Estimates a price-weighted volume balance over a rolling window. Draft barely
Klinger Volume Force Map Volume-force analysis based on Stephen J. Draft not yet
MFI Advanced MFI Advanced ports the CCI Advanced context view onto a Money Flow Index core. Draft not yet
Money Flow Delta Profile ¹ A directional volume/money flow profile. In progress partly
Volume Strata Fixed-range volume profile anchored to the right edge of the lookback window, showing where volume actually traded across price levels — split by up and down volume, with the value area, Point of Control, high/low-volume node markers, and an expanded context table. Code settled partly

Volatility

Indicator What it does Status Checked on real charts
ATR Advanced ATR in four display modes with pluggable smoothing and gradient visualization. Draft barely
Compression Fractal Release Compression Fractal Release (CFR) detects a compressed, corrective coil inside a higher-timeframe trend and trades the moment that coil resolves into a clean directional break — the release. Draft not yet
Time-to-React + Volatility-Time Measures how quickly and cleanly price reacts after key market structure events — Break of Structure (BOS), liquidity sweeps, and Order Block taps — and scores that reaction relative to the current volatility environment. Code settled a little
Williams VIX Fix Advanced Synthetic fear gauge (Williams VIX Fix) with dual-direction signals, StdDev and percentile spike bands, stall/absorption context, slow-WVF trend context, divergence wedge, and gradient coloring on a 0–100 bounded panel. Draft not yet

Relative strength

Indicator What it does Status Checked on real charts
Relative Leg Efficiency Scores each price leg — from pivot to pivot — on how efficiently price moved: how direct the path was, how fast, and how much counter-pressure it absorbed along the way. Code settled a little
Relative Strength Line Measures how the chart symbol performs relative to a benchmark (SPY, QQQ, or any symbol) rather than in absolute terms — the dimension institutions actually trade: they buy what is stronger than the market. Draft barely

Composite

Indicator What it does Status Checked on real charts
Commodity Heat Reversal v1.4.3 Score-based mean-reversion reversal and pullback-continuation signal indicator for commodity futures (designed for 4H). Code settled partly
Commodity Pulse Matrix v3 ¹ Commodity Pulse Matrix v3 is a comprehensive multi-timeframe confluence indicator designed for commodity trading. Code settled thoroughly
Futures Context Module Daily-only context module that surfaces the futures information a CFD or spot chart cannot provide on its own: Open Interest, ΔOI read against the front contract’s own price change, and the front/next term structure (Contango/Backwardation, curve trend). Draft not yet
Signal Quality Engine A range-fade signal engine for commodities, futures, stocks and indices. Draft not yet
Trade Permission Engine The successor to directional_probability_engine (archived, see archive/indicators/directional_probability_engine/). Draft not yet

¹ Also published on TradingView.

Strategies

Strategy wrappers for TradingView’s Strategy Tester. A backtest describes the past on one symbol and one timeframe; it is no forecast. See Strategies.

Strategy Based on Status
chandelier_flip_radar_strategy.pine Chandelier Flip Radar Promising
market_average_relationship_engine_strategy.pine Market–Average Relationship Engine Not ready — not yet backtested
oscillator_divergence_zones_strategy.pine Oscillator Divergence Zones Promising
smooth_trend_radar_strategy.pine Smooth Trend Radar Promising (Long Only)
wavetrend_v4_strategy.pine WaveTrend v4 Promising
reversal_engine_score_strategy.pine Reversal Engine Score Not ready
commodity_pulse_matrix_v4_strategy.pine Commodity Pulse Matrix v4 Not ready — not yet backtested

Edit this page on GitHub