Aych MTFX utilizes a modular structure with various versions ranging from basic to full feature sets. The core logic manages trade entries and exits at bar opens, featuring integrated risk controls like break-even settings, trailing stops, and stealth modes to obscure orders from brokers. It includes time-based filters for specific trading days and hours, along with a money management system that calculates lot sizes based on account equity or balance.
Read from Full-1.x.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Information
string
--- Information ---
Advisor
string
EA
For Logging.
Version
string
1.0
The version number of this script.
Entry_Exit
string
--- Entry & Exit ---
Exit_Opposite
bool
false
Whether close opposite orders when new signal comes out.
Entry_AtBarOpen
bool
true
Whether to wait for new bar to confirm the signal for entry.
Exit_AtBarOpen
bool
true
Whether to wait for new bar to confirm the signal for exit.
Order_Operation
string
--- Order Operation ---
Order_MaxOpen
int
0
Max opening orders allowd, 0 = No limit.
Order_AllowHedge
bool
true
If allow hedge order to be opened.
Magic
int
222222
For identify trades belong to this EA, set to unique on different chart when using at the same time.
Slippage
int
3
Allow slippage.
Show all 40 inputs
Name
Type
Default
Description
Lots
double
0.1
Fixed trade lots without using MoneyManagement.
TakeProfit
double
0
In Pips. Take Profit, Change to 0 if you don't want to use.
StopLoss
double
0
In Pips. Stop Loss, Change to 0 if you don't want to use.
Indicator_Setting
string
--- Indicator Setting ---
TradeWeekDay
string
--- Trade Week Day ---
TWD_On
bool
false
Whether to use the trade week day filter.
TWD_TradeDays
string
2,3,4
Choose which days to trade. 0 = Sunday, 1 = Monday, etc.
TradeTime
string
--- Trade Time ---
TT_On
bool
false
Whether to use trade time filter.
TT_TradeBegin
string
07:00,15:00
Don't trade before this time. Can set more than one value or just one.
TT_TradeEnd
string
10:00,18:00
Don't trade after this time. Default setting means only trade 07:00~10:00 and 15:00~18:00.
MoneyManagement
string
--- Money Management ---
MM_On
bool
false
Whether using Simple Money Management for trading lots. Need to explicit set the StopLoss value bigger than 0.
MM_Mode
int
0
0 = Equity; 1 = Balance.
MM_Risk
double
5
In Percentage. Risk as equity (for MM_RiskPips), in percent of total account equity.
MM_RiskPips
double
100
Use this pips value as object for calculating the MM_Risk. 100 pips stoploss = 5% equity of your account.
StealthMode
string
--- Stealth TP/SL ---
SM_On
bool
false
Whether TakeProfit and StopLoss in Stealth Mode, hiding from the broker. Can explictly set above but truely use below se
SM_TakeProfit
double
100
TakeProfit for stealth mode.
SM_StopLoss
double
100
StopLoss for stealth mode.
BreakEven
string
--- Break Even ---
BE_On
bool
false
Whether using BreakEven.
BE_StealthMode
bool
false
Whether using BreakEven in Stealth Mode.
BE_Start
double
20
In Pips. How much should the current price above/below the open price.
BE_Add
double
0
In Pips. Add a deviation to the Order Open Price, positive value for profit.
TrailStop
string
--- Trail Stop ---
TS_On
bool
false
Whether using TrailStop.
TS_StealthMode
bool
false
Whether using TrailStop in Stealth Mode.
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone AYCHMT/Aych.mtfx 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.
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 repository provides a collection of MetaTrader 4 expert advisors, notably featuring a grid-based trading system. The mGRID EA executes trades by placing multiple pending buy and sell stop orders at fixed pip increments, attempting to capture price movement in either direction. It offers risk controls through confi
This MetaTrader 4 repository contains a collection of expert advisors, primarily featuring the Chaos Theory EA. This robot combines several trading methodologies including Bill Williams' Chaos Theory, Trading Made Simple, and THV3 to trade multiple currency pairs simultaneously. It utilizes technical filters such as Su
This repository is a collection of various MetaTrader 4 expert advisors, featuring the WallStreet Forex Robot along with other tools like SteadyWinner and IndoRun. The primary EA utilizes technical indicators such as Moving Averages, CCI, and Williams' Percent Range to execute trades on the M15 timeframe. It includes c
Liangxifeng MT4 Collection is a repository of MetaTrader 4 expert advisors focused on automated trading strategies. The primary EA employs a dual moving average crossover system to initiate trades and features a scaling mechanism that increases lot sizes as the market moves in favor of the position. It manages risk thr
GitGpa is an extensive repository of MetaTrader 4 expert advisors, primarily featuring implementations of the OzFX strategy alongside various technical indicator-based bots. The collection includes tools for trend chasing, breakout trading, and moving average crossovers. These experts incorporate multiple risk manageme