INVITE-ONLY SCRIPT
Hypothetical (Swing Explorer)

Hypothetical (Swing Explorer) V1.3
Overview
Hypothetical (Swing Explorer) V1.3 is a Pine v6 swing-study visualizer. It confirms extremes using ta.pivothigh/ta.pivotlow and an EMA context filter, then constructs a ZigZag only from verified pivots to avoid repainting. On top, it illustrates four hypothetical marks—Next, Swing, Reversal, and Forward Echo—each with an ETA derived from recent price speed and bar time. It also provides trail lines (verified or developing), an optional Zero-Lag guide from the last extreme, a status table showing hit/pending states, and optional custom candle coloring by leg.
This tool is an illustrative swing explorer.
How it works
Verified Pivots (Non-Repainting):
• Uses ta.pivothigh/ta.pivotlow with symmetric lookbacks.
• Verifies extremes with a trend check (fast vs slow EMA at the pivot bar) to avoid counter-trend “noise.”
• Marks developing vs verified extremes; ZigZag lines are drawn only from verified pivots.
ZigZag Structure & Leg Direction:
•Rolling-window tests (highest/lowest over winLen) flip the swing polarity.
• Lines are drawn using xloc.bar_time so segments remain anchored to bar timestamps.
Trails & Zero-Lag (visual guidance):
• Trail mode can be Verified (solid) or Hypothetical (dashed).
• Trail color can sync to EMA bias or recent price change, with optional gradient tint by relative ATR change.
• Zero-Lag line connects the last verified extreme to live price as a dashed guide.
Hypothetical Targets (with ETA):
• Next Swing: mirrors the last verified leg distance from the most recent extreme.
• Primary Swing: Next Swing plus a small momentum/volatility adjustment.
• Reversal: price distance ≈ average historical swing range, with time ≈ average swing bars.
• Forward Echo: a “two-swings-ahead” projection (≈ 2× avg swing range/bars).
• ETAs derive from recent price speed (EMA of |Δprice|) and bar_time deltas; all targets display Pending → Verified when price tags them.
• Each target type keeps capped line history (FIFO) to prevent clutter.
Status Table & Alerts:
• Table shows Trail Direction, Sync Mode, Gradient state, and Pending/Verified for each hypothetical mark; also prints trend bias (fast vs slow EMA).
• Visual labels update in place; confirmation draws a short solid marker line.
Optional Custom Candles:
• Colors candles by verified leg or (optionally) by developing leg for early visual context.
What it displays
• ZigZag from verified extremes (non-repainting).
• Trail line (solid = verified, dashed = developing) with EMA/price sync and optional gradient.
• Zero-Lag dashed guide from last extreme to current price.
• Hypothetical Next/Swing/Reversal/Echo lines + labels, each with ETA; persistent confirmation lines when hit.
• Status table showing Pending/Verified states and context.
• Optional custom candles colored by active leg.
Why it’s original
• Moves beyond a plain ZigZag by combining:
• Verified-only structure (EMA-filtered pivots),
• A four-stage hypothetical framework (Next/Swing/Reversal/Echo) with time estimates,
• Trail logic that supports developing vs verified states and snap-back handling,
• Zero-Lag visualization tied to the last extreme, and
• Persistent, capped history of projection lines for post-analysis.
These elements create a cohesive swing exploration workflow rather than a single indicator mashup.
Configuration & usage notes
• Trend & Averages: Fast/Slow EMA lengths affect verification.
• Pivots: pivotLookback controls confirmation latency vs strictness.
• Structure: winLen influences flip sensitivity.
• Trails: Choose Hypothetical for earlier (dashed) trail hints; Verified for conservative trails.
• Hypothetical Tools: Toggle each mark; set max lines per type to balance history vs clarity.
• Custom Candles: Enable if you want leg-based candle tints; choose developing mode for earlier flips.
• Performance: The script caps historical lines per type to keep charts responsive.
Limitations & assumptions
• ETAs use recent price speed and average swing bars; these are illustrative and can drift with regime changes.
• Hypothetical Projections are not signals; they’re visual hypotheses grounded in measured past swings.
Legal Disclaimer
This indicator is for informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves risk of loss. Provided “as is” with no warranties. Consult a qualified professional before decisions. By using it, you assume all risk and agree to this disclaimer.
Overview
Hypothetical (Swing Explorer) V1.3 is a Pine v6 swing-study visualizer. It confirms extremes using ta.pivothigh/ta.pivotlow and an EMA context filter, then constructs a ZigZag only from verified pivots to avoid repainting. On top, it illustrates four hypothetical marks—Next, Swing, Reversal, and Forward Echo—each with an ETA derived from recent price speed and bar time. It also provides trail lines (verified or developing), an optional Zero-Lag guide from the last extreme, a status table showing hit/pending states, and optional custom candle coloring by leg.
This tool is an illustrative swing explorer.
How it works
Verified Pivots (Non-Repainting):
• Uses ta.pivothigh/ta.pivotlow with symmetric lookbacks.
• Verifies extremes with a trend check (fast vs slow EMA at the pivot bar) to avoid counter-trend “noise.”
• Marks developing vs verified extremes; ZigZag lines are drawn only from verified pivots.
ZigZag Structure & Leg Direction:
•Rolling-window tests (highest/lowest over winLen) flip the swing polarity.
• Lines are drawn using xloc.bar_time so segments remain anchored to bar timestamps.
Trails & Zero-Lag (visual guidance):
• Trail mode can be Verified (solid) or Hypothetical (dashed).
• Trail color can sync to EMA bias or recent price change, with optional gradient tint by relative ATR change.
• Zero-Lag line connects the last verified extreme to live price as a dashed guide.
Hypothetical Targets (with ETA):
• Next Swing: mirrors the last verified leg distance from the most recent extreme.
• Primary Swing: Next Swing plus a small momentum/volatility adjustment.
• Reversal: price distance ≈ average historical swing range, with time ≈ average swing bars.
• Forward Echo: a “two-swings-ahead” projection (≈ 2× avg swing range/bars).
• ETAs derive from recent price speed (EMA of |Δprice|) and bar_time deltas; all targets display Pending → Verified when price tags them.
• Each target type keeps capped line history (FIFO) to prevent clutter.
Status Table & Alerts:
• Table shows Trail Direction, Sync Mode, Gradient state, and Pending/Verified for each hypothetical mark; also prints trend bias (fast vs slow EMA).
• Visual labels update in place; confirmation draws a short solid marker line.
Optional Custom Candles:
• Colors candles by verified leg or (optionally) by developing leg for early visual context.
What it displays
• ZigZag from verified extremes (non-repainting).
• Trail line (solid = verified, dashed = developing) with EMA/price sync and optional gradient.
• Zero-Lag dashed guide from last extreme to current price.
• Hypothetical Next/Swing/Reversal/Echo lines + labels, each with ETA; persistent confirmation lines when hit.
• Status table showing Pending/Verified states and context.
• Optional custom candles colored by active leg.
Why it’s original
• Moves beyond a plain ZigZag by combining:
• Verified-only structure (EMA-filtered pivots),
• A four-stage hypothetical framework (Next/Swing/Reversal/Echo) with time estimates,
• Trail logic that supports developing vs verified states and snap-back handling,
• Zero-Lag visualization tied to the last extreme, and
• Persistent, capped history of projection lines for post-analysis.
These elements create a cohesive swing exploration workflow rather than a single indicator mashup.
Configuration & usage notes
• Trend & Averages: Fast/Slow EMA lengths affect verification.
• Pivots: pivotLookback controls confirmation latency vs strictness.
• Structure: winLen influences flip sensitivity.
• Trails: Choose Hypothetical for earlier (dashed) trail hints; Verified for conservative trails.
• Hypothetical Tools: Toggle each mark; set max lines per type to balance history vs clarity.
• Custom Candles: Enable if you want leg-based candle tints; choose developing mode for earlier flips.
• Performance: The script caps historical lines per type to keep charts responsive.
Limitations & assumptions
• ETAs use recent price speed and average swing bars; these are illustrative and can drift with regime changes.
• Hypothetical Projections are not signals; they’re visual hypotheses grounded in measured past swings.
Legal Disclaimer
This indicator is for informational and educational purposes only—not investment, financial, or trading advice. Past performance does not guarantee future results; trading involves risk of loss. Provided “as is” with no warranties. Consult a qualified professional before decisions. By using it, you assume all risk and agree to this disclaimer.
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡TradingScriptSolutions。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
To access this premium indicator, purchase at https://whop.com/tradingscript-solutions-llc/premium-hypothetical-swings/ . Once you've bought access, you'll receive the invite link or code to add it to your TradingView account.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡TradingScriptSolutions。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
To access this premium indicator, purchase at https://whop.com/tradingscript-solutions-llc/premium-hypothetical-swings/ . Once you've bought access, you'll receive the invite link or code to add it to your TradingView account.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。