Robot AI calculates entry signals based on a minimum difference between the %K and %D lines. Risk management includes stop loss and take profit levels calculated using spread multipliers, as well as a trailing stop that adjusts the take profit level. The EA incorporates optional martingale lot scaling and position averaging techniques. Users can configure trade frequency via a delay timer and a maximum trade limit. Documentation in the repository is minimal.
Read from Robot2.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
LotSize
double
0.01
useSL
bool
true
useTP
bool
true
SL_Multiplier
double
10
TP_Multiplier
double
20
TrailingStart
int
10
TrailingStep
int
5
MaxTrades
int
1
useMartingale
bool
true
MinDiffKD
double
2.0
Minimum selisih %K - %D
DelaySeconds
int
10
Waktu jeda antar transaksi dalam detik setelah open/close
KPeriod
int
8
Show all 16 inputs
Name
Type
Default
Description
DPeriod
int
3
Slowing
int
3
MA_Method
ENUM_MA_METHOD
MODE_SMA
PriceField
ENUM_STO_PRICE
STO_LOWHIGH
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone yansuwitna/linux 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 repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based
This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes. The primary strategies revolve around Commodity Channel Index crossovers and Average True Range indicators for dynamic stop loss and take profit placement. The codebase includes various experimental models, such as
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 is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m
This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili
This collection of MetaTrader 4 expert advisors serves as a practice repository for automated trading scripts. It features several distinct strategies, including moving average crossovers, Bollinger Band mean-reversion, and RSI-based entries. A core component of the repository is a martingale-style system that layers o