OPEN-SOURCE SCRIPT

AetherEdge AI Divergence Ghost

470
🖊️ Overview
AetherEdge AI Divergence Ghost is a next-generation divergence detector that neurally fuses five oscillators and self-evolves their weights based on real-time correlation with future price action. By eliminating single-oscillator noise and filtering through a multi-layer confidence score, it plots only elite-grade signals as ultra-minimal ghost arrows — a silent sniper indicator built for clarity and conviction.

🔶 Key Features

Multi-Oscillator Neural Fusion: RSI, MACD, Stochastic, MFI, and CCI normalized via Z-score
Adaptive Weight Learning: Softmax weights derived from each oscillator's correlation with forward returns
4-Type Divergence Detection: Regular Bull/Bear & Hidden Bull/Bear
Confidence Scoring: Combines divergence magnitude with multi-oscillator agreement
Pivot Distance Filter: minBars / maxBars eliminate low-quality setups
Cooldown Mechanism: Prevents arrow clustering
Ghost Arrow Visuals: Tiny, transparency-adjustable triangles keep charts pristine
🧠 Technical Architecture
The engine combines a self-evolving neural oscillator with multi-layer validation.

Normalization Layer: All five oscillators are converted to a 50-period Z-score (x-μ)/σ, ensuring scale-uniform fusion.
Adaptive Weight Learning: A 100-bar correlation between each oscillator (lagged 5 bars) and forward return is computed. Only positive correlations contribute, normalized softmax-style — so oscillators that actually work in the current regime gain influence automatically.
Neural Composite Oscillator: neuralOsc = Σ(w_i × n_i) produces a regime-optimal signal.
Dual-Layer Pivot Detection: Pivots are tracked on both price and the neural oscillator, evaluating all four divergence types logically.
Confidence Scoring: Combines price/oscillator delta magnitude with an agreement bonus (how many of 5 raw oscillators confirm the divergence direction) into a final composite score.
Cooldown & Threshold Filter: Signals fire only when score ≥ minScore AND cooldown bars have elapsed — strict elite-only output.
⚙️ Recommended Settings & Tuning Guide

Crypto Defaults:

BTC/ETH (1H–4H): Lookback=50, Pivot Strength=5, Min Score=0.6
SOL/XRP (15M–1H): Pivot Strength=3, Min Score=0.65 (noise-resistant)
Swing (4H–1D): Lookback=80, maxBars=100, Min Score=0.55
Tuning Tips:

Too few signals: Lower Min Score to 0.5, or disable Adaptive Weight Learning
Too many signals: Raise Min Score to 0.7+, Pivot Strength to 7+
Trending regime: Show Hidden only (disable Regular)
Ranging regime: Show Regular only (disable Hidden)
💡 How to Use in Practice

Regular Bull/Bear: Counter-trend reversal entries
Hidden Bull/Bear: Trend-continuation pullback/rally entries
Multi-Timeframe: Use HTF Regular divergences for bias, LTF Hidden divergences for precision entries
Combinations: Pair with AetherEdge Adaptive Super Neural — Ghost signals coinciding with trend flips offer extreme conviction
S/R Confluence: Ghost arrows at major S/R zones dramatically boost reversal probability
⚠️ Important Notes

Pivots confirm pivotLen bars after formation — signals plot historically (confirmation delay, not repaint)
The first ~100 bars serve as a learning warm-up; Adaptive Weight accuracy improves thereafter
After abrupt volatility shifts, normalization needs several bars to restabilize
Divergence offers probabilistic edge — always combine with confluence and risk management
🚨 Disclaimer
This indicator is provided for educational and research purposes only and does not constitute financial advice. All trading decisions are made at your own risk and should be accompanied by proper risk management. Past performance is not indicative of future results.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.