OPEN-SOURCE SCRIPT

Continuation Suite v1 — 5m/15m

215
Continuation Suite v1 — 5m/15m (Non-Repainting, S/R + Trend Continuation)

What it does
Continuation Suite v1 is a practical intraday toolkit that combines non-repainting trend-continuation signals with auto-built Support/Resistance (S/R) from confirmed pivots. It’s designed for fast, liquid names on 5m charts with an optional 15m higher-timeframe (HTF) overlay. You get: stacked-EMA bias, disciplined pullback+reclaim entries, optional volume/volatility gates, a “Strong” signal tier, solid S/R lines or zones, and a compact dashboard for fast reads.



Why traders use it
• Clear bias using fast/mid/slow EMA stacking.
• Actionable entries that require a pullback, a reclaim, and (optionally) a minor break of prior extremes.
• Signal quality gates (volume vs SMA, ATR%, ADX/DI alignment, EMA spacing, slope).
• Non-repainting logic when “Confirm on Close” = ON. Intrabar previews show what’s forming, but confirmed signals only print on bar close.
• S/R that matters: confirmed-pivot lines or ATR-sized zones, optional HTF overlay, and auto de-dup to avoid clutter.



Signal construction (no magic, just rules)

Bullish continuation (base):
1. Trend: EMA fast > EMA mid > EMA slow
2. Pullback: price pulls into the stack (lowest low or close vs EMA fast/mid over a lookback)
3. Reclaim: close > EMA fast and close > open
4. Break filter (optional): current bar takes out the prior bar’s high
5. Filters: volume > SMA (if enabled) and ATR% ≤ max (if enabled)
6. Cooldown: a minimum bar gap between signals

Bearish continuation (base): mirror of the above.

Strong signals: base conditions plus ADX ≥ threshold, DI alignment (DI+>DI- for longs; DI->DI+ for shorts), minimum EMA-spacing %, and minimum fast-EMA slope.

Reference stops:
• Longs: lowest low over the pullback lookback
• Shorts: highest high over the pullback lookback

Alerts are included for: Bullish Continuation, Bearish Continuation, STRONG Bullish, STRONG Bearish.



S/R engine (current TF + optional HTF)
• Builds S/R from confirmed pivots only (left/right bars).
• Choose Lines (midlines) or Zones (ATR-sized).
• Zones merge when a new pivot lands near an existing zone’s mid (ATR-scaled epsilon).
• Touches counter tracks significance; you can require a minimum to draw.
• HTF overlay (default 15m) draws separate lines/zones with tiny TF tags on the right.
• De-dup option hides current-TF zones that sit too close to HTF zones (ATR-scaled), reducing overlap.
• Freeze on Close (optional) keeps arrays stable intrabar; snapshots show levels immediately as bars open.



Presets
• Auto: Detects QQQ-like tickers (QQQ, QLD, QID) or SoFi; else defaults to Custom.
• QQQ: Tighter ATR% and EMA settings geared to index-ETF behavior.
• SoFi: Wider ATR allowances and longer mid/slow for single-name behavior.
• Custom: Expose all key inputs to tune for your product.



Dashboard (top-right)
• Preset in use
• Bias (Bullish CONT / Bearish CONT / Neutral)
• Strong (Yes/No)
• Volatility (ATR% bucket)
• Trend (ADX bucket)
• HTF timeframe tag
• Volume (bucket or “off”)
• Signals mode (Close-Confirmed vs Intrabar)



Inputs you’ll actually adjust

Trend/Signals
• Fast/Mid/Slow EMA lengths
• Pullback lookback, Min bars between signals
• Volume filter (vol > SMA N)
• ATR% max filter (cap excessive volatility)
• Require break of prior bar’s high/low
• “Strong” gates: min EMA slope, min EMA spacing %, ADX length & threshold

Support/Resistance
• Lines vs Zones
• Pivot left/right bars
• Extend left/right (bars)
• Max pivots kept (current & HTF)
• Zone width (× ATR), Merge epsilon (× ATR), Min gap (× ATR)
• Min touches, Max zones per side near price
• De-dup current TF vs HTF (× ATR)

Repainting control
• Confirm on Close: when ON, signals/SR finalize on bar close (non-repainting)
• Freeze on Close: freeze S/R intrabar with snapshot updates
• Show previews: translucent intrabar labels for what’s forming



How to use it (straightforward)
1. Load on 5-minute chart (baseline). Keep Confirm on Close ON if you hate repainting.
2. Use Bias + Strong + S/R context. If a long prints into HTF resistance, you have information.
3. Manage risk off the reference stop (pullback extreme). If ATR% reads “Great,” widen expectations; if “Poor,” size down or pass.
4. Alerts: wire the four alert types to your workflow.



Notes and constraints
• Designed for liquid symbols. Thin books and synthetic “volume” will degrade the volume gate.
• S/R is pivot-based. On very choppy tape, touch counts help. Increase min touches or switch to Lines to declutter.
• If your chart timeframe isn’t 5m, behavior changes because lengths are in bars, not minutes. Tune lengths accordingly.



Disclaimers

This is a research tool. No signals are guaranteed. Markets change, outliers happen, slippage is real. Nothing here is financial advice—use your own judgment and risk management.



Author: DaddyScruff
License: MPL-2.0 (Mozilla Public License 2.0)

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.