Smart Range Levels
Highlights the active trading range from confirmed swing highs and lows and colours bars when price breaks out of it. Code is protected; inputs, alerts and backtests all work as usual.
Product
ProductCharts, drawings, layouts and alerts in one workspace.BacktestingBar-by-bar tests that can't see the future.Deepwick ScriptRuns a subset of Pine Script.MarketsWhat you can chart today, and what comes next.Get started freeFree account with an email link. No password.Community
Community scriptsIndicators and strategies other traders published.ExploreIdeas, scripts and backtests people share.Find tradersProfiles of the traders behind the scripts.Resources
BlogGuides on charting and backtesting.Script referenceEvery function the script engine supports.FAQPlans, data, privacy and how things work.DevelopersREST API, webhooks and tokens.SupportAsk a question or report a problem.StatusLive health of the data feeds and the app.Community
Bands and ranges that widen and narrow as the market gets busier or calmer. 45 scripts written in Deepwick Script, a subset of Pine Script.
45 public scripts
Highlights the active trading range from confirmed swing highs and lows and colours bars when price breaks out of it. Code is protected; inputs, alerts and backtests all work as usual.
When Bollinger Bands move inside the Keltner Channel, volatility is compressed — a squeeze. The histogram shows which way momentum is building; grey background marks the squeeze. A common read: wait for the squeeze to release and trade in the direction of the histogram.
Classic Supertrend (ATR bands that flip with the trend) with the flip points marked and alerts on both sides. - Green line under price = uptrend, red above = downtrend. - Raise the factor for fewer, longer trends; lower it for faster flips. - Works on any market; try 4h on majors and gold.
Trend Quality Index (TQI) — |close − SMA| divided by the standard deviation of close. Higher = price is far from its own mean (trending / stretched); lower = price is hugging the mean (ranging). - Use 1.5 as the 'overextended' stall to fade; 0.5 as the 'ranging' stall to breakout-trade.
Volatility Squeeze Pro — Bollinger Bands inside Keltner Channel = squeeze (grey background). Histogram shows momentum direction; release of a squeeze in the direction of momentum = high-probability breakout. - Same logic as TTM Squeeze with cleaner histogram colouring.
Williams VIX Fix (WVF) — measures how far today's low is from the highest high over the lookback as a percentage. WVF 30 = potential bottom (analogous to the VIX spiking above 30). - Spike + low reading on RSI = high-probability reversal zone.
ATR Volatility Ratio — short ATR divided by long ATR. Above 1 = volatility expanding; below 1 = volatility contracting. Crosses of 1 mark regime shifts in the noise. - Below 0.7 for many bars = coiled spring; size up on the breakout.
Market Meanness Index (MMI) — ratio of the standard deviation of the price-vs-SMA distance to its mean absolute deviation. High MMI = trending (heavy tails), low MMI = mean-reverting (Gaussian). - Use with a regime filter to switch between trend-following and mean-reversion strategies.
Adaptive ATR — the ATR lookback adapts via the Efficiency Ratio. ATR tightens when price is moving and widens in chop, giving a volatility measure that matches the actual swing size. - Use as a dynamic stop multiplier (e.g. 2 × adaptive ATR).
Adaptive Bollinger Bands — the SMA length adapts via the Efficiency Ratio. Bands squeeze tighter in trends (catch the breakout) and widen in chop (avoid false breakouts). - Mean-reversion trade at the opposite band; trend trade on a close outside.
Recent high/low channel — the highest high and lowest low over a rolling window. Acts as a quick range filter for breakouts and mean-reversion. - A short lookback (5–10) catches local extremes; a long one (50+) gives a structural channel.
Waddah Attar Explosion combines MACD direction with Bollinger Band Width: green/red columns show MACD building in each direction, the orange line tracks volatility expansion. - Trade only when columns appear together with a rising orange line (real explosion). - Columns without expansion = low-conviction drift, skip. - Histogram colours flip with trend strength.
Two stacked Supertrends with different factors and lookbacks — the fast one for entries, the slow one for the regime filter. - Only trade in the direction of the slow Supertrend. - Fast Supertrend flips inside the slow Supertrend = high-probability pullback entries. - Four lines on the chart: fast up/down (green/red) and slow up/down (teal/orange).
Trend Intensity is the ratio of net move over len bars to the sum of all bar moves, expressed as a percentage. High values = clean directional trend; low values = noisy chops. - Reads above ~33 = trending, below ~15 = messy. - Use as a filter for breakout entries — only take them when intensity is rising.
Choppiness Index measures how trendless the market is on a 0-100 scale. Below 38.2 = directional; above 61.8 = choppy / ranging. - Use as a filter: trend systems work below 38.2, range systems work above 61.8. - Climbs back into the chop zone after a trend = take profits or tighten stops.
TTM Squeeze highlights when Bollinger Bands squeeze inside Keltner Channels (vol compression — grey background). The histogram then shows which way momentum is releasing. - Squeeze fires while bands are inside channels; trade the histogram direction once it releases. - Positive green bars = bullish momentum building, red = bearish. - Combine with a higher-timeframe trend filter for cleanest signals.
Classic Supertrend: ATR-based bands that flip direction with the trend — green line under price in an uptrend, red above in a downtrend. - Flip points are marked with triangles and alert on both sides. - Raise the factor for fewer, longer trends; lower it for faster flips. - Works on any market; a 3.0x factor on the daily is the standard starting point.
Welles Wilder Volatility is the classic Wilder ATR divided by price — Wilder's preferred way to express volatility as a percentage. - Symmetric and bounded enough to compare across instruments. - Originally shipped with the 1978 Wilder book on commodities; predates NATR by a decade.
Relative Volatility is today's ATR divided by its own 4× longer moving average — a self-referencing 'vol vs its own baseline' oscillator. - Above 1.0 = current ATR is bigger than the longer baseline (expansion). - Below 1.0 = current ATR is smaller than the longer baseline (compression).
Bollinger Squeeze Histogram is a momentum proxy = close − SMA(close,20) with the BB-inside-KC squeeze flagged as a grey background. - Positive histogram bars = bullish momentum building. - Negative histogram bars = bearish momentum building. - Grey background = squeeze is on, prepare for release.
Volatility Stop is a self-correcting ATR trail: the stop ratchets in the direction of the trend and resets when the trend flips. - Acts as a regime marker — the line flipping below price = trend up, flipping above = trend down. - Tighter than Chandelier because it uses the ratchet rather than the raw rolling high.
Annualized Range expresses the recent high-low excursion as a percent of price and scales it to a yearly equivalent — a 'how much did it actually move' vol estimator. - Useful when close-to-close vol masks big intraday ranges (crypto / FX). - Compare to Historical Volatility to see how much of the move came from gaps vs intraday range.
Beta here is the ratio of the bar-to-bar price change covariance to the rolling price variance — a single-instrument serial sensitivity number. - Beta 1 = today's move amplified the prior bar (momentum continuation). - Beta < 1 = today's move dampened the prior bar (mean-reversion tendency). - Use alongside a market benchmark input for true market beta.
Fractal Chaos Bands mark the recent swing high/low midpoint and offset two thin ATR rails — designed for visualising the 'fair value' zone during choppy ranges. - A narrow pair of rails = tight range; price meanders between them. - A wide pair of rails = directional expansion; trail a stop on the inner side.