OPEN-SOURCE SCRIPT
AetherEdge - Triaxial Consensus Signals

🖊️ Overview
AE-TRIAX is a high-conviction indicator that fires signals only when three independent analysis axes (Trend, Momentum, Volatility) agree. Each axis returns a continuous score in -100 to +100 rather than a discrete vote, so consensus is visualized as a gradient. Five AI/ML/RL layers — RL-style adaptive axis weights, ML regime classifier, MTF alignment, Q-learning thresholds, and Confidence% — self-tune per instrument, supporting everything from beginner presets to advanced customization. The lean voting system (which excludes neutral axes) makes BUY/SELL fully symmetric, responding appropriately to both bull and bear markets.
🔶 Key Features
3-axis continuous-score engine: precise consensus measurement in -100..+100 per axis
Lean voting system: neutral axes (|score| ≤ 10) excluded; only leaning axes drive consensus symmetrically
RL-style adaptive axis weights: each axis auto-weighted 1.0-1.8× by past accuracy
4-way regime auto-classification: Trend/Range/Volatile/Quiet biases axis weights
MTF alignment filter: two higher TFs (default 1h/4h) evaluated against current TF
Q-learning adaptive threshold: best trigger level learned within preset range
3-tier EMA cloud: short (8-21) / mid (21-55) / long (55-200) clouds stacked for layered trend perception
4-color tetrachrome palette: strong bull / weak bull / weak bear / strong bear visually separated
ATR-based auto SL/TP drawn on signals
3 presets: Beginner (default) / Standard / Aggressive
13-row integrated dashboard with DIAGNOSTIC row that fully exposes firing conditions
Custom alert support
🧠 Technical Architecture
This is a consensus system of three independent continuous scorers. Trend axis linearly combines 5-EMA stack alignment (25 points × 4 slots), Dow-style HH/HL vs LH/LL (pivot-swing update pattern), and ADX strength in 0.5:0.3:0.2. Momentum axis combines QQE-style RSI (distance from 50 × 2) and MACD histogram normalized by ATR in 0.6:0.4. Volatility axis uses Bollinger band width expansion/squeeze, ATR ratio healthy-range check (0.6-1.6), strong-candle (body/range > 0.5) gating, voting in the candle direction when conditions hold; price slope/ATR × 20 is added as a continuous component. Consensus uses lean voting: each axis is categorized as "↑lean (>10)" / "↓lean (<-10)" / "neutral (-10..10)"; majority among leaning axes plus a spread constraint determines toleranceOK. Neutral axes don't influence judgment, so even when the Volatility axis is often neutral, signals can still fire when other axes align — preserving BUY/SELL symmetry. Strong condition fires only when toleranceOK + |finalScore| ≥ activeThr + Trend axis leans in signal direction + majority agreed — all four conditions met. The AI layers use online EWMA reliability learning (α = 0.15 × Adaptation Strength) and ε-greedy Q-learning across 4 threshold candidates.
⚙️ Recommended Settings & Tuning Guide
Default is Beginner preset (threshold 50-70) for low false-signal rate. Switch to Standard (40-60) once familiar, or Aggressive (30-50) for advanced use. Cross-Axis Tolerance 20 baseline; 10 stricter, 30 looser. Adaptation Strength 1.0 is standard learning speed. MTF defaults 1h/4h; for 5-min trading change to 15m/1h; for daily use day/week. Min Weight 0.6 / Max Weight 1.8 controls the adaptive learning range; raise Max above 2.0 for more responsiveness.
💡 How to Use in Practice
Apply to chart and 3-axis consensus produces a large arrow with SL/TP lines and Confidence%-labeled bubble. Bar color (green/blue/yellow/red) gives instant consensus state. The HUD's "axis lean ↑n / ↓n ✓/✗" row shows how many axes lean up/down/neutral, and the bottom DIAGNOSTIC row exposes the current state. Examples:
✓ "★ BUY firing": strong-bull signal active on this bar
✗ "axes disagree": axes not aligned in one direction
✗ "+15 score to BUY": finalScore needs 15 more points to fire BUY
✗ "trend not down": Momentum/Volatility are down but Trend axis is neutral / not enough
✗ "BUY held (locked)": hysteresis preventing re-fire from prior BUY
Confidence ≥ 70% = strong entry, 40-70% = monitor, < 40% = skip is the practical workflow. "Quiet" regime means all signals are weak; "Trend" regime is the most reliable.
🧩 Relationship with Strategy Version
The indicator (AE-TRIAX) and strategy version (AE-TRIAX-S) share an identical signal-firing engine. Arrows print on the same bars and HUD values match across both. The strategy adds three execution-only safety filters (position already open, Confidence < 40%, drawdown breach) that only gate the entry call. Use the indicator for chart analysis and manual entry; use the strategy for backtesting and automated execution — they will agree on signals.
⚠️ Important Notes
This is an independent triaxial consensus system, not true multi-agent RL or deep learning. Each axis is a rule-based scorer; the AI layers reproduce the mathematical core of those techniques within Pine's limits (online EWMA reliability learning, Q-learning argmax selection, MTF alignment evaluation). MTF is via request.security so there's a small confirmed-bar delay. Q-learning requires per-instrument learning; during initial data accumulation, optimization is incomplete. All signals are probabilistic decisions based on historical data and do not guarantee future profits.
🚨 Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice. No signal guarantees future profit, and past performance does not indicate future results. All trading decisions are made at your own risk.
AE-TRIAX is a high-conviction indicator that fires signals only when three independent analysis axes (Trend, Momentum, Volatility) agree. Each axis returns a continuous score in -100 to +100 rather than a discrete vote, so consensus is visualized as a gradient. Five AI/ML/RL layers — RL-style adaptive axis weights, ML regime classifier, MTF alignment, Q-learning thresholds, and Confidence% — self-tune per instrument, supporting everything from beginner presets to advanced customization. The lean voting system (which excludes neutral axes) makes BUY/SELL fully symmetric, responding appropriately to both bull and bear markets.
🔶 Key Features
3-axis continuous-score engine: precise consensus measurement in -100..+100 per axis
Lean voting system: neutral axes (|score| ≤ 10) excluded; only leaning axes drive consensus symmetrically
RL-style adaptive axis weights: each axis auto-weighted 1.0-1.8× by past accuracy
4-way regime auto-classification: Trend/Range/Volatile/Quiet biases axis weights
MTF alignment filter: two higher TFs (default 1h/4h) evaluated against current TF
Q-learning adaptive threshold: best trigger level learned within preset range
3-tier EMA cloud: short (8-21) / mid (21-55) / long (55-200) clouds stacked for layered trend perception
4-color tetrachrome palette: strong bull / weak bull / weak bear / strong bear visually separated
ATR-based auto SL/TP drawn on signals
3 presets: Beginner (default) / Standard / Aggressive
13-row integrated dashboard with DIAGNOSTIC row that fully exposes firing conditions
Custom alert support
🧠 Technical Architecture
This is a consensus system of three independent continuous scorers. Trend axis linearly combines 5-EMA stack alignment (25 points × 4 slots), Dow-style HH/HL vs LH/LL (pivot-swing update pattern), and ADX strength in 0.5:0.3:0.2. Momentum axis combines QQE-style RSI (distance from 50 × 2) and MACD histogram normalized by ATR in 0.6:0.4. Volatility axis uses Bollinger band width expansion/squeeze, ATR ratio healthy-range check (0.6-1.6), strong-candle (body/range > 0.5) gating, voting in the candle direction when conditions hold; price slope/ATR × 20 is added as a continuous component. Consensus uses lean voting: each axis is categorized as "↑lean (>10)" / "↓lean (<-10)" / "neutral (-10..10)"; majority among leaning axes plus a spread constraint determines toleranceOK. Neutral axes don't influence judgment, so even when the Volatility axis is often neutral, signals can still fire when other axes align — preserving BUY/SELL symmetry. Strong condition fires only when toleranceOK + |finalScore| ≥ activeThr + Trend axis leans in signal direction + majority agreed — all four conditions met. The AI layers use online EWMA reliability learning (α = 0.15 × Adaptation Strength) and ε-greedy Q-learning across 4 threshold candidates.
⚙️ Recommended Settings & Tuning Guide
Default is Beginner preset (threshold 50-70) for low false-signal rate. Switch to Standard (40-60) once familiar, or Aggressive (30-50) for advanced use. Cross-Axis Tolerance 20 baseline; 10 stricter, 30 looser. Adaptation Strength 1.0 is standard learning speed. MTF defaults 1h/4h; for 5-min trading change to 15m/1h; for daily use day/week. Min Weight 0.6 / Max Weight 1.8 controls the adaptive learning range; raise Max above 2.0 for more responsiveness.
💡 How to Use in Practice
Apply to chart and 3-axis consensus produces a large arrow with SL/TP lines and Confidence%-labeled bubble. Bar color (green/blue/yellow/red) gives instant consensus state. The HUD's "axis lean ↑n / ↓n ✓/✗" row shows how many axes lean up/down/neutral, and the bottom DIAGNOSTIC row exposes the current state. Examples:
✓ "★ BUY firing": strong-bull signal active on this bar
✗ "axes disagree": axes not aligned in one direction
✗ "+15 score to BUY": finalScore needs 15 more points to fire BUY
✗ "trend not down": Momentum/Volatility are down but Trend axis is neutral / not enough
✗ "BUY held (locked)": hysteresis preventing re-fire from prior BUY
Confidence ≥ 70% = strong entry, 40-70% = monitor, < 40% = skip is the practical workflow. "Quiet" regime means all signals are weak; "Trend" regime is the most reliable.
🧩 Relationship with Strategy Version
The indicator (AE-TRIAX) and strategy version (AE-TRIAX-S) share an identical signal-firing engine. Arrows print on the same bars and HUD values match across both. The strategy adds three execution-only safety filters (position already open, Confidence < 40%, drawdown breach) that only gate the entry call. Use the indicator for chart analysis and manual entry; use the strategy for backtesting and automated execution — they will agree on signals.
⚠️ Important Notes
This is an independent triaxial consensus system, not true multi-agent RL or deep learning. Each axis is a rule-based scorer; the AI layers reproduce the mathematical core of those techniques within Pine's limits (online EWMA reliability learning, Q-learning argmax selection, MTF alignment evaluation). MTF is via request.security so there's a small confirmed-bar delay. Q-learning requires per-instrument learning; during initial data accumulation, optimization is incomplete. All signals are probabilistic decisions based on historical data and do not guarantee future profits.
🚨 Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial or investment advice. No signal guarantees future profit, and past performance does not indicate future results. All trading decisions are made at your own risk.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน