MAM Black
- Uzman Danışmanlar
- Matei-Alexandru Mihai
- Sürüm: 2.0
- Etkinleştirmeler: 5
Overview
MAM Black is a profit-only grid system engineered for the S&P 500 / US500 family of symbols.
It builds a one-sided grid in the direction of the EMA slope, controls distance with ATR, and exits only on profit using equity-based targets and trailing. When risk conditions deteriorate, it automatically freezes, pauses, or light-hedges to protect the account.
The logic is transparent and broker-compliant: no martingale multipliers, no scalper tricks, no DLLs.
Key Features
-
Trend-aligned grid – entries allowed only when price and EMA slope agree.
-
ATR-adaptive step – grid distance = max(GridStepPoints, ATR*multiplier) .
-
Profit-only basket close – closes a basket only above a configurable profit ( TP_GridEquity ) or equity-trail thresholds.
-
Equity-based trailing & skim – locks gains with TrailingEquityPct , LocalDrawdownClosePct , and optional partial “skim”.
-
Freeze / Pause states – auto-freeze on equity drop or long basket age; auto-pause on daily drawdown cap.
-
Trading session filter – trades only within user hours; after hours it seeks a small profit and stands down.
-
Anti-spike guard – ATR-range blocker + time cooldown to avoid volatile bars.
-
Optional auto-hedge – reduces net exposure when margin level or equity drop conditions are met.
-
Whitelist for symbols – runs on a curated list (US500/SP500 variants); a minimal validation fallback exists for Market checks.
-
Position handling – robust ticket-based management (no PositionSelectByIndex ).
Recommended Use
-
Instrument: S&P 500 / US500 symbols supported by your broker (e.g., SP500m, US500, US500.cash, SPX500, US500m, SP500 ).
-
Timeframe: M5 internal signals; attach on any chart.
-
Account type: MT5 account offering US500/Index CFDs.
-
Default profile: Start with the provided defaults; adjust InitialLots , TP_GridEquity , and MaxPositions to match balance and broker limits.
How It Manages Risk
-
Daily risk cap: SL_Total_Pct pauses new entries for the rest of the day.
-
Equity-trail: When equity pulls back from a local max by TrailingEquityPct or LocalDrawdownClosePct , the EA attempts a profit-only exit or skims the basket.
-
Freeze logic: FreezeDropPct and FreezeAfterHours stop layering until conditions improve.
-
Switch control: EMA-based trend trigger flips the side without closing in loss.
-
Session discipline: outside TradeStartHour…TradeEndHour , the EA will only try to flatten in profit.
Main Inputs (grouped)
Grid
-
InitialLots , LotDecay , GridStepPoints , MaxPositions
Profit & Equity Management
-
TP_GridEquity , TrailingEquityPct , LocalDrawdownClosePct , MinProfitClose , FreezeDropPct
-
MaxBasketAgeHours , FreezeAfterHours , BlockOppositeWhileBasket
Trend & Volatility
-
TrendEMA_Period , EmaSlopeBars , Trend_Trigger_Pct
-
ATR_Period , ATR_Mult_Grid , MaxEmaDistPct
Session & Safety
-
TradeStartHour , TradeEndHour , SL_Total_Pct , MaxLossStreak
Anti-Spike & Cooldowns
-
SpikeATRMult , SpikeCooldownBars , EntryCooldownSec
Hedge (optional)
-
EnableAutoHedge , HedgeWhenMarginLevelPct , HedgeOnDropPct
Market Validation & Tags
-
RestrictToSymbols , AllowedSymbolsCSV , EnableValidationFallback , InpMagic
Notes
-
Use a unique Magic Number per chart.
-
Backtest with tick data and realistic contract specifications.
-
Ensure your US500 symbol name is present in AllowedSymbolsCSV .
-
The EA places SL/TP server-side only when safe; profit management is basket/equity-driven.
-
No external libraries, no DLLs.
Philosophy
Precision. Discipline. Risk Control.
MAM Black aims to capture index trends with a measured grid, exiting only on profit and stepping aside when conditions are not favorable.