24fx manages trades through a state-based system, handling pending limit orders, market positions, and paused states. Risk management features include a choice between fixed lot sizes or percentage-based risk per trade. The EA uses a time-filtering mechanism to restrict activity to specific hours and requires recent historical data for processing. Due to a lack of documentation, its specific entry logic is tied to external data sources.
Read from 24fx.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
_fixLotSize
bool
false
_lotSize
double
0.01
_magicNumber
int
777111
_dataUpdateInterval
int
5
In minutes
_writeToTestFile
bool
false
_riskPerTrade
double
1
Risk per order (%)
_timeShift
int
0
From Moscow
_workHours
string
0,2,4,8,12,13,14,15,16,20,23
_symbolPostfix
string
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone DevelopMan/Trading 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 MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a
This high-frequency trading robot implements latency arbitrage by comparing price feeds across two separate MetaTrader terminals. It requires a fast data source to serve as a reference and a slower broker where price delivery lags behind the market. The EA communicates between instances via a socket library to detect p
This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si
SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en
This MetaTrader 4 expert advisor is a scalper designed for the five-minute timeframe across several Forex pairs. It utilizes three strategies based on overbought and oversold market conditions to execute trades. Risk management features include a fixed hard stop loss, a virtual take profit and stop loss derived from an
This expert advisor for MetaTrader 4 focuses on gold trading using daily price extremes and moving averages. It calculates the 7-day Simple Moving Average and identifies the highest price points from the previous five trading days to determine market direction. The EA executes its logic on a five-second timer interval