NICS Gold Grid
- エキスパート
- バージョン: 1.1
- アクティベーション: 10
NICS Gold Grid is a trend-based grid expert for XAUUSD (gold), developed by NICS Trading Ecosystem (AI Byte Consult Ltd).
The expert works fully inside MetaTrader 5: no internet requests, no DLL, no external signals. It is designed for gold only. On any other symbol it places no orders and writes a note to the journal.
Two modes (input InpMirror)
- Mirror mode (default since version 1.02): at each grid level the expert places a stop order against the H1 trend - in an up trend a SELL STOP below the price, in a down trend a BUY STOP above the price. Every order has its own stop loss of 2 $ against it and its own take profit of 6 $ in its direction. Most trades end with the small stop, a smaller share reaches the larger take.
- Classic mode (InpMirror = false, the logic of version 1.01): BUY LIMIT / SELL LIMIT orders with the H1 trend at the same levels, take profit +1 $ per order and one common protective stop for the ladder (6-12 $ beyond the farthest order, beyond the recent M5 swing). After the common stop the grid switches itself off until you re-apply the inputs.
How the levels are chosen (both modes)
- Trend: buys side when the last closed H1 bar is above EMA 50 and not below the low of the previous H1 bar, and the M5 swing makes no new low (last 6 bars against the previous 6). Sells side is the mirror image. No clear trend - no new orders, unfilled orders are removed.
- Levels: first level 3 $ from the price, then every 1.5 $, 3 levels by default (under the price in an up trend, above it in a down trend).
- No new orders within 5 $ of an unbroken M5 high (up trend) or low (down trend) older than 30 minutes, after a pullback of at least 3 $.
- If the price moves 5 $ away in the trend direction, unfilled orders are moved with it.
- No new orders 22:00-23:05 UTC (daily broker break) and at weekends.
Safety checks before every order
- Margin level now and after the order at least 200 %, used margin with pending orders at most 50 % of equity, free margin after the order at least 20 %.
- Trade session open, trading allowed, pending order limit, stops level and freeze level, volume step/min/max, OrderCheck.
- Maximum spread filter (0.60 $ by default).
Main inputs
- InpEnable - turn the grid on or off.
- InpMagic - magic number (260950).
- InpLevels - number of orders in the ladder (3).
- InpOunces - size of each order in ounces (1 oz = 0.01 lot at a 100 oz contract).
- InpStepUSD / InpFirstGapUSD - distance between levels and of the first level from the price (1.5 $ / 3 $).
- InpMirror - true = mirror stop orders, false = classic limit orders.
- InpMirrorTakeUSD / InpMirrorStopUSD - take profit and stop loss of each order in mirror mode (6 $ / 2 $).
- InpTakeUSD - take profit of each order in classic mode (1 $).
- InpStopMinUSD / InpStopMaxUSD, InpShelfBars / InpShelfBufferUSD, InpStopAfterSL - common stop settings of the classic mode.
- InpDailyLossLimit - optional daily loss limit in account currency (0 = off).
- InpMaxSpreadUSD - maximum spread (0.60 $).
- InpMinMarginLevelPct / InpMaxMarginPct / InpMinFreeMarginPct - margin guard (200 / 50 / 20).
- InpUseTimeFilter - daily break and weekend pause (true).
- InpTesterGmtOffset - broker GMT offset used only in the Strategy Tester (2).
Requirements
- Hedging account, XAUUSD (or the broker's gold symbol containing XAU or GOLD), any timeframe chart (the expert reads H1 and M5 itself).
Risk warning
Both modes trade a grid of small orders. The mirror mode gives many small losses and fewer larger wins, the classic mode gives many small wins and rare larger losses. No mode is guaranteed to be profitable. Past results do not guarantee future results. Always test on a demo account first and use a size you can afford to lose.
