INVITE-ONLY SCRIPT

Whale Trading Network Technical Indicator

39

Whale Trading Network — Technical Indicator (WTN)

What it does — signal families
WTN produces three signal types across three user‑selected timeframes: (1) Green: bottom setup candidates, (2) Gold: continuation confirmations, and (3) Red: early top warnings. It blends momentum with trend/structure context and suppresses prints during sustained downtrends or late‑stage rallies. Defaults target 4h, 1d, and 5d workflows.

Preamble — originality and invite‑only context
WTN is a controller‑driven, regime‑aware indicator that coordinates classic elements (RSI, MACD, Stochastic RSI, MAs, BBs) into a governed signal layer rather than a simple overlay. A latched Down‑Channel regime, a Top‑Zone swing gate, cross‑asset/timeframe normalization, confluence‑based dot permissions, and multi‑timeframe orchestration (gold‑only on the highest frame) work together to actively manage when signals are allowed. The sections below explain why this is not a mashup and why the closed‑source / vendor value resides in WTN’s state‑machine logic, interlock rules, normalization framework, and cross‑frame roles—presented at the concept level so traders and moderators can understand how it operates without exposing proprietary thresholds.

Why it’s not a simple mashup (originality & usefulness)
WTN is not a bundle of classic tools; it is a controller‑driven indicator with regime awareness, gating, and normalization that coordinates otherwise independent signals into a single, coherent decision layer. Instead of overlaying RSI + MACD + BB + MAs, WTN governs when those tools matter, how long their states persist, and when prints must be blocked—using rules a basic mashup does not provide.

What the controller actually governs
  • Identifies and latches regimes (e.g., sustained down‑channel) so print permissions change with context—not just oscillator ticks.
  • Applies gates (e.g., Top‑Zone) when swing positioning suggests late‑stage risk.
  • Normalizes and weights evidence so MACD, RSI, Stoch RSI, histogram behavior, and price context contribute coherently.
  • Coordinates timeframes so dots form a workflow (tactical → swing → continuation) rather than three unrelated overlays.


Regime awareness & hysteresis (stability by design)
A core source of originality is hysteresis: once WTN recognizes a down‑channel, it latches that regime and suppresses prints until persistent breakout evidence plus momentum stabilization appear. This prevents flip‑flopping during chop, “first‑bounce” head fakes, and lower‑high rallies that a simple overlay will often misclassify. The regime state is visible (tinted panel), so users know why signals are paused.

Context gates that actively refuse bad timing
Two key context gates reduce “chase‑the‑top” and “bottom‑fish” problems:
  • Down‑Channel Latch: Blocks bottom candidates while momentum/structure remain impaired, then re‑enables only after sustained improvement.
  • Top‑Zone Gate: Detects upper‑swing positioning with momentum decay and blocks prints until positioning resets, avoiding confirmations into exhaustion.


Normalization that makes confluence real
Classic indicators have incompatible scales that vary across assets and timeframes. WTN normalizes them:
  • MACD line/signal/histogram, RSI, and Stoch RSI are mapped to consistent ranges so slope tests and region checks are comparable.
  • This lets confluence be meaningful: no single tool dominates due to scale; each contributes proportionally to permissions.


Multi‑timeframe orchestration (coordinated, not duplicated)
WTN assigns roles across the three selected timeframes:
  • Shorter timeframe: Tactical green setups (higher risk), ideally validated by gold.
  • Middle timeframe: Swing validation with more selective gold.
  • Highest timeframe:Gold‑only continuation, prioritizing higher‑confidence confirmation.

On lower frames, gold requires a prior green; on the highest frame, green never prints. This structure turns dots into a sequence rather than three independent overlays.

Permission lattice & precedence (how conflicts are resolved)
Signals must pass a permission lattice where evidence sources interlock:
  • Momentum alignment: MACD slope and histogram behavior must agree; a single crossover is not enough.
  • Oscillator state: RSI/Stoch RSI must be supportive (e.g., stabilization from weak zones for a bottom candidate).
  • Structure & volatility context: MA stack, BB basis/width, and ATR‑aware checks help confirm or veto timing.
  • Regime/gate status: Down‑Channel or Top‑Zone states can override otherwise bullish micro‑signals.

Precedence rules mean a strong veto (e.g., active latch) can inhibit a print even if oscillators briefly improve.

Debounce, persistence & resumption (time matters)
WTN emphasizes persistence windows and debounce behavior:
  • Breakouts must persist (not one‑bar spikes) before the latch releases.
  • Oscillator stabilization must sustain before green candidates are permitted.
  • Continuations (gold) require maintained alignment, not transient ticks, so you avoid prints on single‑bar noise.


Failure modes addressed by the controller
  • RSI oversold during falling MACD: Basic mashups flag “bottom”; WTN keeps the latch until histogram and RSI recover together.
  • Momentum crossover inside the Top‑Zone: Overlays confirm continuation; WTN blocks until price resets out of the upper swing.
  • Event‑driven spikes (gap/volatility bursts): Transient improvements are debounced; permissions wait for sustained evidence.
  • Indicator scale drift across assets/timeframes: Normalization ensures confluence rules remain consistent when you switch symbols.


Interpretability: see the “why,” not just the “what”
WTN’s pane is structured for auditability:
  • Tinted background exposes regime state (e.g., down‑channel latch).
  • Histogram anchored at 0, RSI in the upper sub‑pane (0–100), Stoch RSI in the lower sub‑pane (−100–0) with clear overbought/oversold coloring.
  • Traders can visually trace the permission path: regime → positioning → momentum → oscillator → dot allowed/blocked.


Bottom line: WTN’s originality lives in the controller, regime latch, context gates, normalization, permission lattice, and timeframe orchestration that actively manage when a print is allowed. It is a coordinated decision system—not a simple overlay of classic indicators—and that governance is the reason it adds practical value for traders.

Why closed‑source / vendor value
WTN is powered by a proprietary engine written from the ground up in Pine v6; the source does not reuse any third‑party open‑source code. Its originality lies in the controller architecture and interlock logic that govern regime detection, context gates, normalization, and cross‑frame coordination. While it reads familiar elements (RSI, MACD, Stochastic RSI, MAs, BBs), the value comes from how those elements are orchestrated—state‑machine gating with hysteresis, context‑aware suppression and resumption, normalized confluence tests, and gold‑only continuation on the highest timeframe—yielding behavior that is not achievable by simply overlaying built‑ins.


What is original (and protected)
  • State‑machine gating: Rules define regimes, transitions, hysteresis, and re‑enable conditions across evidence sources (momentum slope, histogram decay/recovery, oscillator zones, MA/BB context).
  • Permission graph & interlocks: RSI, MACD (line/signal/histogram), Stoch RSI, price‑structure gates, and MA/BB context vote together through precedence rules—this coordination is proprietary.
  • Normalization framework: Mapping and using normalized ranges for momentum/oscillators to make confluence tests stable across assets/timeframes is a deliberate design central to WTN’s consistency.
  • Multi‑timeframe controller roles:Gold‑only behavior on the highest timeframe and the green‑precedence rule on lower frames are coordinated workflows specific to WTN.
  • Context‑aware suppression/resumption: Suppressing dots during down‑channels and top‑zones, then resuming only on verified persistence, reduces “false‑print drift” common to naive mashups.


Why protection is appropriate
  • Not reproducible through overlays: While anyone can overlay RSI, MACD, and BBs, WTN’s controller decisions (state transitions, permission checks, persistence windows, evidence requirements) are not trivially inferred from outputs and are central to its behavior.
  • Integrity of the workflow: Protection preserves a single, tested implementation so users do not encounter fragmented clones with altered rules that undermine the controller’s intent.
  • Ongoing calibration: Profiles for Crypto vs. Stocks (across three timeframes each) are curated to typical volatility traits. Maintaining these calibrations and the permission graph is part of the product’s vendor value.


What traders get (concept level, not black‑box hype)
  • Regime‑aware signals: Fewer prints into multi‑leg downtrends or late‑stage tops because the system explicitly refuses to signal in those contexts.
  • Consistent confluence: Normalization makes cross‑asset/timeframe confluence checks meaningful; users aren’t whipsawed by indicator scale differences.
  • Coherent workflow:Green → Gold on tactical frames, Gold‑only on the highest frame for continuation—an interpretable sequence that is easy to audit on the pane.
  • Transparent context: Tinted backgrounds and sub‑pane organization show why a dot was allowed or blocked (regime, swing position, oscillator state), letting traders understand how the script does what it claims—without exposing proprietary thresholds.


How it works — components & flow (concept level)

1) Normalized momentum & context
WTN reads RSI, MACD (line, signal, histogram), Stochastic RSI, ATR‑aware volatility, moving averages, Bollinger Bands, and price‑structure gates. Internals normalize oscillator values to a common pane so slopes, threshold checks, and histogram behavior are comparable across assets and timeframes. The histogram remains centered on 0, RSI uses 0–100 in the upper sub‑pane, and Stoch RSI maps to the lower sub‑pane.

Conceptual effect:
  • Normalization mitigates asset‑specific amplitude differences (e.g., MACD’s variable scale) so confluence tests don’t break when you switch symbols/timeframes.
  • Visual cues (line colors for overbought/oversold) make state changes obvious.


2) Regime detection — Down‑Channel Latch
Synchronized evidence (weak MA stack, negative momentum slope, fading histogram, RSI/Stoch RSI weak zones, price‑structure traits) latches the down‑channel regime. When latched, green prints are suppressed. The latch releases only after breakout persistence and improvements in RSI/histogram confirm trend resumption. The panel tints red while latched.

Design intent: Cut bottom‑fishing noise during multi‑leg downtrends, then resume prints only after sustained recovery.

3) Swing‑positioning — Top‑Zone Gate
A “top‑zone” derived from recent swing bounds with BB/Fibonacci context and momentum checks blocks new prints when price is in the upper swing and momentum decays, reducing confirmations into exhaustion.

4) Dot permissions (confluence gating)
WTN coordinates RSI, MACD, Stoch RSI, histogram behavior, SMA/BB context, and regime gates to determine whether a dot is allowed:
  • Green (bottom setup): Requires momentum deceleration with histogram improvement, RSI stabilizing upward, and price firming vs recent closes. Suppressed in Down‑Channel latch or Top‑Zone gate.
  • Gold (continuation): On lower two timeframes, prints only after a prior green and requires aligned momentum/oscillator states and supportive price context; on the highest timeframe, gold‑only prints emphasize higher‑confidence continuation cues.
  • Red (early top warning): Requires synchronized local peaks/roll‑downs across oscillators with slowing histogram; blocked in specific exhaustion conditions to avoid warnings into capitulation.


5) Multi‑timeframe controller
A controller aligns permissions across the three selected timeframes. Shorter frames provide tactical entries; the middle frame favors swing setups; the highest frame prints gold‑only for major continuation confirmation. Signals are coordinated, not independent overlays.

How to use it
  1. Choose timeframes: Defaults target 4h / 1d / 5d. Use the shorter frame to spot tactical green; wait for gold on the same or higher frame to confirm. Use the middle frame for swing validation. The highest frame is gold‑only, helping avoid early greens during broader trends.
  2. Watch the tint: A red background band denotes the Down‑Channel latch; expect suppressed greens until breakout persistence and momentum improvement.
  3. Read the panel: The pane shows normalized momentum (MACD, histogram) with RSI up top and Stoch RSI below, including clear overbought/oversold coloring.
  4. Confirm, then manage exposure: Treat green → gold as the preferred sequence. MA/BB context helps gauge trend strength (e.g., price vs 50/100/200 SMA and BB basis). Greens are higher‑risk; favor gold confirmations.


Crypto vs Stocks — calibrated profiles
Profiles are tuned for typical volatility patterns in each asset class. Each timeframe has its own calibration, yielding six independent tuning sections (3 per asset class).

Screenshots — captions

snapshot
Screenshot 1 — Down‑Channel latch & release
The red‑tinted band shows the Down‑Channel latch regime on the indicator pane. While latched, green prints are suppressed. The latch only releases after breakout persistence and momentum improvement are visible (MACD/histogram strengthening with RSI and Stochastic RSI stabilizing). Once released, if the Top‑Zone gate is open and price context is supportive, the controller may permit a green dot on the lower timeframes, followed by a gold confirmation when conditions remain aligned.

snapshot
Screenshot 2 — Pane layout & normalization
The indicator pane is organized for quick audit: the histogram is centered on 0; RSI plots in the upper sub‑pane on a 0–100 range; Stochastic RSI plots in the lower sub‑pane on a −100 to 0 normalized range. MACD line/signal/histogram and oscillators are normalized so slope checks, region tests, and confluence are comparable across symbols/timeframes. Line colors reflect overbought/oversold states to make regime/context changes easy to read.

snapshot
Screenshot 3 — Adaptive dot permissions (sequence example)
This sequence shows adaptive dot permissions at work. After breakout persistence from a latched down‑channel, the controller permits a gold dot on the 5‑day view to confirm continuation (the highest timeframe uses gold‑only). Soon after, the Top‑Zone gate engages, momentum slows (RSI/Stochastic RSI roll down, histogram decays), and a red dot warns of an early top. If deterioration persists, the Down‑Channel re‑latches and prints remain suppressed until the next verified recovery.


Limits & notes
  • 100% original work: The WTN engine and controller logic are programmed from the ground up. No third‑party open‑source code, educational snippets, or auto‑generated code are reused.
  • No external libraries: Built in Pine v6 using standard language features only; no external libraries or ports of community scripts are used.
  • Chart type: Designed for standard time‑based candles only; non‑standard charts (Heikin Ashi, Renko, Kagi, P&F, Range) can produce unrealistic results.
  • Data handling: No lookahead and no future offsets.


Risk disclosure & legal notice
  • This tool is provided for educational purposes only and does not constitute financial or investment advice or recommendations.
  • Trading and investing involve risk, including possible loss of principal.
  • No guarantees or warranties of performance are expressed or implied. Past results do not predict future outcomes.
  • This publication does not include solicitation, pricing, or promotional offers; it provides information on the indicator’s design and use.
  • Use at your own risk. Test settings on paper and consult a qualified investment professional familiar with your risk tolerance before any live use.


Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.