MAM Black
- Experts
- Matei-Alexandru Mihai
- Version: 2.0
- Activations: 5
⚡ Only 3/10 copies left at the launch price of $95! ⚡
Philosophy — “Profit only. Discipline above all.”
Most grids eventually fold under pressure: they add recklessly, panic-close in red, or drift into margin stress. MAM Black is built on the opposite philosophy — a grid that never forces red closes. It banks profit when the market offers it and steps aside when conditions turn hostile.
At its core, MAM Black is about profit-only exits, discipline through rules, and adaptive patience. When volatility spikes, it doesn’t gamble — it freezes. When daily loss limits are hit, it pauses. When the trend shifts, it calmly resets. The grid expands only in one direction (EMA slope aligned), with lots decaying at each new layer instead of growing. It harvests baskets into green, skims the cream from profitable trades, and refuses to exit for a loss.
It feels less like a reckless algorithm and more like a seasoned trader with strict boundaries: protecting equity, waiting out noise, and collecting profit when the tape allows it.
Technicals — What exactly happens inside
Grid Engine
-
One-sided EMA-aligned grid:
-
Buys only above EMA with rising slope, sells only below EMA with falling slope.
-
Switches sides when trend trigger (% change of EMA vs anchor) confirms.
-
Optionally blocks opposite entries while a basket exists.
-
-
Decay sizing (anti-martingale):
-
InitialLots for the first layer.
-
Each subsequent layer = LotDecay × previous.
-
Keeps exposure under control instead of ramping up.
-
-
Dynamic spacing:
-
Base grid step = GridStepPoints .
-
Adaptive expansion: max(step, ATR * ATR_Mult_Grid) .
-
ATR keeps spacing wider when volatility grows.
-
Profit-Only Management
-
Basket TP: All trades close together when basket profit ≥ TP_GridEquity .
-
Trailing equity lock: If equity falls from peak by TrailingEquityPct , attempt profit-only close.
-
Local DD close: At LocalDrawdownClosePct , again attempt a profit-only close.
-
Profit skimming: Selectively closes the most profitable tickets ( CloseMostProfitable ) to chip away risk.
-
MinProfitClose: Even tiny gains can be banked when larger exits aren’t ready.
-
Never forces red exit: If conditions block profit closes, EA freezes/pauses instead.
State Machine (safety gates)
-
RUN: Normal trading.
-
FREEZE: Stop adding layers when drawdown ≥ FreezeDropPct or basket age ≥ FreezeAfterHours .
-
PAUSE: If daily balance drawdown ≥ SL_Total_Pct or after EOD flatting.
-
HEDGED (optional): If enabled, auto-hedges when margin level < HedgeWhenMarginLevelPct or drop ≥ HedgeOnDropPct .
Basket Age Logic
-
Time-based TP slide:
As basket age approaches MaxBasketAgeHours , the TP gradually slides from base TP → MinProfitClose, making long baskets easier to exit still in profit. -
Freeze on timeout: After FreezeAfterHours , no more layers are added until basket closes.
Daily Discipline
-
Daily reset: Each new day resets anchors, counters, and state to RUN.
-
Loss streak control: After MaxLossStreak in a day, EA pauses — no revenge trading.
-
Daily DD guard: If balance drops ≥ SL_Total_Pct , EA pauses for the day.
Anti-Spike Entry Filters
-
ATR spike blocker: If M5 bar > SpikeATRMult * ATR , block entries.
-
Cooldown: Block new entries for SpikeCooldownBars bars after spike.
-
Entry throttle: Force pause between entries ( EntryCooldownSec ).
-
EMA distance guard: If price is too far from EMA ( MaxEmaDistPct ), no entry.
Session Control
-
Trading window: TradeStartHour to TradeEndHour .
-
Outside hours: No new entries; existing baskets are closed if profit ≥ MinProfitClose .
-
End-of-day discipline: Flatten in profit → switch to PAUSE.
Hedge (optional)
-
EnableAutoHedge: Adds offsetting position if margin stress or drawdown threshold hits.
-
Returns to RUN after basket closes in profit.
Market Validation Safety
-
Whitelist: Only runs on approved SP500/US500 symbols by default.
-
Validation fallback: If symbol not allowed, does one minimal operation (open+close tiny lot or pending add/remove) so MQL5 Market validator sees activity. Prevents rejection without live risk.
Inputs Overview
-
Risk/Grid: InitialLots , LotDecay , MaxPositions , GridStepPoints , ATR_Period , ATR_Mult_Grid
-
Profit Mgmt: TP_GridEquity , TrailingEquityPct , LocalDrawdownClosePct , FreezeDropPct , MinProfitClose
-
Trend/Filters: TrendEMA_Period , EmaSlopeBars , Trend_Trigger_Pct , MaxEmaDistPct , SpikeATRMult , SpikeCooldownBars , EntryCooldownSec
-
Time/Safety: TradeStartHour , TradeEndHour , SL_Total_Pct , MaxLossStreak
-
Basket Aging: MaxBasketAgeHours , FreezeAfterHours
-
Hedge (optional): EnableAutoHedge , HedgeWhenMarginLevelPct , HedgeOnDropPct
-
Symbols/Validation: RestrictToSymbols , AllowedSymbolsCSV , EnableValidationFallback
-
Tagging: InpMagic for ticket separation
A Typical Cycle
-
RUN: Builds one-sided grid aligned with EMA slope.
-
Basket: Tracks equity entry & peak; exits profit-only when target or trailing lock triggers.
-
Risk event: On equity drop, basket freeze, hedge, or skim profits.
-
Daily reset: New day, all anchors cleared, strategy starts fresh.
Risk Disclaimer: This is not investment advice. Past performance does not guarantee future results. Always test on demo and size conservatively.
If you believe in profit-only exits, trend alignment, and disciplined grid control, MAM Black delivers exactly that.