GM Remake initiates trades based on price breakout logic and manages drawdowns by layering additional positions at user-defined distances. To refine entries, the EA utilizes dual exponential moving averages and MACD trend protection to avoid trading against strong momentum. Risk management features include a trailing stop for the total order basket and a protective liquidation mechanism that closes all positions if the price moves beyond the final allowed layer distance.
Customizable eight-layer martingale scaling
Dual EMA trend and MACD divergence filters
Basket-level trailing stop and forced liquidation
Price breakout signal logic with lookback settings
Read from GMRemake_v1.0.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Timeframe
ENUM_TIMEFRAMES
PERIOD_H1
交易時區 (Trading Timeframe)
EntryModeLevel1
ENUM_ENTRY_MODE
ENTRY_MODE_CONFIRMED
第 1 層?
BarsCountedBack
int
3
回溯 K 線數量 (用於計算高低點)
MaxBuyOrder
int
5
最大買單層數 (0 為不開買單)
MaxSellOrder
int
5
最大賣單層數 (0 為不開賣單)
EntryDistance1
int
100
第 1 層?
EntryDistance2
int
20000
第 2 層?
EntryDistance3
int
20000
第 3 層?
EntryDistance4
int
20000
第 4 層?
EntryDistance5
int
20000
第 5 層?
EntryDistance6
int
20000
第 6 層?
EntryDistance7
int
25000
第 7 層?
Show all 40 inputs
Name
Type
Default
Description
EntryDistance8
int
30000
第 8 層?
LotSize1
double
0.01
第 1 層手數
LotSize2
double
0.02
第 2 層手數
LotSize3
double
0.04
第 3 層手數
LotSize4
double
0.08
第 4 層手數
LotSize5
double
0.16
第 5 層手數
LotSize6
double
0.32
第 6 層手數
LotSize7
double
0.64
第 7 層手數
LotSize8
double
1.28
第 8 層手數
TrendProtection
bool
true
啟用價格行為趨勢保護 (K 線顏色確認)
MACDTrendProtection
bool
true
啟用 MACD 趨勢保護 (避?
MACDFastEMA
int
5
MACD 快速 EMA 週期
MACDSlowEMA
int
13
MACD ?
MACDSignalSMA
int
8
MACD 信號 SMA 週期
MACDDivergenceBars
int
3
MACD 背離判斷 K 線數量
EMATrendPeriodL
int
200
長週期 EMA (Long Period)
EMATrendFilterLModeBuy
ENUM_EMA_FILTER_MODE
EMA_FILTER_DISABLED
買單的長週期 EMA 過濾模式
EMATrendFilterLForBuy
double
0
買單 EMA(L) 距離緩衝 (+/- points)
EMATrendFilterLModeSell
ENUM_EMA_FILTER_MODE
EMA_FILTER_DISABLED
賣單的長週期 EMA 過濾模式
EMATrendFilterLForSell
double
0
賣單 EMA(L) 距離緩衝 (+/- points)
EMATrendPeriodS
int
50
短週期 EMA (Short Period)
EMATrendFilterSModeBuy
ENUM_EMA_FILTER_MODE
EMA_FILTER_DISABLED
買單的短週期 EMA 過濾模式
EMATrendFilterSForBuy
double
0
買單 EMA(S) 距離緩衝 (+/- points)
EMATrendFilterSModeSell
ENUM_EMA_FILTER_MODE
EMA_FILTER_DISABLED
賣單的短週期 EMA 過濾模式
EMATrendFilterSForSell
double
0
賣單 EMA(S) 距離緩衝 (+/- points)
TrailingPoints
int
8000
移動止損啟動點數 (獲利達此點數開始追蹤)
StopTrailingPoints
int
1000
移動止損回撤距離 (利潤回吐多少點出場)
SlippageInPoints
int
30
?
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone lawjar/GMRemake-EA from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe
Bakome Bitcoin EA is a trend-following robot optimized for trading BTCUSD on the MetaTrader 5 platform. It generates trade signals using an exponential moving average crossover combined with price breakouts on the H1 timeframe. The system features a grid recovery module that adds positions with a lot multiplier when tr
This MetaTrader 4 expert advisor automates trading on the foreign exchange market, with specific testing historicals for GBPUSD on the five-minute timeframe. It focuses on intraday logic, allowing users to define specific trading windows and maximum daily trade limits. Risk controls include dynamic lot sizing based on
This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I
Krikor is a MetaTrader 4 robot that uses a combination of technical indicators and a grid-based recovery system to manage trades. It determines entries using a Relative Strength Index (RSI), Moving Averages, Average Directional Index (ADX), and a custom ZigZag indicator. The strategy employs martingale lot scaling, inc
This MetaTrader 4 robot implements a grid-based hedging strategy triggered by inside bar price formations. It places multiple pending orders on both sides of a breakout and uses martingale lot scaling to increase position sizes for subsequent entries. The expert advisor is designed for the H4 and Daily timeframes, util