Alpha-Vector Unconstrained [GG_DOGE]
Alpha-Vector: Variance-Weighted Trend Capture Protocol
Authored by: GG_DOGE
Executive Summary
This algorithm represents the culmination of an exhaustive quantitative regression analysis, designed to exploit fat-tail distribution events in the SOL/USD cryptographic pair. By leveraging recursive historical data modeling on the 8-Hour timeframe, the strategy identifies high-probability momentum asymmetry—specifically isolating periods where directional volatility aligns with institutional order flow.
Unlike static heuristic models, this protocol utilizes a Dynamic Variance-Weighted Allocation Engine. This ensures that capital exposure is inversely correlated to market noise (entropy) while maximizing geometric compounding during high-conviction momentum phases. It essentially acts as a volatility filter, capitalizing on the statistical skew of the asset's return profile while enforcing rigorous drawdown mitigation via adaptive liquidity exits.
Key Algorithmic Features
Asymmetric Risk Architecture: The strategy deploys decoupled risk profiles for Long and Short vectors. Through backtest optimization, we have mathematically determined that bullish drift requires aggressive variance targeting, while bearish mean-reversion requires strictly constrained capital exposure to mitigate "short-squeeze" tail risks.
Volatility-Adjusted Position Sizing: Trade depth is not static. The algorithm calculates the instantaneous Average True Range (ATR) to normalize position size based on current market turbulence. This maintains a constant Risk-of-Ruin probability, regardless of price velocity.
Quantitatively Optimized Trend Filter: The entry signal is governed by a proprietary lookback period derived from computational brute-forcing of historical pivot points, designed to filter out Gaussian noise and only execute during significant structural market shifts.
Operational Guide (Strict Adherence Required)
This script comes pre-loaded with the statistically optimal parameters for the analyzed asset. No manual calibration is required.
Deployment Target:
Asset: CRYPTO:SOLUSD (Solana / US Dollar)
Timeframe: 8h (8-Hour Candle)
Exchange: Any major liquidity venue (Binance, Coinbase, Kraken, etc.)
Configuration:
Strategy Mode: Select "Long & Short" for the fully optimized protocol (captures upside momentum and hedges downside crashes).
Risk Parameters: The default values are mathematically tuned for maximum geometric growth (Highest PnL). Do not alter these unless you wish to artificially suppress the algorithm's volatility targeting.
Execution:
Capital Allocation: The logic is designed for compounding growth. It will automatically calculate the maximum lot size allowed based on your account equity, ensuring 100% capital efficiency without crossing into margin-call territory
Oscillatori
Smart Divergence Engine [ChartNation]SMART DIVERGENCE ENGINE — REPAINTING-PROOF RSI DIVERGENCE WITH EXHAUSTION CONFIRMATION
═══════════════════════════════════════════
Smart Divergence Engine solves three critical problems that plague free RSI divergence indicators:
PROBLEM 1: REPAINTING DIVERGENCES
Most divergence scripts detect divergence in real-time as bars form. This causes signals to appear, disappear, and reappear unpredictably—making them unusable for alerts or systematic trading.
OUR SOLUTION: Pivot-Locked Detection
Smart Divergence Engine evaluates RSI at the exact bar where price structure confirms (rsi ), not at the current bar. Once a divergence prints, it NEVER disappears. This is implemented via:
Full swing confirmation (Pivot Left + Pivot Right bars must complete)
RSI evaluation at historical bar: rsi , not rsi
Divergence triggers AFTER structure lock, not during formation
Technical implementation: The script stores RSI values at confirmed pivot bars using var floats (lowRsiPrev, lowRsiCurr, highRsiPrev, highRsiCurr), then compares these locked values when new pivots confirm. This prevents any possibility of historical repaint.
PROBLEM 2: FALSE POSITIVE OVERLOAD
Divergence scripts trigger on ANY price-RSI mismatch, flooding charts with weak signals during choppy conditions. No filtering means traders must manually screen out noise.
OUR SOLUTION: Shark Fin Exhaustion Filter
Before any divergence can be considered actionable, Smart Divergence Engine requires RSI to demonstrate genuine momentum exhaustion through our proprietary "Shark Fin" detection:
Shark Fin Logic (Not Found in Free Scripts):
RSI must pierce the outer volatility band by a configurable buffer (default 1.5 RSI points)
RSI must re-enter the band with directional confirmation (positive slope for bullish, negative slope for bearish)
Band width must exceed minimum standard deviation threshold (volatility qualification)
Cooldown period enforced (default 25 bars) to prevent signal clustering
This multi-condition filter dramatically reduces false divergences by requiring RSI to physically demonstrate exhaustion BEFORE structure confirmation matters.
Technical implementation: The Shark Fin state machine uses boolean flags (bullFinForming, bearFinForming) to track when RSI is stretched beyond bands, then validates re-entry using ta.crossover(rsi, lower) / ta.crossunder(rsi, upper) with slope checks (ta.change(rsi) > 0 / < 0) and volatility gates (dev >= finMinDev).
PROBLEM 3: NO VOLATILITY CONTEXT
Divergence scripts use fixed RSI levels (30/70 or similar) that fail to adapt to changing market conditions. What's "overbought" in a low-volatility regime differs drastically from high-volatility conditions.
OUR SOLUTION: Adaptive Volatility Bands
Smart Divergence Engine calculates dynamic overbought/oversold zones using:
34-period SMA of RSI as basis
1.618 standard deviation multiplier (golden ratio expansion)
Real-time band expansion/contraction based on RSI volatility
The bands provide three advantages:
Shark Fin events only qualify when RSI breaches ADAPTIVE thresholds, not arbitrary fixed levels
Band width (standard deviation) serves as volatility filter—narrow bands = low conviction moves get rejected
50-line midline provides regime context (above 50 = bullish bias, below 50 = bearish bias)
Technical implementation: basis = ta.sma(rsi, 34), dev = ta.stdev(rsi, 34), upper/lower = basis ± dev * 1.618. Shark Fin logic requires rsi < (lower - finBuffer) or rsi > (upper + finBuffer) to trigger, ensuring exhaustion is measured relative to CURRENT volatility, not historical constants.
═══════════════════════════════════════════
METHODOLOGY COMPARISON VS FREE ALTERNATIVES
═══════════════════════════════════════════
STANDARD DIVERGENCE SCRIPTS:
Detection timing: Real-time (current bar)
Historical stability: Repaints continuously
Signal filtering: None or minimal
Volatility adaptation: Fixed levels (30/70)
Exhaustion confirmation: Not implemented
Confirmation layers: 1 (divergence only)
Alert reliability: Unreliable (signals disappear)
SMART DIVERGENCE ENGINE:
Detection timing: Pivot-confirmed (rsi )
Historical stability: Locked at structure bar
Signal filtering: Shark Fin + cooldown + stdev gate
Volatility adaptation: Dynamic bands (34-SMA + 1.618σ)
Exhaustion confirmation: Required via Shark Fin
Confirmation layers: 3 (structure + exhaustion + volatility)
Alert reliability: Stable (never repaints)
═══════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════
RSI ENGINE:
Base calculation: ta.rsi(src, 14)
Smoothing: ta.rma(rsiRaw, 2) — reduces whipsaw noise
Source: Configurable (default close)
VOLATILITY BANDS:
Basis: 34-period SMA of RSI
Multiplier: 1.618 (golden ratio)
Upper band: basis + (stdev * 1.618)
Lower band: basis - (stdev * 1.618)
Purpose: Creates adaptive overbought/oversold zones
DIVERGENCE DETECTION:
Pivot confirmation: 10 left bars + 10 right bars (default)
RSI evaluation: Locked at rsi (historical bar, never current)
Bullish divergence: price lower low + RSI higher low
Bearish divergence: price higher high + RSI lower high
Rendering: Lines drawn between last two confirmed pivots with labels
SHARK FIN EXHAUSTION FILTER:
Depth buffer: 1.5 RSI points (penetration threshold beyond band)
Min band stdev: 1.0 (volatility qualification)
Cooldown: 25 bars minimum between Shark Fin confirmations
Slope validation: Requires ta.change(rsi) > 0 (bullish) or < 0 (bearish)
State tracking: Boolean flags prevent premature confirmations
VISUAL CUSTOMIZATION:
Beauty Mode: Six-layer gradient fill anchored at 50-line
• Purple regime (above 50) with configurable opacity
• Green regime (below 50) with configurable opacity
• Gradient layers: 33%, 66%, 100% intensity
Divergence lines: Glow effect (6px) + core line (3px), both configurable
Shark Fin rendering: 20% fill between RSI and violated band (ephemeral)
Labels: Compact "Bull"/"Bear" markers with dot indicators
═══════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════
Four distinct alert conditions (configure once, fires on all intervals):
"RSI Shark Fin — Bullish"
Triggers when: RSI re-enters lower band from below with slope + stdev + cooldown confirmation
Use case: Momentum exhaustion at oversold extreme
Reliability: No repaint (confirmation locked at re-entry bar)
"RSI Shark Fin — Bearish"
Triggers when: RSI re-enters upper band from above with slope + stdev + cooldown confirmation
Use case: Momentum exhaustion at overbought extreme
Reliability: No repaint (confirmation locked at re-entry bar)
"Bullish Divergence (Panel)"
Triggers when: Pivot-confirmed bullish divergence completes (price LL + RSI HL)
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Reliability: Never repaints (divergence locked at rsi )
"Bearish Divergence (Panel)"
Triggers when: Pivot-confirmed bearish divergence completes (price HH + RSI LH)
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Reliability: Never repaints (divergence locked at rsi )
═══════════════════════════════════════════
TRADING IMPLEMENTATION
═══════════════════════════════════════════
CONFLUENCE FRAMEWORK:
Highest-probability setups occur when three conditions align:
Bullish Setup:
Shark Fin confirms below lower band (exhaustion)
Bullish divergence prints at pivot (structure)
RSI reclaims 50 line (regime shift to bullish)
→ Entry consideration at next price structure (support, swing low)
Bearish Setup:
Shark Fin confirms above upper band (exhaustion)
Bearish divergence prints at pivot (structure)
RSI loses 50 line (regime shift to bearish)
→ Entry consideration at next price structure (resistance, swing high)
TREND CONTEXT:
Strong uptrends: Prioritize bullish divergence + lower band Shark Fins (buy dips)
Strong downtrends: Prioritize bearish divergence + upper band Shark Fins (sell rallies)
Range-bound markets: Use 50-line crossovers as additional confirmation filter
RISK MANAGEMENT:
Smart Divergence Engine provides CONTEXT, not entries:
Wait for price confirmation (engulfing candle, rejection wick, structure break)
Place stops below/above pivot structure that triggered divergence
Size positions based on distance to invalidation level
Divergence + Shark Fin = elevated probability, not certainty
═══════════════════════════════════════════
CONFIGURATION PARAMETERS
═══════════════════════════════════════════
RSI SETTINGS:
RSI Length: 14 (default, standard momentum window)
Price Source: close (configurable to any price source)
Note: 2-period RMA smoothing is hardcoded (reduces noise)
VOLATILITY BAND SETTINGS:
Band Length: 34 (SMA period for RSI basis)
Band Multiplier: 1.618 (golden ratio, adjustable)
Show Bands: Toggle visibility (true/false)
DIVERGENCE SETTINGS:
Pivot Left: 10 bars (left-side swing confirmation)
Pivot Right: 10 bars (right-side swing confirmation)
Overbought Level: 68 (reference line, does not affect logic)
Oversold Level: 32 (reference line, does not affect logic)
SHARK FIN SETTINGS:
Fin Depth Buffer: 1.5 RSI points (penetration threshold)
Min Band Stdev: 1.0 (volatility qualification gate)
Min Bars Between Fins: 25 (cooldown period)
VISUAL SETTINGS (Beauty Mode):
Enable Beauty Mode: true/false (gradient rendering)
Divergence Glow: true/false (glow effect on lines)
Glow Width: 3-10 px (glow layer thickness)
Main Line Width: 1-6 px (divergence core line)
Top Color: Purple (configurable, above-50 regime)
Bottom Color: Green (configurable, below-50 regime)
Top Opacity: 0-100% (gradient base transparency)
Bottom Opacity: 0-100% (gradient base transparency)
═══════════════════════════════════════════
PERFORMANCE & LIMITATIONS
═══════════════════════════════════════════
RESOURCE ALLOCATION:
max_lines_count: 500 (divergence + Shark Fin lines)
max_labels_count: 500 (divergence markers)
max_bars_back: 500 (historical pivot lookback)
Suitable for most timeframes; reduce limits if performance degrades on low-end devices
SIGNAL TIMING:
Divergences print AFTER Pivot Right bars complete. This is intentional:
Delayed signals are more reliable than real-time signals
Structure confirmation requires waiting for swing completion
Users demanding instant signals should use free real-time divergence indicators
Users demanding reliable signals that never disappear should use this
PANEL VS OVERLAY:
This is the panel version (overlay=false):
Renders in separate pane below price chart
RSI, bands, divergence lines, and Shark Fin fills appear in this pane
For price-chart annotations, use the companion overlay version (same logic, different rendering)
═══════════════════════════════════════════
This script implements proprietary methodology not available in regular community scripts:
REPAINTING-PROOF ARCHITECTURE
The pivot-locked detection system (rsi evaluation) is a non-trivial implementation that requires:
State management across bars using var variables
Historical RSI value storage at pivot confirmation
Divergence comparison between stored values (not current bar)
This architecture eliminates the #1 complaint with free divergence indicators: disappearing signals.
SHARK FIN EXHAUSTION LOGIC
The multi-condition state machine that validates momentum exhaustion is not found in free scripts:
Penetration threshold (buffer beyond band)
Directional slope confirmation on re-entry
Volatility gate (minimum standard deviation)
Cooldown enforcement (prevents clustering)
This filter layer was developed through extensive backtesting to reduce false divergences during choppy conditions.
ADAPTIVE VOLATILITY FRAMEWORK
The dynamic band system (34-SMA + 1.618σ) provides context-aware overbought/oversold detection:
Bands expand in volatile markets → signals adapt to conditions
Bands contract in ranging markets → tighter detection thresholds
50-line regime framework → directional bias context
This approach outperforms fixed-level systems (30/70) that ignore market context.
CONFLUENCE METHODOLOGY
The three-layer confirmation system (structure + exhaustion + volatility) was engineered to answer: "When is a divergence actually tradeable?" Free scripts detect divergence and stop there. Smart Divergence Engine asks: "Did RSI show exhaustion? Is volatility sufficient? Did structure confirm?"
This level of methodological depth—combined with repainting-proof architecture and professional-grade visual implementation—justifies closed-source protection and paid access.
═══════════════════════════════════════════
Smart Divergence Engine is engineered for traders who demand institutional-grade divergence detection without the noise, repainting, and false positives that plague free alternatives.
Access is restricted to maintain signal quality as methodology evolves.
Smart Divergence Engine Overlay [ChartNation]SMART DIVERGENCE ENGINE OVERLAY — CANDLE-ANCHORED RSI DIVERGENCE VISUALIZATION
═══════════════════════════════════════════
TECHNICAL OVERVIEW
═══════════════════════════════════════════
Smart Divergence Engine Overlay renders pivot-confirmed RSI divergences directly on the price chart with candle-anchored lines and labels. This companion overlay shares the identical detection logic as the panel version but visualizes signals at their exact price levels rather than in oscillator space.
The overlay implements repainting-proof divergence detection through pivot-locked RSI evaluation at historical bars (rsi ), ensuring all lines and labels remain stable as new bars form. Visual elements anchor to xloc.bar_index coordinates, maintaining precise positioning across zoom levels and timeframe changes.
═══════════════════════════════════════════
CORE ARCHITECTURE
═══════════════════════════════════════════
PIVOT-LOCKED DETECTION SYSTEM
The overlay evaluates RSI at confirmed pivot bars, not at the current bar:
Technical implementation:
Price pivots detected via ta.pivotlow() / ta.pivothigh() with configurable Left/Right parameters
RSI value captured at the pivot bar: rsi (historical bar offset)
Divergence comparison performed between stored pivot values (lowRsiPrev vs lowRsiCurr)
State management via var floats prevents recalculation across bars
Result: Once a divergence line prints, it never moves or disappears. Historical stability is guaranteed because RSI evaluation occurs at a locked bar index (bar_index - pivotR), not at the moving present.
Bullish divergence logic:
if not na(lowPricePrev) and lowPriceCurr < lowPricePrev and lowRsiCurr > lowRsiPrev
→ Price made lower low, RSI made higher low
→ Divergence confirmed at lowIdxCurr (pivot bar index)
Bearish divergence logic:
if not na(highPricePrev) and highPriceCurr > highPricePrev and highRsiCurr < highRsiPrev
→ Price made higher high, RSI made lower high
→ Divergence confirmed at highIdxCurr (pivot bar index)
RSI ENGINE
The overlay uses the same RSI calculation as the panel version to ensure signal synchronization:
Base calculation: ta.rsi(src, 14) — standard RSI momentum window
Smoothing layer: ta.rma(rsiRaw, 2) — reduces high-frequency noise
Volatility bands: 34-period SMA basis with 1.618 standard deviation multiplier
Purpose: Bands define adaptive overbought/oversold context (not plotted on overlay)
The volatility framework exists in the calculation layer to maintain logic parity with the panel version, ensuring divergences trigger at identical bars across both implementations.
CANDLE-ANCHORED RENDERING
All visual elements use xloc.bar_index positioning:
Line rendering:
line.new(x1=lowIdxPrev, y1=lowPricePrev, x2=lowIdxCurr, y2=lowPriceCurr,
xloc=xloc.bar_index, color=bullCol, width=lineW)
This anchors lines to specific bar indices and price levels, not to time coordinates. Result: Lines maintain exact positioning when zooming, panning, or switching timeframes.
Label rendering:
label.new(x=lowIdxCurr, y=lowPriceCurr, text="BUY",
xloc=xloc.bar_index, style=label.style_label_up)
Labels attach to the second pivot's bar index and price level, scaling naturally with chart transformations.
═══════════════════════════════════════════
VISUAL IMPLEMENTATION
═══════════════════════════════════════════
DIVERGENCE LINES
Bullish divergence: Connects two price swing lows with upward-sloping line
Color: Configurable (default lime green)
Width: 1-6 pixels (configurable)
Endpoint 1: Previous swing low (lowPricePrev at lowIdxPrev)
Endpoint 2: Current swing low (lowPriceCurr at lowIdxCurr)
Requirement: Current price lower than previous, current RSI higher than previous
Bearish divergence: Connects two price swing highs with downward-sloping line
Color: Configurable (default red)
Width: 1-6 pixels (configurable)
Endpoint 1: Previous swing high (highPricePrev at highIdxPrev)
Endpoint 2: Current swing high (highPriceCurr at highIdxCurr)
Requirement: Current price higher than previous, current RSI lower than previous
Lines extend between pivot bars only (extend.none), never projecting into future.
DIVERGENCE LABELS
Optional BUY/SELL markers render at the second pivot:
BUY label (bullish divergence):
Position: Below current swing low (label.style_label_up)
Text: "BUY"
Color: Matches bullish line color
Size: Normal (size.normal)
SELL label (bearish divergence):
Position: Above current swing high (label.style_label_down)
Text: "SELL"
Color: Matches bearish line color
Size: Normal (size.normal)
Labels can be toggled independently of lines via showLabels input.
═══════════════════════════════════════════
CONFIGURATION PARAMETERS
═══════════════════════════════════════════
RSI CALCULATION SETTINGS:
Price Source: close (configurable to any price field)
RSI Length: 14 (standard momentum window)
Volatility Band Length: 34 (SMA period for RSI basis)
Band Multiplier: 1.618 (standard deviation expansion)
Note: Bands calculate internally but don't plot (logic parity with panel)
DIVERGENCE DETECTION SETTINGS:
Pivot Left: 10 bars (left-side swing confirmation)
Pivot Right: 10 bars (right-side swing confirmation)
Overbought Level: 68 (reference, does not affect logic)
Oversold Level: 32 (reference, does not affect logic)
Pivot parameters control strictness:
Higher values = fewer, more significant divergences (requires wider swings)
Lower values = more frequent divergences (detects smaller swings)
VISUAL SETTINGS:
Show Divergence Lines: true/false toggle
Show BUY/SELL Labels: true/false toggle (independent of lines)
Line Width: 1-6 pixels
Bull Color: Configurable (default lime green)
Bear Color: Configurable (default red)
═══════════════════════════════════════════
ALERT SYSTEM
═══════════════════════════════════════════
Two alert conditions trigger at identical timing as visual signals:
"Bullish Divergence (Overlay)"
Triggers when: Bullish divergence confirms at second pivot
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Message: "TDI: Bullish divergence"
Reliability: Never repaints (confirmation locked at rsi )
"Bearish Divergence (Overlay)"
Triggers when: Bearish divergence confirms at second pivot
Timing: Fires AFTER Pivot Right bars complete (delayed but stable)
Message: "TDI: Bearish divergence"
Reliability: Never repaints (confirmation locked at rsi )
Alert configuration:
Set once on any chart/timeframe
Fires only when divergence condition evaluates true
Synchronized with visual rendering (alert = line + label appear)
═══════════════════════════════════════════
TRADING IMPLEMENTATION
═══════════════════════════════════════════
VISUAL ANALYSIS WORKFLOW
The overlay provides direct price-level context for divergence signals:
Bullish divergence interpretation:
Identify two connected swing lows with upward-sloping line
Lower price low indicates selling pressure weakening
Higher RSI low indicates momentum refusing to confirm price weakness
BUY label marks the second swing low (divergence confirmation point)
Bearish divergence interpretation:
Identify two connected swing highs with downward-sloping line
Higher price high indicates buying pressure weakening
Lower RSI high indicates momentum refusing to confirm price strength
SELL label marks the second swing high (divergence confirmation point)
CONFLUENCE WITH PRICE STRUCTURE
Overlay enables direct correlation with chart elements:
Support/Resistance alignment:
Bullish divergence at major support level = higher probability reversal
Bearish divergence at major resistance level = higher probability reversal
Divergence in middle of range = lower conviction signal
Volume confirmation:
Divergence with decreasing volume = confirms momentum exhaustion
Divergence with increasing volume = mixed signal, proceed with caution
Multi-timeframe context:
Higher timeframe trend alignment increases signal reliability
Counter-trend divergences (against HTF trend) require additional confirmation
ENTRY/EXIT FRAMEWORK
The overlay marks divergence confirmation points, not entry triggers:
Entry consideration process:
Divergence line appears → structure-confirmed momentum divergence detected
Wait for price confirmation (engulfing candle, break of structure, rejection wick)
Validate with additional confluence (volume, support/resistance, HTF trend)
Enter with predefined stop below/above divergence pivot
Size position according to distance to invalidation level
Exit planning:
Initial target: Previous swing high (bullish) / swing low (bearish)
Trail stop: Move to breakeven after initial profit target
Invalidation: Close below divergence low (bullish) / above divergence high (bearish)
═══════════════════════════════════════════
PANEL VS OVERLAY USAGE
═══════════════════════════════════════════
IDENTICAL DETECTION LOGIC
Both versions implement the same pivot-locked RSI evaluation:
Same RSI calculation (14-length with 2-period RMA smoothing)
Same volatility band framework (34-SMA + 1.618σ)
Same pivot confirmation (10 Left + 10 Right)
Same divergence comparison (rsi at locked bar indices)
Result: Divergences trigger at identical bars across both implementations.
RENDERING DIFFERENCES
Panel version (overlay=false):
Renders in separate pane below price chart
Displays RSI line, volatility bands, 50-line midline
Divergence lines drawn in oscillator space (RSI value coordinates)
Optional Shark Fin exhaustion visualization
Labels positioned relative to RSI levels
Overlay version (overlay=true):
Renders directly on price chart
No RSI line or bands visible (calculate internally for logic only)
Divergence lines drawn in price space (actual price coordinates)
No Shark Fin visualization (price chart remains clean)
Labels positioned at actual swing high/low prices
COMPLEMENTARY WORKFLOW
Recommended usage pattern:
Panel version: Monitor RSI regime (above/below 50), band interactions, Shark Fin exhaustion
Overlay version: Identify exact divergence price levels, correlate with support/resistance
Combined analysis: Use panel for momentum context, overlay for entry/exit precision
Alternative workflow (overlay only):
If RSI analysis not required, overlay version provides clean divergence detection
Pair with external RSI indicator if separate momentum visualization needed
Focuses chart space on price action and divergence markers only
═══════════════════════════════════════════
TECHNICAL SPECIFICATIONS
═══════════════════════════════════════════
RESOURCE ALLOCATION:
max_lines_count: 500 (divergence connector lines)
max_labels_count: 500 (BUY/SELL markers)
Suitable for most chart configurations and timeframes
RENDERING STABILITY:
xloc.bar_index positioning ensures visual stability across zoom/pan operations
Historical divergences never move once printed
Lines and labels scale proportionally with chart transformations
TIMEFRAME COMPATIBILITY:
Functions on any timeframe (1m to 1M)
Pivot detection adapts to bar spacing automatically
Lower timeframes generate more frequent signals (smaller swings)
Higher timeframes generate fewer signals (larger swings)
SYMBOL COMPATIBILITY:
Works on all asset classes (stocks, forex, crypto, futures, indices)
No symbol-specific logic or calculations
Universal RSI-based divergence detection
PERFORMANCE CHARACTERISTICS:
Lightweight calculation overhead (RSI + pivot detection + state management)
Visual rendering occurs only on divergence confirmation (not every bar)
No continuous repainting or historical recalculation
═══════════════════════════════════════════
USE CASE SCENARIOS
═══════════════════════════════════════════
SCENARIO 1: Support/Resistance Divergence
Setup: Price tests major support level twice, second test makes lower low
Signal: Bullish divergence line appears, RSI makes higher low at support
Interpretation: Momentum refusing to confirm price weakness at critical level
Action: Consider long entry on next bullish candle above divergence low
SCENARIO 2: Trend Exhaustion
Setup: Strong uptrend, price makes new high but momentum slowing
Signal: Bearish divergence line appears, RSI makes lower high
Interpretation: Buying pressure weakening despite higher price high
Action: Consider profit-taking on longs, watch for reversal confirmation
SCENARIO 3: Range-Bound Reversal
Setup: Price oscillating in horizontal range, tests lower boundary
Signal: Bullish divergence at range support
Interpretation: Oversold bounce opportunity within defined range
Action: Long entry targeting range midpoint or upper boundary
SCENARIO 4: Failed Breakout
Setup: Price breaks resistance but momentum doesn't confirm
Signal: Bearish divergence forms immediately after breakout
Interpretation: Breakout lacks momentum conviction, likely false breakout
Action: Consider fade setup (short) with stop above divergence high
═══════════════════════════════════════════
LIMITATIONS & CONSIDERATIONS
═══════════════════════════════════════════
SIGNAL TIMING:
Divergences print AFTER Pivot Right bars complete. This delay is intentional:
Ensures structure confirmation (full swing formation)
Prevents real-time repaint issues
Trades confirmation reliability for signal speed
Users requiring instant signals should use real-time divergence detectors (with repaint risk).
Users requiring reliable, stable signals should accept the confirmation delay.
LINE CLUTTER:
On lower timeframes with sensitive pivot settings:
High signal frequency may create visual clutter
Solution: Increase Pivot Left/Right values to filter smaller swings
Alternative: Use panel version for primary analysis, overlay for key divergences only
FALSE SIGNALS:
Divergences indicate momentum divergence, not guaranteed reversals:
Strong trends can maintain divergent conditions for extended periods
Divergence in isolation is a warning sign, not a trade trigger
Requires confluence with price action, volume, structure for high-probability setups
VOLATILITY BAND CONTEXT:
Bands calculate internally but don't visualize on overlay:
Users lose visual context of RSI overbought/oversold zones
Solution: Use panel version alongside overlay for complete RSI regime awareness
Alternative: Add separate RSI indicator to chart for band visualization
═══════════════════════════════════════════
Smart Divergence Engine Overlay provides candle-anchored, repainting-proof RSI divergence visualization directly on price charts. Lines and labels render at exact pivot price levels using xloc.bar_index positioning, maintaining stability across all chart transformations. Divergence detection uses pivot-locked RSI evaluation (rsi ) to ensure historical signals never move or disappear.
The overlay shares identical detection logic with the panel version but renders in price space rather than oscillator space, enabling direct correlation with support/resistance levels and price structure. All visual elements trigger only after full pivot confirmation (Pivot Left + Pivot Right bars), trading signal speed for absolute reliability.
Dark Pool Pulse – LiteDark Pool Pulse Lite
This indicator provides an observational proxy for dealer gamma exposure using only price and volume data. It helps users visualize whether market makers may be leaning long gamma (potential stabilizing flows) or short gamma (potential destabilizing flows). For educational and informational purposes only.
Key Features
0–100 oscillator representing an estimated dealer-gamma proxy.
Bullish zone (above 60): dealers may be long gamma → potentially absorbing volatility.
Bearish zone (below 40): dealers may be short gamma → potentially amplifying volatility.
Background tint for quick visual context.
Optional summary table showing current value and interpretation.
Alert conditions for crosses of the 60 and 40 thresholds.
How It Works
The indicator measures volume-weighted directional pressure and normalizes it over a rolling lookback window. The value is smoothed and mapped into a 0–100 oscillator:
Above 60 → potential positive gamma conditions.
Below 40 → potential negative gamma conditions.
40–60 → neutral or balanced zone.
All calculations are performed internally using only price and volume.
Settings
Lookback Length (default 20): Number of bars used for normalization.
Smoothing Length (default 10): EMA smoothing applied to the proxy.
Show Summary Table: Toggles the optional value/interpretation panel.
How to Use
Add the indicator to any chart or timeframe.
Observe the oscillator levels:
A move above 60 may reflect a more stabilizing dealer environment.
A move below 40 may reflect a more destabilizing environment.
Use the background tint for quick contextual bias.
Enable alerts for threshold crossings if desired.
Adjust settings to match your preferred responsiveness.
Notes
For educational and informational purposes only.
Not financial, trading, or investment advice.
No signals or recommendations are provided.
Source code protected to maintain proprietary calculation methods.
Trade volume indicator @mybullandbearThe indicator consolidates Trend (MA), Momentum (RSI), Breakout (ORB), and Volume (CVD) into a single dashboard, giving you an objective "Green" or "Red" bias.
Mybullandbear View (CVD): This specific component tracks whether buying or selling volume is dominant for the day. It helps you avoid false breakouts—if price goes up but CVD is Red (Bearish), it's likely a trap.
How to Benefit: Wait for Confluence. Do not take a trade unless the Dashboard shows a clear consensus (e.g., Green Trend + Bullish CVD + Price above ORB High). This filters out low-quality trades and keeps you on the right side of the market.
Mean Reversion Framework [LTS]LHAMA Trading Suite's Mean Reversion Framework is a VWAP-centric mean reversion and exhaustion tool that combines volatility regimes, volume-weighted extension zones, and multi-oscillator divergence detection into a single framework. It is designed to help traders quickly answer three questions on any chart:
How far is price stretched away from VWAP in standard deviations?
Is the current environment favorable or hostile to mean reversion?
Are there momentum divergences supporting a reversal or trend continuation idea?
Core components
1. Adaptive VWAP with standard deviation bands
The framework builds around a dynamically anchored VWAP with statistical bands:
VWAP line plotted from a rolling anchor point.
Standard deviation bands : ±1σ, ±2σ, ±2.5σ, and ±3σ around VWAP.
Extension zones : the area between ±2.5σ and ±3σ is highlighted as an “extension zone,” where price is statistically stretched from its mean.
Anchoring is automatic and timeframe-aware. When you change your charts timeframe, this will automatically adjust what VWAP you are looking at to make sure you're always using the anchoring research has shown to be most appropriate and relevant for that timeframe.
2. Reversion candle coloring
To highlight potentially climactic moves:
The script tracks a configurable volume average and multiplier.
When price touches the ±2.5σ extension zone and a candle meets one of these conditions, candles can be recolored:
Has above average volume, but below average candle body size.
Has lower volume than the previous candle.
An optional alert can be triggered when these extension touches occur.
The ideal reversion setup is a quick extension into the marked zone, which includes a high volume, small body candle at its peak, surrounded by lower volume candles in opposite directions. This shows an energetic push in one direction, followed by exhaustion and a fade back toward the mean.
3. Volatility regime detection
The script classifies the current volatility regime using ATR:
Calculates ATR over a user-defined lookback.
Computes the percentile rank of current ATR relative to its recent history.
Labels the environment as:
HIGH volatility (ATR percentile at or above the high threshold).
LOW volatility (at or below the low threshold).
MODERATE otherwise.
The current regime and ATR percentile are displayed on the dashboard and can be used as context for whether mean-reversion setups may be more or less favorable. Alerts can fire when volatility crosses into high or low regimes so users can adjust expectations or strategies if desired.
4. RSI & Stochastic divergence framework
The indicator includes a combined divergence engine using RSI and Stochastic:
User-configurable RSI length.
User-configurable Stochastic K/D parameters.
Pivot-based detection with left/right lookbacks and a max lookback window.
Two main categories:
Regular divergences – potential reversal context.
Hidden divergences – potential trend continuation context.
For both RSI and Stochastic, the script looks for:
Bullish regular : price lower low vs. oscillator higher low.
Bearish regular : price higher high vs. oscillator lower high.
Hidden bullish : price higher low vs. oscillator lower low.
Hidden bearish : price lower high vs. oscillator higher high.
When conditions are met, the script will:
Plot labels on the price chart:
🔃 icons for regular (reversal) divergences.
⏩ icons for hidden (continuation) divergences.
Combine RSI and Stochastic confirmation into a single label when both agree, with tooltips explaining:
Price structure (HH/HL/LL/LH).
Which oscillator(s) confirmed the divergence.
Whether the pattern suggests potential reversal or continuation.
Optionally trigger alerts for each divergence type when alerts are enabled.
Divergence labels are based on confirmed pivots, so they appear with a delay relative to the pivot bar. They are not predictive and should be treated as contextual information rather than standalone trade signals.
5. Dashboard overlay
An on-chart dashboard summarizes the most important state variables in a compact table:
VWAP Anchor – shows the effective anchor logic currently in use (“Session/Week/Month”, “5-Day Rolling” or “Yearly (Jan 1)”).
Alert Status – ACTIVE, COOLDOWN, or DISABLED.
Volatility Regime – HIGH / MODERATE / LOW with the current ATR percentile.
VWAP Value – current VWAP price.
Price vs VWAP – distance of price from VWAP in standard deviations (σ).
ATR – current ATR value for the selected length.
The dashboard can be toggled on or off and moved to any corner of the chart (top/bottom, left/right).
6. Alert system & cooldown
The script defines multiple alert conditions so users can build their own rules around mean reversion and volatility changes:
Extension zone alerts :
Price enters upper extension (≥ +2.5σ).
Price enters lower extension (≤ −2.5σ).
Price enters any extension zone.
High-volume candle touching an extension zone.
Divergence alerts :
Regular bullish / bearish divergence.
Hidden bullish / bearish divergence.
Volatility regime alerts :
ATR percentile crosses into HIGH volatility.
ATR percentile crosses into LOW volatility.
To reduce alert noise around VWAP resets, there is an optional alert cooldown :
At the start of a new VWAP period (session/5-day/yearly, depending on timeframe), the script can enter a cooldown phase.
During cooldown, extension-related alerts are temporarily suppressed for a user-defined number of minutes.
Volatility regime alerts remain active, as they reflect broader structural changes rather than short-term VWAP resets.
Users can disable the cooldown by setting its duration to 0.
Sen Channel LiteSen Channel Lite
Sen Channel Lite calculates a robust, median-based regression channel using the Theil–Sen slope method. This visual tool helps traders identify trend direction and potential breakout zones in real time.
Key Features
Dynamic Trend Line: The median-based regression line adapts to price movement, providing a central reference for trend direction.
Upper and Lower Bands: Automatically updated bands highlight potential breakout or reversal areas.
Breakout Markers: Optional triangles indicate when price crosses above the upper band or below the lower band.
Midline (EMA/SMA): Toggleable trend line for additional context on price direction.
VWAP Anchor: Optional VWAP plot to visualize volume-weighted average price levels.
Customizable Inputs:
Lookback Period for slope calculation
Band Multiplier to adjust sensitivity
Option to use Standard Deviation or ATR for band width
Midline type, length, and color
VWAP visibility and color
Channel cloud transparency
How to Read Signals (Educational Use Only):
Trend Context: The midline provides a reference for general trend direction. Price above the midline suggests bullish bias; below indicates bearish bias.
Breakouts:
Triangle up → price crossed above the upper band; potential strong move upward.
Triangle down → price crossed below the lower band; potential strong move downward.
Channel Interpretation:
Price near the upper band → market may be overextended.
Price near the lower band → market may be oversold.
Price moving within the channel → trend is balanced; use additional analysis for direction.
VWAP Context: Compare price to VWAP for intraday support/resistance insights.
Usage Notes:
Fully visual tool; no trading or financial advice.
All calculations are protected to preserve intellectual property.
Results reflect real-time calculations; no repainting.
Suitable for intraday to daily timeframes.
Important: This script is published as protected/closed-source to safeguard GammaBulldog intellectual property.
Hemanth's Pure Z-Score IndicatorThe Pure Z-Score Indicator is a statistical tool that measures how far the current price is from its recent average in terms of standard deviations. It helps traders identify overbought, oversold, and mean-reverting conditions in the market. This indicator is fully customizable, lightweight, and easy to use.
Key Features:
Displays the Z-Score of the price with optional smoothing.
Highlights overbought and oversold zones based on standard deviation thresholds.
Highlights mean (0) level for tracking price reversion.
Optional SMA or EMA smoothing to reduce noise.
Background highlights visually indicate extreme zones for easier analysis.
Inputs:
Length – Number of bars used to calculate the Z-Score.
Higher values smooth the indicator but react slower.
Lower values make it more sensitive but may produce more noise.
Overbought Level – Upper threshold for the Z-Score.
Default: 2.0 (2 standard deviations above the mean).
Crossing above this level signals a statistically overbought condition.
Oversold Level – Lower threshold for the Z-Score.
Default: -2.0 (2 standard deviations below the mean).
Crossing below this level signals a statistically oversold condition.
Use EMA instead of SMA – Determines whether the basis for Z-Score calculation is an Exponential Moving Average (EMA) or a Simple Moving Average (SMA).
EMA reacts faster to recent price changes.
SMA gives a smoother, slower-reacting average.
Smooth Z-Score (0 = no smoothing) – Apply additional smoothing to the Z-Score using a moving average.
Reduces noise and false spikes for cleaner visualization.
How to Use:
Overbought/Oversold: Watch for the Z-Score crossing the upper or lower levels to identify potential reversal zones.
Mean Reversion: Z-Score crossing the mean (0) can indicate short-term trend shifts.
Smoothing Options: Adjust the smoothing length and type to suit your trading style and timeframe.
Recommended Timeframes:
Works on any timeframe; suitable for day trading, swing trading, or longer-term analysis.
Best used in combination with price action or other indicators for confirmation.
Note:
This is a pure statistical indicator based on standard deviations. It does not provide buy/sell signals by itself, but helps traders identify areas of extreme price movement and potential reversals.
XAU Micro ScalperThis indicator is designed for short-term price rotation detection on XAUUSD, especially on the 1-minute timeframe.
It combines three momentum components—Stochastic, RSI, and OBV slope—to highlight potential reversal points and short-term scalping opportunities.
Core Logic
The script generates a signal only when multiple conditions align:
1. Stochastic Reversal (Timing Component)
A basic long/short trigger occurs when the Stochastic oscillator exits oversold (long) or overbought (short).
This represents a potential shift in short-term momentum.
2. RSI “Smart Rotation” Filter (Context Component)
Instead of using fixed oversold/overbought thresholds, the indicator checks whether RSI is turning:
Long: RSI is below a contextual ceiling (default 50) and rising
Short: RSI is above a contextual floor (default 55) and falling
This avoids premature entries during strong trending phases and confirms that momentum is actually rotating.
3. OBV Slope Filter (Volume Confirmation)
The On-Balance Volume trend is compared to its previous value:
Long: OBV slope improving
Short: OBV slope deteriorating
This helps confirm whether volume pressure is shifting in favor of the trade direction.
Both RSI and OBV filters can be enabled or disabled independently via the indicator settings.
Signals
Small circles mark raw Stochastic reversal points (unfiltered).
Green / red triangles represent validated long/short signals where all active filters agree.
Optional candle coloring highlights confirmed entry signals on the chart.
Use Cases
Intraday and scalping strategies on XAUUSD
Identifying short-term momentum reversals
Filtering noisy signals during high-volatility sessions
Studying how volume and momentum align around turning points
Customization
Users can adjust:
RSI contextual thresholds
Lookback periods
OBV slope sensitivity
Stochastic parameters
Activation of RSI and OBV filters
This flexibility allows the indicator to adapt to different market conditions and timeframes.
Disclaimer
This indicator does not provide financial advice or guarantee performance.
Always test any strategy on historical data and use proper risk management.
KSL-Fullsystem V2.0Trend Following & Reversal Trading System. It combines **Price Action (Market Structure)** with multiple technical indicators to generate high-quality Buy and Sell signals.
---
1. How Signals are Generated (The Core Logic)
The script uses **"Internal Shifts"** (Market Structure Breaks) to find entry points.
* BUY Signal: The price breaks above a previous bearish structure (Higher High) + All enabled filters are Green.
* SELL Signal: The price breaks below a previous bullish structure (Lower Low) + All enabled filters are Red.
When a signal occurs, the script automatically calculates:
* Stop Loss (SL): Based on the recent Swing High/Low.
* Take Profit (TP): Three levels (TP1, TP2, TP3) based on risk-reward ratios (1.5x, 2.0x, 3.0x).
---
2. The Filters (Your Confirmation Checklist)
You can turn these On/Off in the settings. **Note:** If you turn *all* of them on, you might get very few signals because the conditions become too strict.
**A. Bollinger Bands (BB) Filters (Primary Feature)**
This is the main filter for this version.
* Squeeze Filter: Prevents trading when the bands are too narrow (low volatility). If the background turns **Yellow**, it means the market is "Squeezing" – **Do Not Trade.**
* Touch Entry: Looks for price bouncing off the Lower Band (Buy) or Upper Band (Sell).
* Breakout Entry: Looks for price blasting through the bands.
* Mean Reversion: Checks if price is reverting to the middle line (Basis).
**B. Moving Average Filters (Trend)**
The script includes three types of Moving Averages. You can choose which style suits you:
* EMA (Exponential): Fast-reacting. Good for scalping.
* SMA (Simple): Standard trend lines. Good for position trading.
* LWMA (Linear Weighted): Focuses heavily on recent data.
* Configuration: You can select specific setups like "Scalping" (9/21/50 EMA) or "Trend" (50/200 EMA).
**C. Momentum Filters**
* MACD: Checks momentum. You can choose settings for Scalping, Day Trading, or Swing Trading.
* AO (Awesome Oscillator) & AC: Helps confirm if the momentum is strong enough to support the trend.
---
**3. Visual Guide: What You See on the Chart**
* Green Box: A Buy Zone (Demand).
* Red Box: A Sell Zone (Supply).
* Labels (Text): Shows "BUY" or "SELL" with exact prices for TP1, TP2, TP3, and SL.
* Blue Lines: The Bollinger Bands (Upper and Lower).
* Orange Line: The Bollinger Band Basis (Middle).
* Small Triangles:
* Green Triangle (Below Bar): Price touched the Lower Bollinger Band.
* Red Triangle (Above Bar): Price touched the Upper Bollinger Band.
* Yellow Background: **WARNING.** The market has low volume/volatility (BB Squeeze). Wait for a breakout.
---
4. How to Use This Script
1. Select Your Style: Go to the Settings (Inputs).
* If you are a **Scalper**, turn on "Scalping EMA" or "Scalping MACD".
* If you are a **Swing Trader**, turn on "Swing SMA" or "Trend EMA".
2. Configure Bollinger Bands: Keep `Use Bollinger Bands Filter` checked. Decide if you want to trade "Squeezes" (usually safer to avoid them).
3. Wait for the Label: Do not enter blindly. Wait for the script to print a **BUY** or **SELL** label with the TP/SL targets.
4. Check the Background: If the background is **Yellow**, ignore the signal or wait until the color clears.
5. Manage Risk: Place your Stop Loss at the price shown on the label ("SL").
VAPO OsilatorThe Real Map of Buying and Selling Pressure.
VAPO Advanced is fundamentally different from conventional oscillators that only measure momentum based on price. By integrating Volume and price movement (Pressure), it quantitatively maps the true buying and selling pressure in the market.
How It Works and What Are Its Advantages?
1. Core Pressure Measurement
Logic: The oscillator interprets high-volume price increases as strong buying pressure (+P) and high-volume price decreases as strong selling pressure (-P). Low-volume moves weaken the signal strength.
Benefit: This effectively filters out misleading signals caused by "fake" price movements (manipulation or low-volume spikes). It only displays momentum shifts that are supported by volume.
2. Dynamic Signal Line and Histogram
Signal Line: Provides a dynamic signal line smoothed by your choice of Moving Average type (EMA, SMA, WMA).
Histogram: Shows the difference between the VAPO line and the Signal line. A zero-line crossover of the histogram is the clearest signal that pressure is shifting direction. As the Green histogram grows, Buying Pressure accelerates; as the Red histogram grows, Selling Pressure accelerates.
3. Reliable Confirmation Tool
VAPO serves as an excellent confirmation tool when used alongside your primary trend indicators. For instance, when a trend indicator gives a BUY signal, VAPO crossing above the zero line (positive pressure) significantly increases the reliability of that signal.
⚠️ DISCLAIMER: THIS IS NOT FINANCIAL ADVICE. ALL INFORMATION PROVIDED IS FOR EDUCATIONAL AND ANALYTICAL PURPOSES ONLY.
YASAL UYARI: BU BİR YATIRIM TAVSİYESİ DEĞİLDİR. SUNULAN TÜM BİLGİLER YALNIZCA EĞİTİM VE ANALİZ AMAÇLIDIR.
DSS Bressert (Double Smoothed Stochastic) Mid point (H+L)/2Changed source to midpoint (High+Low)/2 instead of Close for a cleaner average.
Fundamental Analysis DashboardFundamental Analysis Dashboard
Valuation | P/E, P/B, P/S, EV/EBITDA, PEG, FCF Yield
Profitability | ROE, ROA, ROIC, Net Margin, Gross Margin, Operating Margin
Growth | EPS Growth YoY, Revenue Growth YoY, EPS TTM
Financial Health | Debt/Equity, Current Ratio, Quick Ratio, Net Cash, FCF
Dividends | Dividend Yield, Payout Ratio, DPS
Technical Context | Price vs EMA50/200, RSI, 52-Week Position
The dashboard calculates a Fundamental Score (0-100) based on weighted criteria across all sections:
80-100: Excellent
65-79: Good
50-64: Fair
35-49: Weak
0-34: Poor
SBMS RSIThis is everyones favourite RSI with small modification as it has 60 as breaout level and 40 as breakdown level, 80 as Overbrought zone and 20 as oversold zone. An EMA helps to stay in the trend.
RSI + Psy + ADX P2RSI + Psy + ADX
This indicator combines multi-length RSI analysis with the Psychological Line (PSY) and ADX trend strength to highlight reversal zones, emotional extremes, and trend conditions in a single unified panel.
🔹 Features
1️⃣ Triple RSI with Dynamic Colors
Displays Short / Mid / Long RSI values (9 / 26 / 52 by default)
Line color changes based on RSI levels:
🔴 Overbought (above 68)
🟢 Oversold (below 32)
⚪ Neutral market conditions
Fixed zone levels at 70 / 50 / 30 for simple visual analysis
2️⃣ Psychological Line (PSY) Extreme Signal
Measures the percentage of bearish candles in the selected period
Only highlights emotional extremes (overbought & oversold conditions)
Red/Green histogram makes market sentiment easy to read
3️⃣ ADX Trend Strength Detector
Confirms trend momentum using ADX
Color-coded levels:
🔵 Weak trend
🟡 Moderate trend
🔴 Strong trend (possible trend continuation)
Helps avoid counter-trend trades during strong momentum
4️⃣ RSI Background Highlight (Mid-term RSI Only)
Background turns RED in overbought area
Background turns GREEN in oversold area
Provides fast and clean recognition of reversal zones
🎯 Best Uses
Identifying low-risk reversal entry zones
Avoiding entries against strong trends
Confirming momentum and sentiment alignment
Useful for scalping, day-trading, and swing-trading strategies
💡 Tip
For higher precision, combine this indicator with:
🔹 Support/Resistance Levels
🔹 Candlestick Reversal Patterns
🔹 Volume Spikes or Breakout Tools
3 Lines RCI + Psy Signal + RSI Background📌 3 Lines RCI + Psy Signal + RSI Background
This indicator combines three RCI lines, Psychological Line signals, RSI-based background highlights, and ADX strength detection to visualize market momentum, trend strength, and potential reversal zones.
🔍 Main Features
📌 1. Triple RCI (Rank Correlation Index)
Displays Short / Mid / Long RCI
Detects momentum shifts and trend reversals
Highlight zones:
Overbought: +80 ~ +100 (Red Zone)
Oversold: -80 ~ -100 (Green Zone)
📌 2. Psychological Line Signal
Column bars appear only in extreme conditions:
Overbought → Red Bars
Oversold → Green Bars
Helps detect short-term sentiment extremes
📌 3. RSI Background Highlight
Red Background: RSI > Overbought threshold
Green Background: RSI < Oversold threshold
Provides a visual cue of underlying market pressure.
📌 4. ADX Trend Strength
ADX line color shows strength level:
Blue: Weak trend
Yellow: Moderate trend
Red: Strong trend
Useful to identify whether signals occur in a trend or range state.
🎯 Trading Usage Tips
RCI + RSI + Psy confluence can identify strong reversal timing.
Use signals only when ADX is weak or moderate to avoid counter-trading a strong trend.
Combine short/mid RCI crossovers with extreme zones for potential entry timing.
⚙️ Suitable For
Scalping, day trading, swing trading
Stocks, Forex, Crypto, Indices, Commodities
Momentum Marks - Buy and Sell IndicatorsIndicator Overview
This tool is a multi‑factor entry signal system designed to highlight potential BUY and SHORT opportunities directly on the chart with hard‑anchored labels. It combines trend, momentum, volatility, and volume conditions to reduce noise and provide more reliable trade signals.
Core Components
- EMA Trend Filter
- Uses a fast EMA (9) and a slow EMA (21) to determine short‑term vs. medium‑term trend direction.
- Signals only trigger when price aligns with the EMA relationship (e.g., fast above slow for shorts, fast below slow for buys).
- RSI Extremes
- RSI thresholds (default 65/35) ensure signals occur only when momentum is stretched into overbought or oversold zones.
- Helps avoid false triggers during neutral conditions.
- Linear Regression Channel
- A regression line with ±2 standard deviation bands defines dynamic support and resistance.
- Signals require price to be near the top (for shorts) or bottom (for buys) of the channel, adding a structural filter.
- TTM Squeeze Histogram
- Measures momentum shifts by comparing price to its EMA.
- Signals require histogram confirmation: weakening momentum for shorts, strengthening momentum for buys.
- Volume Confirmation
- Volume must fade for shorts or surge for buys relative to a 20‑period average.
- Ensures signals align with participation strength.
Visual Output
- Red “SHORT” label above bars when all short conditions align.
- Green “BUY” label below bars when all buy conditions align.
- Optional plotshape arrows (triangles) as backup markers.
- Linear regression channel shaded between upper and lower bands.
- EMA lines plotted for trend context.
Key Features
- Hard‑anchored labels: Signals are locked to confirmed bars, preventing repainting or shifting.
- Multi‑layer confirmation: Requires trend, momentum, volume, and structure to align before firing.
- Customizable inputs: Users can adjust EMA lengths, RSI thresholds, regression length, and squeeze parameters.
Smart Risk Meter (Adaptive v2)How it works
The Smart Risk Meter reads momentum, distance from the long-term trend, and drawdown pressure, then adapts those signals to the asset’s volatility. Low-vol assets get tighter scaling, high-vol assets get wider scaling, so the 0–1 risk score stays meaningful on anything from SPX to BTC.
How to use it
• 0.0–0.4: Accumulation zone. Market is calm or recovering — ideal for building positions.
• 0.4–0.6: Neutral. Trend can go either way — manage sizing.
• 0.6–0.8: Elevated risk. Momentum is stretched — tighten stops or reduce exposure.
• 0.8–1.0: Overheated. High risk of sharp pullbacks — avoid chasing.
Use it as a bias filter, a DCA timing tool, or a simple risk-on/risk-off read. It won’t predict tops or bottoms, but it keeps you aligned with the market’s temperature.
Gyspy Bot Trade Engine - V1.2B - Alerts - 12-7-25 - SignalLynxGypsy Bot Trade Engine (MK6 V1.2B) - Alerts & Visualization
Brought to you by Signal Lynx | Automation for the Night-Shift Nation 🌙
1. Executive Summary & Architecture
Gypsy Bot (MK6 V1.2B) is not merely a strategy; it is a massive, modular Trade Engine built specifically for the TradingView Pine Script V6 environment. While most tools rely on a single dominant indicator to generate signals, Gypsy Bot functions as a sophisticated Consensus Algorithm.
Note: This is the Indicator / Alerts version of the engine. It is designed for visual analysis and generating live alert signals for automation. If you wish to see Backtest data (Equity Curves, Drawdown, Profit Factors), please use the Strategy version of this script.
The engine calculates data from up to 12 distinct Technical Analysis Modules simultaneously on every bar closing. It aggregates these signals into a "Vote Count" and only fires a signal plot when a user-defined threshold of concurring signals is met. This "Voting System" acts as a noise filter, requiring multiple independent mathematical models—ranging from volume flow and momentum to cyclical harmonics and trend strength—to agree on market direction.
Beyond entries, Gypsy Bot features a proprietary Risk Management suite called the Dump Protection Team (DPT). This logic layer operates independently of the entry modules, specifically scanning for "Moon" (Parabolic) or "Nuke" (Crash) volatility events to signal forced exits, preserving capital during Black Swan events.
2. ⚠️ The Philosophy of "Curve Fitting" (Must Read)
One must be careful when applying Gypsy Bot to new pairs or charts.
To be fully transparent: Gypsy Bot is, by definition, a very advanced curve-fitting engine. Because it grants the user granular control over 12 modules, dozens of thresholds, and specific voting requirements, it is extremely easy to "over-fit" the data. You can easily toggle switches until the charts look perfect in hindsight, only to have the signals fail in live markets because they were tuned to historical noise rather than market structure.
To use this engine successfully:
Visual Verification: Do not just look for "green arrows." Look for signals that occur at logical market structure points.
Stability: Ensure signals are not flickering. This script uses closed-candle logic for key decisions to ensure that once a signal plots, it remains painted.
Regular Maintenance is Mandatory: Markets shift regimes (e.g., from Bull Trend to Crab Range). Gypsy Bot settings should be reviewed and adjusted at regular intervals to ensure the voting logic remains aligned with current market volatility.
Timeframe Recommendations:
Gypsy Bot is optimized for High Time Frame (HTF) trend following. It generally produces the most reliable results on charts ranging from 1-Hour to 12-Hours, with the 4-Hour timeframe historically serving as the "sweet spot" for most major cryptocurrency assets.
3. The Voting Mechanism: How Entries Are Generated
The heart of the Gypsy Bot engine is the ActivateOrders input (found in the "Order Signal Modifier" settings).
The engine constantly monitors the output of all enabled Modules.
Long Votes: GoLongCount
Short Votes: GoShortCount
If you have 10 Modules enabled, and you set ActivateOrders to 7:
The engine will ONLY plot a Buy Signal if 7 or more modules return a valid "Buy" signal on the same closed candle.
If only 6 modules agree, the signal is rejected.
4. Technical Deep Dive: The 12 Modules
Gypsy Bot allows you to toggle the following modules On/Off individually to suit the asset you are trading.
Module 1: Modified Slope Angle (MSA)
Logic: Calculates the geometric angle of a moving average relative to the timeline.
Function: Filters out "lazy" trends. A trend is only considered valid if the slope exceeds a specific steepness threshold.
Module 2: Correlation Trend Indicator (CTI)
Logic: Measures how closely the current price action correlates to a straight line (a perfect trend).
Function: Ensures that we are moving up with high statistical correlation, reducing fake-outs.
Module 3: Ehlers Roofing Filter
Logic: A spectral filter combining High-Pass (trend removal) and Super Smoother (noise removal).
Function: Isolates the "Roof" of price action to catch cyclical turning points before standard moving averages.
Module 4: Forecast Oscillator
Logic: Uses Linear Regression forecasting to predict where price "should" be relative to where it is.
Function: Signals when the regression trend flips. Offers "Aggressive" and "Conservative" calculation modes.
Module 5: Chandelier ATR Stop
Logic: A volatility-based trend follower that hangs a "leash" (ATR multiple) from extremes.
Function: Used as an entry filter. If price is above the Chandelier line, the trend is Bullish.
Module 6: Crypto Market Breadth (CMB)
Logic: Pulls data from multiple major tickers (BTC, ETH, and Perpetual Contracts).
Function: Calculates "Market Health." If Bitcoin is rising but the rest of the market is dumping, this module can veto a trade.
Module 7: Directional Index Convergence (DIC)
Logic: Analyzes the convergence/divergence between Fast and Slow Directional Movement indices.
Function: Identifies when trend strength is expanding.
Module 8: Market Thrust Indicator (MTI)
Logic: A volume-weighted breadth indicator using Advance/Decline and Volume data.
Function: One of the most powerful modules. Confirms that price movement is supported by actual volume flow. Recommended setting: "SSMA" (Super Smoother).
Module 9: Simple Ichimoku Cloud
Logic: Traditional Japanese trend analysis.
Function: Checks for a "Kumo Breakout." Price must be fully above/below the Cloud to confirm entry.
Module 10: Simple Harmonic Oscillator
Logic: Analyzes harmonic wave properties to detect cyclical tops and bottoms.
Function: Serves as a counter-trend or early-reversal detector.
Module 11: HSRS Compression / Super AO
Logic: Detects volatility compression (HSRS) or Momentum/Trend confluence (Super AO).
Function: Great for catching explosive moves resulting from consolidation.
Module 12: Fisher Transform (MTF)
Logic: Converts price data into a Gaussian normal distribution.
Function: Identifies extreme price deviations. Uses Multi-Timeframe (MTF) logic to ensure you aren't trading against the major trend.
5. Global Inhibitors (The Veto Power)
Even if 12 out of 12 modules vote "Buy," Gypsy Bot performs a final safety check using Global Inhibitors.
Bitcoin Halving Logic: Prevents trading during chaotic weeks surrounding Halving events (dates projected through 2040).
Miner Capitulation: Uses Hash Rate Ribbons to identify bearish regimes when miners are shutting down.
ADX Filter: Prevents trading in "Flat/Choppy" markets (Low ADX).
CryptoCap Trend: Checks the total Crypto Market Cap chart for broad market alignment.
6. Risk Management & The Dump Protection Team (DPT)
Even in this Indicator version, the RM logic runs to generate Exit Signals.
Dump Protection Team (DPT): Detects "Nuke" (Crash) or "Moon" (Pump) volatility signatures. If triggered, it plots an immediate Exit Signal (Yellow Plot).
Advanced Adaptive Trailing Stop (AATS): Dynamically tightens stops in low volatility ("Dungeon") and loosens them in high volatility ("Penthouse").
Staged Take Profits: Plots TP1, TP2, and TP3 events on the chart for visual confirmation or partial exit alerts.
7. Recommended Setup Guide
When applying Gypsy Bot to a new chart, follow this sequence:
Set Timeframe: 4 Hours (4H).
Tune DPT: Adjust "Dump/Moon Protection" inputs first. These filter out bad signals during high volatility.
Tune Module 8 (MTI): Experiment with the MA Type (SSMA is recommended).
Select Modules: Enable/Disable modules based on the asset's personality (Trending vs. Ranging).
Voting Threshold: Adjust ActivateOrders to filter out noise.
Alert Setup: Once visually satisfied, use the "Any Alert Function Call" option when creating an alert in TradingView to capture all Buy/Sell/Close events generated by the engine.
8. Technical Specs
Engine Version: Pine Script V6
Repainting: This indicator uses Closed Candle data for all Risk Management and Entry decisions. This ensures that signals do not vanish after the candle closes.
Visuals:
Blue Plot: Buy/Sell Signal.
Yellow Plot: Risk Management (RM) / DPT Close Signal.
Green/Lime/Olive Plots: Take Profit hits.
Disclaimer:
This script is a complex algorithmic tool for market analysis. Past performance is not indicative of future results. Cryptocurrency trading involves substantial risk of loss. Use this tool to assist your own decision-making, not to replace it.
9. About Signal Lynx
Automation for the Night-Shift Nation 🌙
Signal Lynx focuses on helping traders and developers bridge the gap between indicator logic and real-world automation. The same RM engine you see here powers multiple internal systems and templates, including other public scripts like the Super-AO Strategy with Advanced Risk Management.
We provide this code open source under the Mozilla Public License 2.0 (MPL-2.0) to:
Demonstrate how Adaptive Logic and structured Risk Management can outperform static, one-layer indicators
Give Pine Script users a battle-tested RM backbone they can reuse, remix, and extend
If you are looking to automate your TradingView strategies, route signals to exchanges, or simply want safer, smarter strategy structures, please keep Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source).
If you make beneficial modifications, please consider releasing them back to the community so everyone can benefit.
Omni-Divergence Pro [Hodldean]Omni-Divergence Pro
Most traders rely on a single indicator (like RSI or MACD) to make decisions. The problem? Single indicators are noisy, prone to false signals, and fail in changing market conditions.
Omni-Divergence Pro is different. It does not rely on one data point. Instead, it deploys a Consensus Engine—an underlying algorithm that aggregates 11 professional-grade market models into a single "Vote."
Only when the Price Action structurally disagrees with this Mathematical Consensus do you get a signal.
How It Works: The 3-Layer Filter
This script is designed to filter out 90% of market noise and only present high-probability setups using a proprietary 3-step validation process:
1. The Consensus Engine (11-Factor Model) Instead of just looking at momentum, we calculate a normalized score based on 11 distinct market dimensions, ranging from standard trend followers to advanced Digital Signal Processing (DSP):
Trend: Hull MA (HMA), Kaufman Adaptive MA (KAMA), Ichimoku Cloud.
Momentum: Smoothed RSI, Stochastic RSI, Donchian Channels.
Advanced DSP: Ehlers Super Smoother, Ehlers Fisher Transform, Ehlers Cyber Cycle.
Next-Gen Filters: Laguerre Filter, ALMA (Arnaud Legoux / JMA Proxy).
2. Structural Divergence (The Trigger) We do not look for simple "oversold" levels. We look for Structural Disagreement.
Bullish Signal: Price makes a Lower Low, but the Consensus of 11 indicators makes a Higher Low. The underlying data is screaming "Strength" while price is still dropping.
Bearish Signal: Price makes a Higher High, but the Consensus fails to confirm it.
3. The Volume Veto (The Confirmation) A divergence without volume is a trap. This system includes an integrated RVOL (Relative Volume) Filter.
If a signal forms on low volume (weekend/lunch hour), it is rejected.
Signals are only valid if Institutional Volume supports the move.
Features at a Glance
Clean Charts: No messy lines or oscillators. You only see "BUY" and "SELL" labels when a validated signal occurs.
Dual-Mode Detection:
Regular Divergence: For catching tops and bottoms (Reversals).
Hidden Divergence: For entering pullbacks in a strong trend (Trend Continuation).
Zero Repainting Logic: Signals are generated based on strict pivot confirmation. Once a signal is printed and the candle closes, it never disappears.
Technical Specifications
Confirmation Lag: This system prioritizes accuracy over speed. Signals appear upon the confirmation of a Pivot High/Low (default: 5 bars).
Visual Offset: Labels are plotted in the past (offset) to pinpoint exactly where the structural top/bottom occurred, providing clear context for stop-loss placement.
Best Timeframes: Optimized for 15m, 1H, 4H, and Daily charts. (For higher timeframes like 4H/Daily, consider lowering the Lookback setting to 3).
⛔ ACCESS & PRICING
This is an Invite-Only script. To protect the proprietary "Consensus Engine" logic, the source code is hidden.
Trading involves risk. This tool is designed to assist in analysis, not to guarantee profits. Past performance is not indicative of future results.
Gyspy Bot Trade Engine - V1.2B - Strategy 12-7-25 - SignalLynxGypsy Bot Trade Engine (MK6 V1.2B) - Ultimate Strategy & Backtest
Brought to you by Signal Lynx | Automation for the Night-Shift Nation 🌙
1. Executive Summary & Architecture
Gypsy Bot (MK6 V1.2B) is not merely a strategy; it is a massive, modular Trade Engine built specifically for the TradingView Pine Script environment. While most strategies rely on a single dominant indicator (like an RSI cross or a MACD flip) to generate signals, Gypsy Bot functions as a sophisticated Consensus Algorithm.
The engine calculates data from up to 12 distinct Technical Analysis Modules simultaneously on every bar closing. It aggregates these signals into a "Vote Count" and only executes a trade entry when a user-defined threshold of concurring signals is met. This "Voting System" acts as a noise filter, requiring multiple independent mathematical models—ranging from volume flow and momentum to cyclical harmonics and trend strength—to agree on market direction before capital is committed.
Beyond entries, Gypsy Bot features a proprietary Risk Management suite called the Dump Protection Team (DPT). This logic layer operates independently of the entry modules, specifically scanning for "Moon" (Parabolic) or "Nuke" (Crash) volatility events to force-exit positions, overriding standard stops to preserve capital during Black Swan events.
2. ⚠️ The Philosophy of "Curve Fitting" (Must Read)
One must be careful when applying Gypsy Bot to new pairs or charts.
To be fully transparent: Gypsy Bot is, by definition, a very advanced curve-fitting engine. Because it grants the user granular control over 12 modules, dozens of thresholds, and specific voting requirements, it is extremely easy to "over-fit" the data. You can easily toggle switches until the backtest shows a 100% win rate, only to have the strategy fail immediately in live markets because it was tuned to historical noise rather than market structure.
To use this engine successfully, you must adopt a specific optimization mindset:
Ignore Raw Net Profit: Do not tune for the highest dollar amount. A strategy that makes $1M in the backtest but has a 40% drawdown is useless.
Prioritize Stability: Look for a high Profit Factor (1.5+), a high Percent Profitable, and a smooth equity curve.
Regular Maintenance is Mandatory: Markets shift regimes (e.g., from Bull Trend to Crab Range). Parameters that worked perfectly in 2021 may fail in 2024. Gypsy Bot settings should be reviewed and adjusted at regular intervals (e.g., quarterly) to ensure the voting logic remains aligned with current market volatility.
Timeframe Recommendations:
Gypsy Bot is optimized for High Time Frame (HTF) trend following. It generally produces the most reliable results on charts ranging from 1-Hour to 12-Hours, with the 4-Hour timeframe historically serving as the "sweet spot" for most major cryptocurrency assets.
3. The Voting Mechanism: How Entries Are Generated
The heart of the Gypsy Bot engine is the ActivateOrders input (found in the "Order Signal Modifier" settings).
The engine constantly monitors the output of all enabled Modules.
Long Votes: GoLongCount
Short Votes: GoShortCount
If you have 10 Modules enabled, and you set ActivateOrders to 7:
The engine will ONLY trigger a Buy Entry if 7 or more modules return a valid "Buy" signal on the same closed candle.
If only 6 modules agree, the trade is rejected.
This allows you to mix "Leading" indicators (Oscillators) with "Lagging" indicators (Moving Averages) to create a high-probability entry signal that requires momentum, volume, and trend to all be in alignment.
4. Technical Deep Dive: The 12 Modules
Gypsy Bot allows you to toggle the following modules On/Off individually to suit the asset you are trading.
Module 1: Modified Slope Angle (MSA)
Logic: Calculates the geometric angle of a moving average relative to the timeline.
Function: It filters out "lazy" trends. A trend is only considered valid if the slope exceeds a specific steepness threshold. This helps avoid entering trades during weak drifts that often precede a reversal.
Module 2: Correlation Trend Indicator (CTI)
Logic: Based on John Ehlers' work, this measures how closely the current price action correlates to a straight line (a perfect trend).
Function: It outputs a confidence score (-1 to 1). Gypsy Bot uses this to ensure that we are not just moving up, but moving up with high statistical correlation, reducing fake-outs.
Module 3: Ehlers Roofing Filter
Logic: A sophisticated spectral filter that combines a High-Pass filter (to remove long-term drift) with a Super Smoother (to remove high-frequency noise).
Function: It attempts to isolate the "Roof" of the price action. It is excellent at catching cyclical turning points before standard moving averages react.
Module 4: Forecast Oscillator
Logic: Uses Linear Regression forecasting to predict where price "should" be relative to where it is.
Function: When the Forecast Oscillator crosses its zero line, it indicates that the regression trend has flipped. We offer both "Aggressive" and "Conservative" calculation modes for this module.
Module 5: Chandelier ATR Stop
Logic: A volatility-based trend follower that hangs a "leash" (ATR multiple) from the highest high (for longs) or lowest low (for shorts).
Function: Used here as an entry filter. If price is above the Chandelier line, the trend is Bullish. It also includes a "Bull/Bear Qualifier" check to ensure structural support.
Module 6: Crypto Market Breadth (CMB)
Logic: This is a macro-filter. It pulls data from multiple major tickers (BTC, ETH, and Perpetual Contracts) across different exchanges.
Function: It calculates a "Market Health" percentage. If Bitcoin is rising but the rest of the market is dumping, this module can veto a trade, ensuring you don't buy into a "fake" rally driven by a single asset.
Module 7: Directional Index Convergence (DIC)
Logic: Analyzes the convergence/divergence between Fast and Slow Directional Movement indices.
Function: Identifies when trend strength is expanding. A buy signal is generated only when the positive directional movement overpowers the negative movement with expanding momentum.
Module 8: Market Thrust Indicator (MTI)
Logic: A volume-weighted breadth indicator. It uses Advance/Decline data and Up/Down Volume data.
Function: This is one of the most powerful modules. It confirms that price movement is supported by actual volume flow. We recommend using the "SSMA" (Super Smoother) MA Type for the cleanest signals on the 4H chart.
Module 9: Simple Ichimoku Cloud
Logic: Traditional Japanese trend analysis using the Tenkan-sen and Kijun-sen.
Function: Checks for a "Kumo Breakout." Price must be fully above the Cloud (for longs) or below it (for shorts). This is a classic "trend confirmation" module.
Module 10: Simple Harmonic Oscillator
Logic: Analyzes the harmonic wave properties of price action to detect cyclical tops and bottoms.
Function: Serves as a counter-trend or early-reversal detector. It tries to identify when a cycle has bottomed out (for buys) or topped out (for sells) before the main trend indicators catch up.
Module 11: HSRS Compression / Super AO
Logic: Two options in one.
HSRS: Hirashima Sugita Resistance Support. Detects volatility compression (squeezes) relative to dynamic support/resistance bands.
Super AO: A combination of the Awesome Oscillator and SuperTrend logic.
Function: Great for catching explosive moves that result from periods of low volatility (consolidation).
Module 12: Fisher Transform (MTF)
Logic: Converts price data into a Gaussian normal distribution.
Function: Identifies extreme price deviations. This module uses Multi-Timeframe (MTF) logic to look at higher-timeframe trends (e.g., looking at the Daily Fisher while trading the 4H chart) to ensure you aren't trading against the major trend.
5. Global Inhibitors (The Veto Power)
Even if 12 out of 12 modules vote "Buy," Gypsy Bot performs a final safety check using Global Inhibitors. If any of these are triggered, the trade is blocked.
Bitcoin Halving Logic:
Hardcoded dates for past and projected future Bitcoin halvings (up to 2040).
Trading is inhibited or restricted during the chaotic weeks immediately surrounding a Halving event to avoid volatility crushes.
Miner Capitulation:
Uses Hash Rate Ribbons (Moving averages of Hash Rate).
If miners are capitulating (Shutting down rigs due to unprofitability), the engine flags a "Bearish" regime and can flip logic to Short-only or flat.
ADX Filter (Flat Market Protocol):
If the Average Directional Index (ADX) is below a specific threshold (e.g., 20), the market is deemed "Flat/Choppy." The bot will refuse to open trend-following trades in a flat market.
CryptoCap Trend:
Checks the total Crypto Market Cap chart. If the broad market is in a downtrend, it can inhibit Long entries on individual altcoins.
6. Risk Management & The Dump Protection Team (DPT)
Gypsy Bot separates "Entry Logic" from "Risk Management Logic."
Dump Protection Team (DPT)
This is a specialized logic branch designed to save the account during Black Swan events.
Nuke Protection: If the DPT detects a volatility signature consistent with a flash crash, it overrides all other logic and forces an immediate exit.
Moon Protection: If a parabolic pump is detected that violates statistical probability (Bollinger deviations), DPT can force a profit take before the inevitable correction.
Advanced Adaptive Trailing Stop (AATS)
Unlike a static trailing stop (e.g., "trail by 5%"), AATS is dynamic.
Penthouse Level: If price is at the top of the HSRS channel (High Volatility), the stop loosens to allow for wicks.
Dungeon Level: If price is compressed at the bottom, the stop tightens to protect capital.
Staged Take Profits
TP1: Scalp a portion (e.g., 10%) to cover fees and secure a win.
TP2: Take the bulk of profit.
TP3: Leave a "Runner" position with a loose trailing stop to catch "Moon" moves.
7. Recommended Setup Guide
When applying Gypsy Bot to a new chart, follow this sequence:
Set Timeframe: 4 Hours (4H).
Reset: Turn OFF Trailing Stop, Stop Loss, and Take Profits. (We want to see raw entry performance first).
Tune DPT: Adjust "Dump/Moon Protection" inputs first. These have the highest impact on net performance.
Tune Module 8 (MTI): This module is a heavy filter. Experiment with the MA Type (SSMA is recommended).
Select Modules: Enable/Disable modules 1-12 based on the asset's personality (Trending vs. Ranging).
Voting Threshold: Adjust ActivateOrders. A lower number = More Trades (Aggressive). A higher number = Fewer, higher conviction trades (Conservative).
Final Polish: Re-enable Stop Losses, Trailing Stops, and Staged Take Profits to smooth the equity curve and define your max risk per trade.
8. Technical Specs
Engine Version: Pine Script V6
Repainting: This strategy uses Closed Candle data for all Risk Management and Entry decisions. This ensures that Backtest results align closely with real-time behavior (no repainting of historical signals).
Alerts: This script generates Strategy alerts. If you require visual-only alerts, see the source code header for instructions on switching to "Study" (Indicator) mode.
Disclaimer:
This script is a complex algorithmic tool for market analysis. Past performance is not indicative of future results. Use this tool to assist your own decision-making, not to replace it.
9. About Signal Lynx
Automation for the Night-Shift Nation 🌙
Signal Lynx focuses on helping traders and developers bridge the gap between indicator logic and real-world automation. The same RM engine you see here powers multiple internal systems and templates, including other public scripts like the Super-AO Strategy with Advanced Risk Management.
We provide this code open source under the Mozilla Public License 2.0 (MPL-2.0) to:
Demonstrate how Adaptive Logic and structured Risk Management can outperform static, one-layer indicators
Give Pine Script users a battle-tested RM backbone they can reuse, remix, and extend
If you are looking to automate your TradingView strategies, route signals to exchanges, or simply want safer, smarter strategy structures, please keep Signal Lynx in your search.
License: Mozilla Public License 2.0 (Open Source).
If you make beneficial modifications, please consider releasing them back to the community so everyone can benefit.
GOLDEN RSI (70-50-30)The fluctuation range has been expanded. Theoriginal author only set it between 40 and 60, but arange of 30 to 70 would be more reasonableAdditionally, a 50 median line has been added withinthe fluctuation range
SuperWaveTrendWaveTrend with Crosses + HyperWave + Confluence Zones + Thresholds
SuperWaveTrend — Advanced Momentum System Integrating WaveTrend, HyperWave, Confluence Zones & Threshold Filters
SuperWaveTrend is an enhanced momentum indicator built upon the classic WaveTrend (WT) framework.
It integrates HyperWave extreme zones, top/bottom Confluence Zones, trend hesitation Threshold regions, WT crossover reversal signals, and more.
This indicator is suitable for:
• Trend following
• Swing trading
• Reversal spotting
• Overbought/oversold structure analysis
• Extreme market sentiment detection
Whether you’re scalping or planning swing entries, SuperWaveTrend offers a more precise and visually intuitive momentum structure.
Key Features
1. WaveTrend Core Structure (WT1 / WT2)
• WT1: Primary momentum line
• WT2: Signal line
• Momentum Spread Area (WT1 − WT2) visualization highlights shifts in trend strength
2. HyperWave Extreme Momentum Zones
Background highlight automatically appears during extreme momentum conditions:
• Purple-red: Extreme bullish zone
• Orange: Extreme bearish zone
Helps identify:
• Blow-off tops
• Panic sell-offs
• Extreme trend continuation phases
3. Confluence Zones (Top/Bottom Resonance)
Combines overbought/oversold signals with momentum structure to mark:
• Gold top zones → weakening bullish momentum
• Blue bottom zones → weakening bearish momentum
Useful for detecting:
• Bearish divergence tops
• Reversal bounces
• High-level exhaustion / low-level capitulation
4. Threshold Hesitation Zone (Gray)
When WT1 and WT2 converge tightly, a gray background highlights:
• Unclear direction
• Trend weakening
• Higher risk of false signals
Generally not recommended for new entries.
5. WT Crossover Signals (Cross Signals)
WT1 and WT2 crossovers are marked with color-coded dots:
• Green: Bullish cross
• Red: Bearish cross
A core signal for capturing reversal shifts.
⚠️ Creator’s Disclaimer & Usage Insights
***WARNING***
SuperWaveTrend is not designed for extremely strong one-sided trends.
During highly impulsive markets, signals may become delayed or less reliable.
Optimal Timeframes
Based on extensive backtesting, In swing-trading environments, the indicator performs most effectively on the 1H–4H timeframes, where momentum cycles form cleanly and Confluence Zones provide high-probability setups.
Trading Insights
• In swing-trading environments, Confluence Zones often coincide with excellent long/short opportunities, especially when momentum exhaustion is confirmed.
• When paired with a Bollinger Bands framework, the system exhibits significantly improved accuracy and structure clarity.
Have fun,
BigTrunks






















