EA31337 Lite, Advanced and Rider - Forex multi-strategy trading robot for MT4/MT5 platform
EA31337 is a free and open-source Forex autonomous trading robot
designed for the MetaTrader 4 and 5 (MT4/MT5) platforms.
EA31337 provides a comprehensive framework for traders to develop, test, and automate their trading strategies.
It leverages the capabilities of MetaTrader platforms, including the MQL
programming language, backtesting, optimization, and automation features for
executing trading robots.
The aim of the project is to implement a wide array of technical analysis
strategies and custom indicators, facilitating the development of robust
trading systems.
Read more: About.
See: Features.
See: Best practices.
See: Best practices.
See: IMPORTANT NOTES.
Documentation can be found at the wiki page.
The default parameters are optimized for EURUSD symbol pair. However, there are
many adjustable inputs allowing customization across symbols.
These configuration options are documented on Input parameters wiki
page. Modifications can optimize performance for alternate
currency pairs when rigorously backtested.
We strongly advise thorough demo testing or backtesting before attempting live
trading with new settings. Each symbol and broker combination can behave
differently. Optimize parameter changes carefully based on evidence from
extensive simulations across diverse market conditions.
Live execution should only be considered once the risk-adjusted profile proves
robust during demo trading or backtesting. Please trade live at your own risk,
only with full confidence in the strategy’s integrity across settings,
brokers, and pairs based on your own rigorous testing.
The SET files represent the best performing input values found during
pre-release optimization testing.
The EA ships already with optimized parameter files tailored specifically for
EURUSD trading. These SET files represent the best performing input values
found during pre-release optimization testing.
Each release could have slightly different parameters, so don’t mix old SET
files between different releases.
Please use the SET files included with your downloaded release package rather
than older versions. Optimization is performed before major updates, so
parameters evolve across releases to adapt to changing market dynamics.
This expert advisor provides a wide range of integrated trading functionality:
The unique filtering system offers precise control over trade entry and exit
timing. Filters can be configured around account metrics, chart data, market
volatility, active orders, indicators like Moving Averages or RSI, and more.
You are free to customize these filters using Advanced version of EA.
Intelligent trade management utilizes indicators and rules to determine ideal
times to take profits or close losing positions. The dynamic price stop system
aids risk mitigation in rapidly moving markets.
Each EA’s strategy includes self-contained algorithms that analyze the markets
using popular technical indicators across multiple timeframes. Traders can
mix-and-match strategies or code custom logic taking advantage of included
functions and events.
You are free to write your own custom strategies.
For the trading purposes, any timeframe can be used since EA reads data from
multiple timeframes independently from the current chart.
Compiled binaries can be downloaded from GitHub’s Release page.
For installation steps, refer to Installation wiki page.
To download the source code along with all dependencies, use the following Git command:
git clone --branch master --recursive https://github.com/EA31337/EA31337.git
After cloning, place the EA31337 directory into the Experts
folder located in
your MetaTrader platform’s MQL directory.
For more detailed compilation steps, refer to Compilation wiki page.
It is recommended to use MetaTrader 5 platform for backtesting and optimization.
Backtesting is the process of evaluating a trading strategy by applying it to
historical market data. It allows traders to simulate how a strategy might have
performed in the past across many market conditions.
Optimization takes this one step further by systematically tweaking a
strategy’s parameters to determine which configurations may have produced the
best historical results. The goal is to fine-tune inputs related to elements
like risk, position sizing and strategy params to maximize a given performance
metric.
By combining an automated strategy with backtesting and optimization, traders
can rigorously analyze huge amounts of market data efficiently. This provides
statistical insights to build conviction in the strategy’s edge while finding
optimal inputs without putting capital at risk.
Please be aware that backtesting cannot reliabily simulate the future outcome.
The backtesting for MT4
has been documented at Backtesting using MT4 wiki page.
This project utilizes the following sub-projects:
The project is released under GNU GPLv3 licence,
so that means the software is copyrighted, however you have the freedom to use, change or share the software
for any purpose as long as the modified version stays free. See: GNU FAQ.
You should have received a copy of the GNU General Public License along with this program
(check the LICENSE file).
If not, please read http://www.gnu.org/licenses.
For simplified version, please read https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3).
By using EA31337, you understand and agree that we (company and author) are not
be liable or responsible for any loss or damage due to any reason. Although
every attempt has been made to assure accuracy, we do not give any express or
implied warranty as to its accuracy. We do not accept any liability for error
or omission.
You acknowledge that you are familiar with these risks and that you are solely
responsible for the outcomes of your decisions. We accept no liability
whatsoever for any direct or consequential loss arising from the use of this
product. You understand and agree that past results are not necessarily
indicative of future performance.
Use of EA31337 trading robot serves as your acknowledgement and representation
that you have read and understand these TERMS OF USE and that you agree to be
bound by such Terms of Use (“License Agreement”).
Copyright © 2016-2024 - EA31337 Ltd - All Rights Reserved
Author & Publisher: kenorb at EA31337 Ltd.
Trading any financial market involves risk. All forms of trading carry a high
level of risk so you should only speculate with money you can afford to lose.
You can lose more than your initial deposit and stake. Please ensure your
chosen method matches your investment objectives, familiarize yourself with the
risks involved and if necessary seek independent advice.
NFA and CTFC Required Disclaimers: Trading in the Foreign Exchange market as
well as in Futures Market and Options or in the Stock Market is a challenging
opportunity where above average returns are available for educated and
experienced investors who are willing to take above average risk. However,
before deciding to participate in Foreign Exchange (FX) trading or in Trading
Futures, Options or stocks, you should carefully consider your investment
objectives, level of experience and risk appetite.
Do not invest money you cannot afford to lose.
CFTC RULE 4.41 - HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE
CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD,
SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE
TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER-OR-OVER
COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH
AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS IN GENERAL ARE
ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF
HINDSIGHT. NO REPRESENTATION IS BEING MADE THAN ANY ACCOUNT WILL
OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.