OPEN-SOURCE SCRIPT
AetherEdge Neural Order Block Evolution

🖊️ Overview
AetherEdge Neural Order Block Evolution is a next-generation ICT/SMT tool that auto-detects institutional order blocks (OBs) and isolates only "elite OBs" through neural-network-style weighted scoring. Four core features — volume anomaly, liquidity sweeps, MTF consensus, and displacement — are aggregated via sigmoid activation, ruthlessly eliminating noise OBs and rendering only the true zones defended by smart money. This is the ultimate order block engine that visualizes institutional footprints with AI precision.
🔶 Key Features
Swing Pivot Detection: High-precision displacement-based OB identification
Neural Quality Score: 4-feature × weighted × sigmoid aggregation
Volume Anomaly Detection: Z-score-based abnormal volume scoring
Liquidity Score: Cluster detection + liquidity sweep recognition
MTF Consensus System: 3-timeframe trend bias integration
Displacement Score: ATR-based impulse strength evaluation
Elite OB Highlighting: Top-scored OBs marked with gold border
Lifecycle Management: Mitigated OBs preserved as history
Proximity Highlighting: Visual emphasis when price approaches OB
Stats Panel: Tracks created / broken / respected counts
🧠 Technical Architecture
This indicator is a neural evaluation engine designed to "decode institutional intent."
OB Detection: After swingLen pivot detection, scans within obLookback for the Last Up/Down Candle. Only candidates with displacement ≥ displaceMult × ATR qualify as OBs.
Volume Anomaly Score: Volume at OB formation Z-scored against 20-bar mean/std, then sigmoid-normalized to 0–1. Abnormal volume = institutional footprint.
Liquidity Score: Counts price clusters near OB level over 30 bars (liquidity pool detection) + identifies liquidity sweep patterns (e.g., sharp reversal after low sweep).
MTF Consensus: Retrieves close > EMA21 bias from mtf1/mtf2/mtf3. Aggregated with weights 1.0/1.2/1.5 (higher TF prioritized) and sigmoid-converted.
Displacement Score: Displacement size normalized by ATR, excess over displaceMult threshold sigmoid-mapped.
Neural Aggregation: Linear combination of 4 scores via wVolume / wLiquidity / wMTF / wDisplace yields final quality score. OBs below qualityMin are excluded.
Lifecycle: Break detected via mitigationMode (Wick / Close) and breakBuf × ATR. With keepBroken, OBs migrate to historyOBs and persist for historyBars.
Stats Tracking: totalCreated / Broken / Respects metrics for performance visualization.
⚙️ Recommended Settings & Tuning Guide
Crypto Defaults:
BTC (4H): swingLen=5, displaceMult=1.5, qualityMin=0.55, MTF=4H/D/W
ETH (1H): swingLen=4, displaceMult=1.3, qualityMin=0.50, MTF=1H/4H/D
SOL/XRP (15M): swingLen=3, displaceMult=1.2, qualityMin=0.45, MTF=15M/1H/4H
Long-Term (1D): swingLen=8, displaceMult=2.0, qualityMin=0.60, MTF=D/W/M
Weight Tuning:
Trending markets: Raise wMTF=0.40, wDisplace=0.30
Range markets: Raise wLiquidity=0.40, wVolume=0.35
Elite-only display: qualityMin=0.70 + maxBlocks=4
Maximum visibility: qualityMin=0.40 + maxBlocks=12
Early detection: obLookback=20 for wider search
Strict mode: displaceMult=2.0 for only powerful displacements
💡 How to Use in Practice
Elite OB Reversal: Gold-bordered OBs are top-priority entry zones
MTF Consensus Play: High sMTF OBs align with the macro-trend fortress
Post-Sweep OB: High sLiq OBs form after institutional stop hunts — extremely strong zones
Mitigation Strategy: Trade the first touch of an unmitigated OB
History OB Analysis: Broken historic OBs are future support/resistance flip candidates
AetherEdge Combinations: When KNN Breakout Fortress strong walls overlap an OB → ironclad zone
⚠️ Important Notes
Too-small swingLen creates excessive, noisy OBs
MTF settings must be higher than the current chart timeframe
Liquidity score depends on the prior 30 bars — accuracy drops on early bars
sVol becomes unreliable on assets without volume data
Neural weights should sum to approximately 1.0 for balanced scoring
🚨 Disclaimer
This indicator is provided for educational and research purposes only and does not constitute financial advice. Neural scores and OB quality evaluations are based on historical data and do not guarantee future performance. All trading decisions are made at your own risk and should be accompanied by proper risk management.
AetherEdge Neural Order Block Evolution is a next-generation ICT/SMT tool that auto-detects institutional order blocks (OBs) and isolates only "elite OBs" through neural-network-style weighted scoring. Four core features — volume anomaly, liquidity sweeps, MTF consensus, and displacement — are aggregated via sigmoid activation, ruthlessly eliminating noise OBs and rendering only the true zones defended by smart money. This is the ultimate order block engine that visualizes institutional footprints with AI precision.
🔶 Key Features
Swing Pivot Detection: High-precision displacement-based OB identification
Neural Quality Score: 4-feature × weighted × sigmoid aggregation
Volume Anomaly Detection: Z-score-based abnormal volume scoring
Liquidity Score: Cluster detection + liquidity sweep recognition
MTF Consensus System: 3-timeframe trend bias integration
Displacement Score: ATR-based impulse strength evaluation
Elite OB Highlighting: Top-scored OBs marked with gold border
Lifecycle Management: Mitigated OBs preserved as history
Proximity Highlighting: Visual emphasis when price approaches OB
Stats Panel: Tracks created / broken / respected counts
🧠 Technical Architecture
This indicator is a neural evaluation engine designed to "decode institutional intent."
OB Detection: After swingLen pivot detection, scans within obLookback for the Last Up/Down Candle. Only candidates with displacement ≥ displaceMult × ATR qualify as OBs.
Volume Anomaly Score: Volume at OB formation Z-scored against 20-bar mean/std, then sigmoid-normalized to 0–1. Abnormal volume = institutional footprint.
Liquidity Score: Counts price clusters near OB level over 30 bars (liquidity pool detection) + identifies liquidity sweep patterns (e.g., sharp reversal after low sweep).
MTF Consensus: Retrieves close > EMA21 bias from mtf1/mtf2/mtf3. Aggregated with weights 1.0/1.2/1.5 (higher TF prioritized) and sigmoid-converted.
Displacement Score: Displacement size normalized by ATR, excess over displaceMult threshold sigmoid-mapped.
Neural Aggregation: Linear combination of 4 scores via wVolume / wLiquidity / wMTF / wDisplace yields final quality score. OBs below qualityMin are excluded.
Lifecycle: Break detected via mitigationMode (Wick / Close) and breakBuf × ATR. With keepBroken, OBs migrate to historyOBs and persist for historyBars.
Stats Tracking: totalCreated / Broken / Respects metrics for performance visualization.
⚙️ Recommended Settings & Tuning Guide
Crypto Defaults:
BTC (4H): swingLen=5, displaceMult=1.5, qualityMin=0.55, MTF=4H/D/W
ETH (1H): swingLen=4, displaceMult=1.3, qualityMin=0.50, MTF=1H/4H/D
SOL/XRP (15M): swingLen=3, displaceMult=1.2, qualityMin=0.45, MTF=15M/1H/4H
Long-Term (1D): swingLen=8, displaceMult=2.0, qualityMin=0.60, MTF=D/W/M
Weight Tuning:
Trending markets: Raise wMTF=0.40, wDisplace=0.30
Range markets: Raise wLiquidity=0.40, wVolume=0.35
Elite-only display: qualityMin=0.70 + maxBlocks=4
Maximum visibility: qualityMin=0.40 + maxBlocks=12
Early detection: obLookback=20 for wider search
Strict mode: displaceMult=2.0 for only powerful displacements
💡 How to Use in Practice
Elite OB Reversal: Gold-bordered OBs are top-priority entry zones
MTF Consensus Play: High sMTF OBs align with the macro-trend fortress
Post-Sweep OB: High sLiq OBs form after institutional stop hunts — extremely strong zones
Mitigation Strategy: Trade the first touch of an unmitigated OB
History OB Analysis: Broken historic OBs are future support/resistance flip candidates
AetherEdge Combinations: When KNN Breakout Fortress strong walls overlap an OB → ironclad zone
⚠️ Important Notes
Too-small swingLen creates excessive, noisy OBs
MTF settings must be higher than the current chart timeframe
Liquidity score depends on the prior 30 bars — accuracy drops on early bars
sVol becomes unreliable on assets without volume data
Neural weights should sum to approximately 1.0 for balanced scoring
🚨 Disclaimer
This indicator is provided for educational and research purposes only and does not constitute financial advice. Neural scores and OB quality evaluations are based on historical data and do not guarantee future performance. All trading decisions are made at your own risk and should be accompanied by proper risk management.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.