OPEN-SOURCE SCRIPT
AlphaTrend | APEX [Singularity]

This is a customized Trend Tracer style system designed to capture high-quality moves while filtering out noise. It combines three core "Engines":
1. Kinetic Trend Engine (The "Ribbon")
Logic: Uses a Dual-ALMA Ribbon (Arnaud Legoux Moving Average).
Fast Line (Leader): Responsive, hugs price.
Slow Line (Laggard): Smooth, validates structure.
Signals: "BUY" and "SELL" labels trigger exactly when the ribbon twists (Crossover/Crossunder).
Filters:
Entropy & Hurst: Measures market chaos. The ribbon turns Gray/Faded during choppy conditions to warn against trading.
2. Flow Engine (Whale Validation)
Whale Volume: Checks for relative volume spikes (> 1.2x average) and Money Flow intensity.
Confirmation: Signals are stronger when accompanied by the Whale Icon (🐋), indicating institutional participation.
3. Liquidity Magnets (Targets)
Logic: Automatically detects recent Swing Highs and Lows.
Visuals: Dashed lines extend forward to act as dynamic Support/Resistance levels or Take Profit targets.
Behavior: Lines disappear when price tests (breaks) them, indicating "Liquidity Taken".
Visuals
Cloud: Dynamic Green/Red fill between the ribbon lines.
HUD: Heads-Up Display showing current Trend, Market State (Clean/Chop), Flow Status, and Active Magnets.
Labels: Clean "Tag" style labels for entry signa
1. Kinetic Trend Engine (The "Ribbon")
Logic: Uses a Dual-ALMA Ribbon (Arnaud Legoux Moving Average).
Fast Line (Leader): Responsive, hugs price.
Slow Line (Laggard): Smooth, validates structure.
Signals: "BUY" and "SELL" labels trigger exactly when the ribbon twists (Crossover/Crossunder).
Filters:
Entropy & Hurst: Measures market chaos. The ribbon turns Gray/Faded during choppy conditions to warn against trading.
2. Flow Engine (Whale Validation)
Whale Volume: Checks for relative volume spikes (> 1.2x average) and Money Flow intensity.
Confirmation: Signals are stronger when accompanied by the Whale Icon (🐋), indicating institutional participation.
3. Liquidity Magnets (Targets)
Logic: Automatically detects recent Swing Highs and Lows.
Visuals: Dashed lines extend forward to act as dynamic Support/Resistance levels or Take Profit targets.
Behavior: Lines disappear when price tests (breaks) them, indicating "Liquidity Taken".
Visuals
Cloud: Dynamic Green/Red fill between the ribbon lines.
HUD: Heads-Up Display showing current Trend, Market State (Clean/Chop), Flow Status, and Active Magnets.
Labels: Clean "Tag" style labels for entry signa
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.