OPEN-SOURCE SCRIPT
Adaptive Structure Trend Engine (ASTE)

Adaptive Structure Trend Engine (ASTE)
Adaptive Structure Trend Engine (ASTE) is a non-repainting, multi-layer trend analysis indicator designed to help traders identify high-quality directional opportunities using market structure and adaptive moving averages. ASTE focuses on trend clarity, confirmation, and signal cleanliness, avoiding indicator noise and repeated signals.
🔍 Core Components
ASTE combines four powerful concepts into a single, structured framework:
• FRAMA (Fractal Adaptive Moving Average)
Detects market structure and directional slope changes.
• KAMA (Kaufman Adaptive Moving Average)
Measures price efficiency and regime stability.
• JMA (Jurik-style Moving Average)
Provides smooth momentum confirmation with minimal lag.
• EMA Hierarchy (21/50 + 50/100/150/200)
Validates trend strength and higher-order alignment.
📊 Signal Types
ASTE produces state-based signals (no repeated alerts on every bar):
1️⃣ Base Signal
Single tiny triangle
• FRAMA slope alignment
• KAMA direction confirmation
• JMA momentum confirmation
• EMA 21/50 trend validation
2️⃣ Strong Signal
Two stacked triangles
• All Base Signal conditions
• PLUS EMA 50/100/150/200 full trend confluence
Signals remain active until an opposite signal of the same type appears.
🎨 Visual Design
• Clean stacked triangle system
• No repainting
• No signal spam
• EMA band with gradual color transition
• Fully configurable visibility options
⚙️ User Controls
• Adjust FRAMA, KAMA, and JMA lengths
• Toggle Base / Strong signals
• Show or hide EMA band
• Works on all markets and timeframes
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice or trade recommendations. Always use proper risk management and confirm signals with additional analysis. Past performance does not guarantee future results.
Adaptive Structure Trend Engine (ASTE) is a non-repainting, multi-layer trend analysis indicator designed to help traders identify high-quality directional opportunities using market structure and adaptive moving averages. ASTE focuses on trend clarity, confirmation, and signal cleanliness, avoiding indicator noise and repeated signals.
🔍 Core Components
ASTE combines four powerful concepts into a single, structured framework:
• FRAMA (Fractal Adaptive Moving Average)
Detects market structure and directional slope changes.
• KAMA (Kaufman Adaptive Moving Average)
Measures price efficiency and regime stability.
• JMA (Jurik-style Moving Average)
Provides smooth momentum confirmation with minimal lag.
• EMA Hierarchy (21/50 + 50/100/150/200)
Validates trend strength and higher-order alignment.
📊 Signal Types
ASTE produces state-based signals (no repeated alerts on every bar):
1️⃣ Base Signal
Single tiny triangle
• FRAMA slope alignment
• KAMA direction confirmation
• JMA momentum confirmation
• EMA 21/50 trend validation
2️⃣ Strong Signal
Two stacked triangles
• All Base Signal conditions
• PLUS EMA 50/100/150/200 full trend confluence
Signals remain active until an opposite signal of the same type appears.
🎨 Visual Design
• Clean stacked triangle system
• No repainting
• No signal spam
• EMA band with gradual color transition
• Fully configurable visibility options
⚙️ User Controls
• Adjust FRAMA, KAMA, and JMA lengths
• Toggle Base / Strong signals
• Show or hide EMA band
• Works on all markets and timeframes
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice or trade recommendations. Always use proper risk management and confirm signals with additional analysis. Past performance does not guarantee future results.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.