Gold smc ob stealth tp
- Uzman Danışmanlar
- Chaibadee Dechtanankul
- Sürüm: 14.0
- Etkinleştirmeler: 5
This trading system, GOLD SMC OB RECOVERY STEALTH TP, is a sophisticated MQL5 Expert Advisor designed specifically for the 15-minute (M15) timeframe. It combines institutional trading logic with a robust recovery mechanism.
Here is the full technical breakdown of how the system operates:
1. Market Structure Analysis (SMC Logic)
The EA does not trade randomly; it follows the Smart Money Concepts (SMC) framework to identify high-probability entries:
Trend Identification: Using a ZigZag-based logic (set by InpZigZagLen), the EA monitors recent Highs and Lows on the M15 chart.
Market Structure Shift (MSS): When the current price closes above the previous High, the EA confirms a Bullish Trend.
Order Block (OB) Detection: Once a bullish break occurs, the system identifies the last "Down-Close" candle (the Bearish candle) before the upward surge. This area is marked as the Order Block zone, acting as a high-liquidity demand area.
2. Entry Strategy (Grid Buy Limits)
Instead of a single "Market Execution" entry, the EA uses a Grid System to catch the price during a retracement:
Grid Placement: The EA automatically places multiple Buy Limit orders (default is 20 orders) distributed within the identified Order Block zone.
Cost Averaging: As the price dips into the OB zone, it triggers these orders. This allows the system to build a position with a better Volume Weighted Average Price (VWAP).
3. The "Stealth TP" Technology
The core feature of this EA is the Stealth Take Profit, which manages exits locally without sending TP levels to the broker's server:
Hidden Targets: By setting InpUseStealth = true, the TP levels are kept in the EA's memory. This prevents "Stop Hunting" and hides your profit targets from the broker.
Visual Tracking: The EA draws a dashed red line (labeled STEALTH_) on your chart. This is the calculated exit point.
Single Position: If only one trade is open, the exit is calculated based on InpTakeProfit (points).
Basket Recovery (Multiple Positions): If the grid is triggered and multiple trades are open, the EA switches to Basket Management:
It calculates the Breakeven Point for all trades.
It adds a dollar-amount profit target (e.g., $5.0 via InpBasketProfit).
Once the Total Net Profit (Profit + Swap + Commission) reaches the target, the EA executes a CloseAll command instantly.
4. Operational Controls & UI
Time Filter: The system includes a "Double Session" filter. It only looks for new setups during specific hours (e.g., 06:00–18:00 and 22:00–02:00) to avoid low-liquidity periods or high-spread gaps.
Interactive Dashboard: The UI provides real-time data including:
Market Trend: Displays "BULLISH" or "BEARISH."
Account Health: Real-time Equity, Balance, and Net Profit tracking.
Manual Buttons: Allows you to "Quick Buy," "Close All," or "Clear Pending" orders with a single click.
Summary of Workflow
Analyze: Wait for an M15 structural break to the upside.
Locate: Find the institutional "Order Block" (the footprint of the "Smart Money").
Deploy: Set a grid of Buy Limits inside that block.
Manage: If price hits the grid, the EA monitors the total basket profit.
Exit: Once the "Stealth" target is hit, the EA closes all positions to bank the profit.
Crucial Requirement: Since the Stealth TP logic resides within the EA (not on the broker's server), you must keep your MT5 platform running 24/7 or use a VPS (Virtual Private Server). If the platform is closed, the trades will not have an automatic exit point.
