# GMRemake Martingale EA

A Martingale trading strategy with advanced risk management and trend protection for MetaTrader 4.

Canonical: https://prismaticalgos.com/compendium/algo/11755-gmremake-martingale-ea
Record ID: 11755
Catalog rank: 1541 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Grid, Martingale & Averaging (C)
Source: https://github.com/lawjar/GMRemake-EA
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

Claim warnings: RECOVERY SIZING: position size increases after losses (martingale/grid/averaging). Equity curves look smooth until the run that does not recover - judge it on worst-case exposure, not win rate.
Opacity warnings: UNDEFINED ENTRY TERM: the entry conditions are prose naming a concept with no numeric definition, so two readers would implement them differently. Advisory only -- this does not affect the score.
Build warnings: MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5.

## Recorded profile

- symbols: any
- timeframes: H1
- sessions: any
- market_regime: trending|volatile

## Indicators

- EMA: {"period": 200}; applied to: close
- EMA: {"period": 50}; applied to: close

## Recorded long-entry rules

- 當前價格 高於 過去 N 根 K 線的最高點 + Entry Distance 1

## Recorded short-entry rules

- 當前價格 低於 過去 N 根 K 線的最低點 - Entry Distance 1

## Recorded exit rules

- 當整體倉位的浮動盈虧達到 Trailing Points 時，啟動移動止損
- 啟動後，若利潤回吐超過 Stop Trailing Points，立即全數平倉出場
- 當持倉層數達到設定的上限且價格繼續逆勢運行，強制平掉所有倉位

## Recorded filters

- 點差過濾 (Spread Filter)
- 滑點控制 (Slippage Control)
- 最大層數止損
- 價格趨勢確認 (Buy: 前一根 K 線 必須是陽線 且 收盤價高於前前一根的最高價; Sell: 前一根 K 線 必須是陰線 且 收盤價低於前前一根的最低價)
- MACD 趨勢保護

## Risk controls

- Stop loss: 當持倉層數達到設定的上限且價格繼續逆勢運行，強制平掉所有倉位
- Take profit: Trailing Stop
- Position sizing: 每一層的手數大小可自定義
