OPEN-SOURCE SCRIPT
🤖 DarkPool's Omni-MA APEX v3 🤖

DarkPool's Omni-MA APEX v3 is an all-encompassing technical analysis suite designed to replace multiple indicators with a single, highly optimized tool. At its core, it features five independently customizable "Omni-MAs" capable of running various calculation models (SMA, EMA, HMA, LSMA, etc.) across multiple timeframes.
Beyond standard trend lines, the APEX v3 integrates a sophisticated "Market Structure Engine" that automatically plots Support & Resistance zones based on pivot points and volatility (ATR). It also features a "Trend Cloud" to visualize macro sentiment and a professional-grade Dashboard that aggregates data from over 10 different sources (RSI, MACD, OBV, Volume, etc.) to provide a real-time health check of the asset.
Key Features
5-Layer Omni-MA System: Five distinct moving averages with "Smart Coloring" that detects trends, consolidations (flat markets), and reversals.
Auto Support & Resistance: A dynamic algorithm that draws, updates, and prunes liquidity zones on the chart automatically.
Macro Trend Cloud: A visual background fill comparing Daily and Weekly momentum to keep you aligned with the higher timeframe.
Data Dashboard: A customizable panel displaying real-time metrics for Momentum, Volume, RSI, Divergences, and VWAP status.
Signal Generator: Alerts for MA crossovers, S/R breakouts, and trend shifts.
How to Use
1. The Omni-MAs (The Lines) The indicator plots up to five lines, color-coded for instant trend recognition:
Green/Blue: Price is above the previous value (Uptrend).
Red/Maroon: Price is below the previous value (Downtrend).
Gray: The line is flat (Consolidation/Chop).
MA 1-2 (Fast): Use these for entry triggers and scalping.
MA 3 (Medium): The "Anchor" line, often used as dynamic support.
MA 4-5 (Slow): The macro trend filters. If price is below MA 5, looking for longs is risky.
2. The Trend Cloud
Background Fill: This visualizes the difference between the Daily EMA and Weekly EMA.
Green Cloud: The Daily trend is above the Weekly trend (Strong Bullish Market).
Red Cloud: The Daily trend is below the Weekly trend (Strong Bearish Market).
3. Support & Resistance Zones
The Boxes: The script identifies pivot points and projects them forward as boxes.
Strategy: Watch for price to react at these zones. If a candle closes through a zone, it signals a Breakout (Green triangle) or Breakdown (Red triangle).
4. The Dashboard Located in the corner of your chart, this table provides a "Cockpit View" of the market:
Momentum Score: A composite score (-100 to +100) derived from RSI, MACD, and Stochastic.
Vol Ratio: Compares current volume to the average. A green bar indicates volume is higher than usual.
Market State: Classifies the market into regimes like "Volatile Bull," "Quiet Bear," or "Ranging."
Configuration Settings
Dashboard UI
Compact Mode: Reduces the table to show only the final Buy/Sell signal.
Active Widgets: Toggle individual data points (e.g., turn off "OBV" or "ADX" if you don't use them) to save screen space.
Global Analysis (Strategy Engine)
ATR Filter: Filters out "Weak" trends. If the price movement is too small (low volatility), signals are suppressed.
Volume MA: Sets the lookback period for calculating relative volume.
Support & Resistance
Pivot Sensitivity: Lower numbers find more zones (more noise); higher numbers find fewer, stronger zones.
Zone Width: Multiplies the ATR to determine how thick the S/R boxes should be.
MA Settings (1-5)
Type: Choose from SMA, EMA, WMA, HMA (Hull), VWMA, LSMA, ALMA, and more.
Timeframe: You can set MA 5 to "D" (Daily) while trading on a 15-minute chart to see the daily trend line overlaid.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
Beyond standard trend lines, the APEX v3 integrates a sophisticated "Market Structure Engine" that automatically plots Support & Resistance zones based on pivot points and volatility (ATR). It also features a "Trend Cloud" to visualize macro sentiment and a professional-grade Dashboard that aggregates data from over 10 different sources (RSI, MACD, OBV, Volume, etc.) to provide a real-time health check of the asset.
Key Features
5-Layer Omni-MA System: Five distinct moving averages with "Smart Coloring" that detects trends, consolidations (flat markets), and reversals.
Auto Support & Resistance: A dynamic algorithm that draws, updates, and prunes liquidity zones on the chart automatically.
Macro Trend Cloud: A visual background fill comparing Daily and Weekly momentum to keep you aligned with the higher timeframe.
Data Dashboard: A customizable panel displaying real-time metrics for Momentum, Volume, RSI, Divergences, and VWAP status.
Signal Generator: Alerts for MA crossovers, S/R breakouts, and trend shifts.
How to Use
1. The Omni-MAs (The Lines) The indicator plots up to five lines, color-coded for instant trend recognition:
Green/Blue: Price is above the previous value (Uptrend).
Red/Maroon: Price is below the previous value (Downtrend).
Gray: The line is flat (Consolidation/Chop).
MA 1-2 (Fast): Use these for entry triggers and scalping.
MA 3 (Medium): The "Anchor" line, often used as dynamic support.
MA 4-5 (Slow): The macro trend filters. If price is below MA 5, looking for longs is risky.
2. The Trend Cloud
Background Fill: This visualizes the difference between the Daily EMA and Weekly EMA.
Green Cloud: The Daily trend is above the Weekly trend (Strong Bullish Market).
Red Cloud: The Daily trend is below the Weekly trend (Strong Bearish Market).
3. Support & Resistance Zones
The Boxes: The script identifies pivot points and projects them forward as boxes.
Strategy: Watch for price to react at these zones. If a candle closes through a zone, it signals a Breakout (Green triangle) or Breakdown (Red triangle).
4. The Dashboard Located in the corner of your chart, this table provides a "Cockpit View" of the market:
Momentum Score: A composite score (-100 to +100) derived from RSI, MACD, and Stochastic.
Vol Ratio: Compares current volume to the average. A green bar indicates volume is higher than usual.
Market State: Classifies the market into regimes like "Volatile Bull," "Quiet Bear," or "Ranging."
Configuration Settings
Dashboard UI
Compact Mode: Reduces the table to show only the final Buy/Sell signal.
Active Widgets: Toggle individual data points (e.g., turn off "OBV" or "ADX" if you don't use them) to save screen space.
Global Analysis (Strategy Engine)
ATR Filter: Filters out "Weak" trends. If the price movement is too small (low volatility), signals are suppressed.
Volume MA: Sets the lookback period for calculating relative volume.
Support & Resistance
Pivot Sensitivity: Lower numbers find more zones (more noise); higher numbers find fewer, stronger zones.
Zone Width: Multiplies the ATR to determine how thick the S/R boxes should be.
MA Settings (1-5)
Type: Choose from SMA, EMA, WMA, HMA (Hull), VWMA, LSMA, ALMA, and more.
Timeframe: You can set MA 5 to "D" (Daily) while trading on a 15-minute chart to see the daily trend line overlaid.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of 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.