Gold Block Sentinel
- Experts
- Twin Fitersya
- Versão: 1.90
This Expert Advisor (EA), titled Gold Block Sentinel, is designed to trade based on Smart Money Concepts (SMC), specifically focusing on the interaction between Order Blocks (OB) and Fair Value Gaps (FVG).
Here is a detailed breakdown of how the EA functions:
1. Core Trading Strategy
The EA follows a three-step confirmation process before entering a trade:
-
Market Structure Break (BOS): The EA monitors the price to see if it breaks the previous high (for Bullish) or previous low (for Bearish) within a specific lookback period ( InpLookback ). This indicates a potential change or continuation in trend.
-
Order Block Detection: Once a break occurs, the EA looks for the "last opposite candle" before the aggressive move.
-
For a Buy, it looks for the last Bearish candle.
-
For a Sell, it looks for the last Bullish candle.
-
-
FVG Filter (The Imbalance): To ensure the move has institutional strength, the EA checks for a Fair Value Gap (a price jump that leaves a hole in the chart) immediately following the Order Block. If the gap is larger than InpMinFVGPips , the setup is considered valid.
2. Intelligent Execution (Smart Entry)
One of the most advanced features of this version (v1.9) is how it handles orders to avoid "Invalid Price" errors:
-
Limit Orders: If the current market price is still far from the Order Block, the EA places a Limit Order to wait for the price to return to the zone.
-
Market Execution: If the price has already returned to or touched the Order Block zone when the signal is detected, the EA will execute an Instant Market Order. This ensures you don't miss the trade if the price move is too fast.
3. Safety and Risk Management
-
Volume Normalization: The EA automatically communicates with your broker's server to check the minimum allowed lot size (e.g., 0.01 or 0.10). It rounds your lot size to the nearest valid increment to prevent "Invalid Volume" errors.
-
Margin Check: Before opening a trade, the EA calculates the required margin. If your Free Margin is insufficient (which happened in your $1 balance tests), the EA will skip the trade to protect the account from a stop-out.
-
One Trade Per Bar: To prevent "spamming" the broker with multiple orders at the same price, the EA is locked to check for signals only once per candle (New Bar Logic).
4. Key Input Parameters
| Parameter | Description |
| InpLot | The trading volume (Lot). Recommended 0.01 for small balances. |
| InpSLPips | Stop Loss distance in pips. |
| InpTPPips | Take Profit distance in pips (usually 2x or 3x the SL). |
| InpLookback | How many previous candles to check for the High/Low break. |
| InpMinFVGPips | The minimum size of the price gap required to confirm the move. |
Summary
In short, this EA acts like a "Sniper." It waits for big institutions to move the market (BOS + FVG), identifies the zone where they entered (Order Block), and either waits for the price to come back to that zone or jumps in immediately if the price is already there.
