The primary expert advisor automates the application of stop loss and take profit levels for existing trades. It features a sophisticated trailing stop system with dedicated settings for major forex pairs, gold, and silver. Users can manage trades globally or filter by magic number. The repository also includes tools for signal transmission between terminals, account history recording, and real-time equity tracking, making it a comprehensive toolkit for order administration.
Read from TakeProfitAndStopLoss2.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
SlAndTp
string
-------------一般止盈止损-------------
说明一
StopLoss
double
0
止损
TakeProfit
double
0
止盈
MS
string
-------------移动止损-------------
说明
IsUseMS
bool
false
是否使用移动止损
Pricelimit
double
100
盈利多少个点或钱,开始执行移动止损
MovingStopLossStep
double
50
初始移动止损价差
IsTrackSeclet
bool
false
是否有选择的止盈止损
MagicNum
int
0
所选的EA编号
GBPUSD_MS
string
-------------GBPUSD-------------
说明
GBPUSD_IsUseMS
bool
false
GBPUSD_是否使用移动止损
GBPUSD_Pricelimit
double
100
GBPUSD_移动止损起始点
Show all 40 inputs
Name
Type
Default
Description
GBPUSD_MovingStopLossStep
double
30
GBPUSD_移动止损价差
EURUSD_MS
string
-------------EURUSD-------------
说明
EURUSD_IsUseMS
bool
false
EURUSD_是否使用移动止损
EURUSD_Pricelimit
double
120
EURUSD_移动止损起始点
EURUSD_MovingStopLossStep
double
40
EURUSD_移动止损价差
USDJPY_MS
string
-------------USDJPY-------------
说明
USDJPY_IsUseMS
bool
false
USDJPY_是否使用移动止损
USDJPY_Pricelimit
double
60
USDJPY_移动止损起始点
USDJPY_MovingStopLossStep
double
30
USDJPY_移动止损价差
NZDUSD_MS
string
-------------NZDUSD-------------
说明
NZDUSD_IsUseMS
bool
false
NZDUSD_是否使用移动止损
NZDUSD_Pricelimit
double
40
NZDUSD_移动止损起始点
NZDUSD_MovingStopLossStep
double
20
NZDUSD_移动止损价差
XAUUSD_MS
string
-------------XAUUSD-------------
说明
XAUUSD_IsUseMS
bool
false
XAUUSD_是否使用移动止损
XAUUSD_Pricelimit
double
60
XAUUSD_移动止损起始点
XAUUSD_MovingStopLossStep
double
30
XAUUSD_移动止损价差
XAGUSD_MS
string
-------------XAGUSD-------------
说明
XAGUSD_IsUseMS
bool
false
XAGUSD_是否使用移动止损
XAGUSD_Pricelimit
double
50
XAGUSD_移动止损起始点
XAGUSD_MovingStopLossStep
double
25
XAGUSD_移动止损价差
AUDUSD_MS
string
-------------AUDUSD-------------
说明
AUDUSD_IsUseMS
bool
false
AUDUSD_是否使用移动止损
AUDUSD_Pricelimit
double
50
AUDUSD_移动止损起始点
AUDUSD_MovingStopLossStep
double
20
AUDUSD_移动止损价差
USDCHF_MS
string
-------------USDCHF-------------
说明
USDCHF_IsUseMS
bool
false
USDCHF_是否使用移动止损
USDCHF_Pricelimit
double
50
USDCHF_移动止损起始点
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone davidyisun/MQL4 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, and any .mqh files into the Include folder the code expects.
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 repository features a collection of trading tools for MetaTrader 5 and 4, headlined by a comprehensive Trade Manager EA. This manager enables manual execution via keyboard shortcuts and provides automated risk controls, including ATR-based break-even settings and trailing stops. The collection also offers strategy
This collection for MetaTrader 4 provides a variety of expert advisors and utilities intended for automated trading and educational use. The primary component is a moving average crossover robot that opens positions based on trend direction. It features risk management tools including percentage-based stop losses, take
This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz
This repository features a diverse collection of expert advisors and trading utilities for MetaTrader 4 and MetaTrader 5. It includes automated robots based on trendline analysis, session breakouts, and technical indicator crossovers using MACD, RSI, and Williams Percent Range. The library provides various tools for ri
LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take
This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-