OPEN-SOURCE SCRIPT

Apex Adaptive Trail [Neuro-Core Auto]

158
Self-tuning trend and trade management framework

This version is a major functional upgrade of the original Apex Adaptive Trail.
It introduces an Auto-Pilot engine that dynamically adapts the indicator’s behavior to the active chart timeframe, reducing the need for manual tuning while preserving full transparency and control.

1. What Makes This Version Different

Unlike previous versions, v6 AUTO is not configured manually by default.

When Auto-Pilot is enabled, the script:

Detects the chart timeframe
Automatically adjusts ATR length and multiplier
Dynamically sets confidence thresholds
Modifies decay speed and add cooldowns
The result is a timeframe-aware execution model, not a fixed-parameter indicator.
Manual mode remains available for advanced users.

2. Core Architecture (Not a Simple Mashup)

This script is built as a single, state-driven system where each component influences the others.
Adaptive ATR Trail The trailing level defines both:
Trend direction
Dynamic exit logic
Its sensitivity is adjusted using volatility statistics and Auto-Pilot parameters.
Volatility Regime Detection
An ATR Z-Score is used to identify abnormal volatility conditions:
Expands the trail during high volatility
Restricts position adds when volatility is excessive

3. Confidence-Driven Decision Engine
Instead of binary signals, the script computes a normalized confidence score based on:
EMA distance (trend alignment)
ADX (trend strength)
Choppiness Index (market structure)
Daily higher-timeframe bias

All values are merged into a single confidence metric that controls:
Initial entries
Additional entries (pyramiding)
Emergency exits

4. Auto-Pilot Logic (Timeframe Adaptive)
When Auto-Pilot is active, the script selects a behavioral profile:
Turbo Mode (M1–M5): fast reaction, tight decay
Scalp Mode (M15): balanced sensitivity
Day Mode (M30): moderate trend persistence
Swing Mode (H1+): conservative and stable
This allows the same script to be used across multiple timeframes without retuning inputs.

5. Trade State & Risk Governance

The script internally tracks trade state:

FLAT LONG SHORT

Position adds are allowed only when: Price pulls back toward the adaptive trail
Confidence remains above a dynamic threshold
Volatility and cooldown conditions are respected
A Guardian system can force exits when confidence collapses during active trades.

6. How to Use

Follow the trail for trend direction INIT labels indicate potential trend starts
ADD labels indicate controlled continuation opportunities
Exit occurs on trail breaks or Guardian protection
Designed for trend-following and trade management, not for scalping or signal-only use.

7. Difference vs Previous Apex Adaptive Trail

Compared to earlier versions, update introduces:

Timeframe-aware Auto-Pilot configuration
Dynamic thresholds for entries, adds, and exits
Reduced need for manual parameter optimization
Improved usability for non-programmers
Earlier versions remain suitable for users who prefer full manual control.

8. Open-Source & Credits

This script is published as open-source under the Mozilla Public License 2.0.

© mentalExpert19609

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.