STO Martin employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions at defined intervals with a configurable multiplier. For risk control, it includes a trailing stop mechanism, a maximum number of martingale stages, an equity-based loss closure, and a position locking feature for drawdown protection.
Read from STO Martin V02.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpLots
double
0.01
首单手数
InpStopLoss
double
0.0
止损点数
InpTakeProfit
double
1000.0
止盈点数
OverBuy
double
0.0
?
OverSell
double
0.0
?
BuyPositionTarget
double
0.0
买单目标盈利
SellPositionTarget
double
0.0
卖单目标盈利
LossClose
double
1000
亏到这个金额后?
NAprotect
bool
true
美盘保护,1000点才加仓
ExpandTrendProfit
int
3
顺势单扩大止盈倍数
LockLoss
double
0.5
最大亏损的百分比锁仓
Tracking
double
100
大于这个点数的两倍,就设置跟踪止损
Show all 28 inputs
Name
Type
Default
Description
InpMartin
bool
true
是否使用马丁算法
LotMartinMultipleMode
bool
true
马丁模式是否倍数加手数
Add_Interval
double
400
加仓间隔
InpMartinCoeff
double
1.5
马丁算法系数
MaxNumberMartin
int
6
最大加仓次数
m_magic
ulong
930873054
magic number
period
ENUM_TIMEFRAMES
PERIOD_M1
Sto周期
Kperiod
int
5
K 线周期 (用于计算的柱数)
Dperiod
int
3
D 线周期(主要平滑周期)
slowing
int
3
最后平滑周期
ma_method
ENUM_MA_METHOD
MODE_SMA
平滑类型
price_field
ENUM_STO_PRICE
STO_LOWHIGH
随机计算方法
OpenTrendJudge
bool
true
开启趋势判断
MovingPeriod
int
12
Moving Average period
MovingShift
int
0
Moving Average shift
Maperiod
ENUM_TIMEFRAMES
PERIOD_M15
Ma周期
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone crq644/MQL5Martin from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 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.
This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or
AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa
IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u
Mr X Grid Hedge is a MetaTrader 5 expert advisor specifically designed for XAUUSD trading. It utilizes a grid strategy with entry signals confirmed by a combination of EMA crossovers, RSI bounds, and ATR volatility filters. The system manages risk through automated hedging triggered by drawdown or specific grid depth.
This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli
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