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
Enter when price leaves a range: channels, squeezes and opening-range breaks. 16 scripts written in Deepwick Script, a subset of Pine Script.
16 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.
Break of Structure (BOS) marks the bar where price takes out the previous swing high (bullish) or swing low (bearish) in the direction of the prevailing trend. - Bullish BOS = new high beyond the last swing high; bearish BOS = new low beyond the last swing low. - Triangles plot on break; an optional confirmClose filter requires the candle to close beyond the level. - Use BOS, not random breakouts, to align with smart-money positioning. - A BOS in the direction of the prevailing trend is a continuation signal; against the trend it is the precursor to a CHoCH. - Default swing = 5 (works well on 1m–1h); raise to 10+ on daily charts for structural breaks. - Pair with a higher-timeframe trend filter (HTF swing) for cleanest signals. - A BOS that closes strongly (full body through the level) is far more reliable than one that only touches the level with its wick. - Toggle the triangle markers off via showArrows if you want a cleaner chart.
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.
Smart Money Composite — colours each bar based on whether it broke the most recent confirmed swing high (BOS up = green) or swing low (BOS down = red). The prior swing levels are plotted so structure is visible. - BOS + retest = high-quality entry. - Two BOS in the same direction = trending day.
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.
New high / new low bar colouring — green when a bar makes a new high over the lookback, red when it makes a new low. Quickly shows which side is in control without cluttering the chart. - Useful as a momentum proxy: clusters of one colour reveal persistent trend days. - Combine with volume to spot climactic moves.
Outside bar — colours every bar whose range engulfs the previous bar's range. These are momentum / engulfing candles by definition and often mark a swing high or low. - Two consecutive outside bars in the same direction = momentum expansion. - Use the bar colour (purple) together with direction to read intent.
Inside bar marker — a diamond above every bar whose entire range sits inside the previous bar's range. Tight consolidation patterns that often precede breakouts. - Multiple consecutive inside bars = compression; breakout direction favours the prior swing. - Combine with volume to confirm the expansion leg.
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.
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.
Volume Climax flags bars where volume is more than 2× the lookback SMA AND the bar's range exceeds 1.5× ATR — climax bars often mark exhaustion. - Use the diamond marker to spot exhaustion in real time, then wait for a follow-through bar in the opposite direction to confirm. - A climax bar inside an existing range is more meaningful than one at the start of a new trend.
BB Squeeze plots Bollinger Bandwidth alongside a Keltner-equivalent width — when BBW falls inside the KC envelope, volatility is compressed. - Background highlights the squeeze. - Watch for the squeeze to release (BBW crossing back above the KC width) — that's the breakout.
Donchian Channel is the classic turtle-trader band: upper rail = highest high of the lookback, lower rail = lowest low. - Breakouts above/below the rails are the original trend entries. - A flat channel (rails pinned) = range regime; ride the rails back to the middle.
Keltner Channel uses an EMA of the typical price plus/minus an ATR envelope — smoother than Bollinger and a common trend filter. - Price above the upper rail = trend up; below the lower rail = trend down. - Channel width tracks ride regime; tight KC + BB squeeze = coiled spring.
Bollinger Bands plot a moving average plus/minus an envelope that scales with recent volatility (StdDev of the source). - Squeeze = bands pinch together → low volatility, expect a breakout. - Walk = price hugging the upper band → strong trend, lower band → strong downtrend. - Crosses of the outer band are common mean-reversion entry zones.