EA31337 Versions Save

🤖📈 EA31337 Lite, Advanced and Rider - Forex multi-strategy trading robot for MT4/MT5 platforms

v2.005

2 years ago

Quick note: For download links, scroll down to the bottom of this page to the Assets section.

Release notes

  • Overall backtest performance improved.
  • Rider logic significantly improved, but risky.
  • Signal open refactor for all strategies.
  • New timeframes available (H1 and H4).
  • New Pattern strategy. Fixed Heiken Ashi strategy.
  • Improves input parameters and grouping.
  • Development fixes and improvements.
  • Optimized for EURUSD and 2020-2021 years using MT5.

Other notes

  • Not suitable for real trading without proper knowledge or prior testing.
  • For professional trading EA, you may try EA31337 VIP Preview (free version available).

Usage

  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars to be processed. For real trading, it should not matter.
  • Check README for further details.
  • Read more at Wiki pages.

Backtest (Release)

EURUSD 2020

Lite

                                                                Strategy Tester Report
                                                EA31337-Lite-d673664b487e9ae8efc61c1f2cc2f6a34897af6e
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Params__=">> EA31337 Lite v2.005 build 1630668756 <<"; __Strategies_Active__="-- Active strategies --";
                                    Strategy_M1=0; Strategy_M5=0; Strategy_M15=7; Strategy_M30=23; Strategy_H1=11; Strategy_H4=30;
  Parameters                        __Trade_Params__="-- Trade parameters --"; __EA_Risk_Params__="-- EA's risk management --";
                                    __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_MagicNumber=31337; __Logging_Params__="-
                                    - EA's logging & messaging --"; VerboseLevel=1; EA_DisplayDetailsOnChart=true;
  Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                             24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                             Spread                                                            10
  Total net profit           574.05 Gross profit                        2551.49 Gross loss                                                  -1977.44
  Profit factor                1.29 Expected payoff                        2.43
  Absolute drawdown          212.45 Maximal drawdown             518.83 (4.76%) Relative drawdown                                     4.76% (518.83)
  Total trades                  236 Short positions (won %)        130 (50.00%) Long positions (won %)                                  106 (43.40%)
                                    Profit trades (% of total)     111 (47.03%) Loss trades (% of total)                                125 (52.97%)
                            Largest profit trade                         348.43 loss trade                                                   -140.24
                            Average profit trade                          22.99 loss trade                                                    -15.82
                            Maximum consecutive wins (profit in      6 (136.10) consecutive losses (loss in money)                       6 (-199.04)
                                    money)
                            Maximal consecutive profit (count of     548.41 (2) consecutive loss (count of losses)                       -199.04 (6)
                                    wins)
                            Average consecutive wins                          2 consecutive losses                                                 2

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-d673664b487e9ae8efc61c1f2cc2f6a34897af6e
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Params__=">> EA31337 Advanced v2.005 build 1630668770 <<"; __Strategies_Active__="-- Active strategies --";
                                   Strategy_M1=0; Strategy_M5=0; Strategy_M15=2; Strategy_M30=3; Strategy_H1=4; Strategy_H4=30;
                                   __Strategies_Stops__="-- Strategies' stops --"; EA_Stops_M1=0; EA_Stops_M5=0; EA_Stops_M15=4; EA_Stops_M30=30;
                                   EA_Stops_H1=14; EA_Stops_H4=30; __Strategies_Filters__="-- Strategies' filters --"; EA_SignalOpenFilterMethod=32;
 Parameters                        EA_SignalCloseFilter=32; EA_SignalOpenFilterTime=12; EA_SignalOpenStrategyFilter=2; EA_TickFilterMethod=7;
                                   __EA_Tasks__="-- EA's tasks --"; EA_Task1_If=0; EA_Task1_Then=0; EA_Task2_If=0; EA_Task2_Then=0;
                                   __Order_Params__="-- Orders' limits --"; EA_OrderCloseLoss=300; EA_OrderCloseProfit=0; EA_OrderCloseTime=-40;
                                   __EA_Risk_Params__="-- EA's risk management --"; __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0;
                                   EA_MagicNumber=31337; __Logging_Params__="-- EA's logging & messaging --"; VerboseLevel=1;
                                   EA_DisplayDetailsOnChart=true;
 Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                              24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                             Spread                                                             10
 Total net profit           144.66 Gross profit                        1632.91 Gross loss                                                   -1488.25
 Profit factor                1.10 Expected payoff                        1.64
 Absolute drawdown          130.36 Maximal drawdown             430.67 (4.09%) Relative drawdown                                      4.09% (430.67)
 Total trades                   88 Short positions (won %)         49 (44.90%) Long positions (won %)                                    39 (38.46%)
                                   Profit trades (% of total)      37 (42.05%) Loss trades (% of total)                                  51 (57.95%)
                           Largest profit trade                         223.50 loss trade                                                    -114.10
                           Average profit trade                          44.13 loss trade                                                     -29.18
                           Maximum consecutive wins (profit in      6 (302.73) consecutive losses (loss in money)                        7 (-110.79)
                                   money)
                           Maximal consecutive profit (count of     302.73 (6) consecutive loss (count of losses)                        -128.30 (2)
                                   wins)
                           Average consecutive wins                          2 consecutive losses                                                  2

Rider

                                                                Strategy Tester Report
                                                EA31337-Rider-d673664b487e9ae8efc61c1f2cc2f6a34897af6e
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Params__=">> EA31337 Rider v2.005 build 1630668765 <<"; __Strategies_Active__="-- Active strategies --";
                                   Strategy_M1=0; Strategy_M5=33; Strategy_M15=5; Strategy_M30=3; Strategy_H1=21; Strategy_H4=3;
                                   __Strategies_Stops__="-- Strategies' stops --"; EA_Stops_Strat=21; EA_Stops_Tf=180; __EA_Tasks__="-- EA's tasks -
 Parameters                        -"; EA_Task1_If=1; EA_Task1_Then=3; EA_Task2_If=4; EA_Task2_Then=4; __Strategies_Filters__="-- Strategies'
                                   filters --"; EA_SignalOpenFilterMethod=32; EA_SignalCloseFilter=32; EA_SignalOpenFilterTime=12;
                                   EA_SignalOpenStrategyFilter=3; EA_TickFilterMethod=7; __EA_Risk_Params__="-- EA's risk management --";
                                   __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_MagicNumber=31337; __Logging_Params__="-
                                   - EA's logging & messaging --"; VerboseLevel=1; EA_DisplayDetailsOnChart=true;
 Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                              24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                             Spread                                                             10
 Total net profit           604.45 Gross profit                        3764.41 Gross loss                                                   -3159.96
 Profit factor                1.19 Expected payoff                        1.63
 Absolute drawdown          269.65 Maximal drawdown             623.08 (5.64%) Relative drawdown                                      5.64% (623.08)
 Total trades                  370 Short positions (won %)        124 (29.03%) Long positions (won %)                                   246 (30.89%)
                                   Profit trades (% of total)     112 (30.27%) Loss trades (% of total)                                 258 (69.73%)
                           Largest profit trade                         366.36 loss trade                                                    -106.90
                           Average profit trade                          33.61 loss trade                                                     -12.25
                           Maximum consecutive wins (profit in       6 (91.14) consecutive losses (loss in money)                       12 (-105.00)
                                   money)
                           Maximal consecutive profit (count of     450.13 (2) consecutive loss (count of losses)                        -184.40 (7)
                                   wins)
                           Average consecutive wins                          2 consecutive losses                                                  4

Backtest (Beta)

EURUSD 2020

Lite

                                                                Strategy Tester Report
                                                EA31337-Lite-cd602f5ce96c3b80536a61c6fe941a31f51b17e1
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Params__=">> EA31337 Lite v2.005 build 1629409741 <<"; __Strategies_Active__="-- Active strategies --";
                                    Strategy_M1=0; Strategy_M5=0; Strategy_M15=7; Strategy_M30=7; Strategy_H1=28; Strategy_H4=28;
  Parameters                        __Trade_Params__="-- Trade parameters --"; EA_SignalOpenFilter=40; __EA_Risk_Params__="-- EA's risk management
                                    --"; EA_Risk_MarginMax=5; __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0;
                                    EA_MagicNumber=31337; __Logging_Params__="-- EA's logging & messaging --"; VerboseLevel=1;
                                    EA_DisplayDetailsOnChart=true;
  Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                            24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                             Spread                                                            1
  Total net profit           515.50 Gross profit                        1610.40 Gross loss                                                 -1094.90
  Profit factor                1.47 Expected payoff                        0.44
  Absolute drawdown          195.60 Maximal drawdown             485.30 (4.70%) Relative drawdown                                    4.70% (485.30)
  Total trades                 1184 Short positions (won %)        20 (100.00%) Long positions (won %)                                1164 (50.52%)
                                    Profit trades (% of total)     608 (51.35%) Loss trades (% of total)                               576 (48.65%)
                            Largest profit trade                          62.70 loss trade                                                   -49.70
                            Average profit trade                           2.65 loss trade                                                    -1.90
                            Maximum consecutive wins (profit in     17 (576.70) consecutive losses (loss in money)                      11 (-49.10)
                                    money)
                            Maximal consecutive profit (count of    576.70 (17) consecutive loss (count of losses)                      -221.50 (6)
                                    wins)
                            Average consecutive wins                          3 consecutive losses                                                2

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-cd602f5ce96c3b80536a61c6fe941a31f51b17e1
                                                                     (Build 1280)

Symbol                            EURUSD (Euro vs US Dollar)
Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                             Every tick (the most precise method based on all available least timeframes)
                                  __EA_Params__=">> EA31337 Advanced v2.005 build 1629409738 <<"; __Strategies_Active__="-- Active strategies --";
                                  Strategy_M1=0; Strategy_M5=0; Strategy_M15=13; Strategy_M30=18; Strategy_H1=28; Strategy_H4=30;
                                  __Strategies_Stops__="-- Strategies' stops --"; EA_Stops_M1=0; EA_Stops_M5=0; EA_Stops_M15=38; EA_Stops_M30=12;
                                  EA_Stops_H1=3; EA_Stops_H4=38; __Strategies_Signal_Filters__="-- Strategies' signal filters --";
Parameters                        EA_SignalOpenFilter=40; EA_SignalCloseFilter=48; EA_SignalOpenFilterTime=10; __EA_Actions__="-- EA's actions --";
                                  EA_Action1_If=0; EA_Action1_Then=0; __Order_Params__="-- Orders' limits --"; EA_OrderCloseLoss=0;
                                  EA_OrderCloseProfit=0; EA_OrderCloseTime=-40; __EA_Risk_Params__="-- EA's risk management --"; EA_Risk_MarginMax=5;
                                  __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_MagicNumber=31337; __Logging_Params__="-- EA's
                                  logging & messaging --"; VerboseLevel=1; EA_DisplayDetailsOnChart=true;
Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                              24.99%
Mismatched charts errors        0
Initial deposit          10000.00                                               Spread                                                             10
Total net profit          9022.90 Gross profit                         40484.56 Gross loss                                                  -31461.66
Profit factor                1.29 Expected payoff                          3.12
Absolute drawdown         2792.02 Maximal drawdown             6062.55 (31.29%) Relative drawdown                                    32.51% (3471.57)
Total trades                 2892 Short positions (won %)             0 (0.00%) Long positions (won %)                                  2892 (52.39%)
                                  Profit trades (% of total)      1515 (52.39%) Loss trades (% of total)                                1377 (47.61%)
                          Largest profit trade                           186.86 loss trade                                                    -175.27
                          Average profit trade                            26.72 loss trade                                                     -22.85
                          Maximum consecutive wins (profit in      69 (1240.73) consecutive losses (loss in money)                       43 (-284.02)
                                  money)
                          Maximal consecutive profit (count of     3524.30 (46) consecutive loss (count of losses)                      -2247.30 (16)
                                  wins)
                          Average consecutive wins                           11 consecutive losses                                                 10

Rider

                                                                Strategy Tester Report
                                                EA31337-Rider-cd602f5ce96c3b80536a61c6fe941a31f51b17e1
                                                                     (Build 1280)

Symbol                             EURUSD (Euro vs US Dollar)
Period                             1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                              Every tick (the most precise method based on all available least timeframes)
                                   __EA_Params__=">> EA31337 Rider v2.005 build 1629409734 <<"; __Strategies_Active__="-- Active strategies --";
                                   Strategy_M1=0; Strategy_M5=0; Strategy_M15=5; Strategy_M30=22; Strategy_H1=28; Strategy_H4=30;
                                   __Strategies_Stops__="-- Strategies' stops --"; EA_Stops=38; __EA_Actions__="-- EA's actions --"; EA_Action1_If=1;
Parameters                         EA_Action1_Then=2; __Strategies_Signal_Filters__="-- Strategies' signal filters --"; EA_SignalOpenFilter=37;
                                   EA_SignalCloseFilter=32; EA_SignalOpenFilterTime=10; __EA_Risk_Params__="-- EA's risk management --";
                                   EA_Risk_MarginMax=5; __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_MagicNumber=31337;
                                   __Logging_Params__="-- EA's logging & messaging --"; VerboseLevel=1; EA_DisplayDetailsOnChart=true;
Bars in test                372155 Ticks modelled                       167831773 Modelling quality                                            24.99%
Mismatched charts errors         0
Initial deposit          100000.00                                                Spread                                                           10
Total net profit          14098.66 Gross profit                          23771.94 Gross loss                                                 -9673.28
Profit factor                 2.46 Expected payoff                          54.43
Absolute drawdown         17709.20 Maximal drawdown             18603.40 (18.44%) Relative drawdown                                 18.44% (18603.40)
Total trades                   259 Short positions (won %)            56 (32.14%) Long positions (won %)                                 203 (95.07%)
                                   Profit trades (% of total)        211 (81.47%) Loss trades (% of total)                                48 (18.53%)
                           Largest profit trade                            669.97 loss trade                                                  -691.34
                           Average profit trade                            112.66 loss trade                                                  -201.53
                           Maximum consecutive wins (profit in       34 (4092.09) consecutive losses (loss in money)                    11 (-3903.88)
                                   money)
                           Maximal consecutive profit (count of      4092.09 (34) consecutive loss (count of losses)                    -3903.88 (11)
                                   wins)
                           Average consecutive wins                            11 consecutive losses                                                3

More test results

Changelog

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase).

  • Lite configuration is easy to use, but less customizable.
  • Advanced has more options to offer (more filters), ideally for advanced users.
  • Rider is the riskiest of all as it tries to keep the orders open for longer by "riding" on the equity (which means it closes trades either on SL hit or when equity reaches 1%). You shouldn't mix it with other manual trades or EAs on the same accounts.

Which version to use, it's to you. Check Input parameters wiki page for more details.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly. Beta version is the earlier release (not polished and more riskier), but it has different logic before the code refactor. Recommended version to use is non-beta.

v2.005-beta

2 years ago

Quick note: For download links, scroll down to the bottom of this page to the Assets section.

Release notes

  • Overall backtest performance improved.
  • Rider logic significantly improved, but risky.
  • Signal open refactor for all strategies.
  • New timeframes available (H1 and H4).
  • New Pattern strategy. Fixed Heiken Ashi strategy.
  • Improves input parameters.
  • Development fixes and improvements.
  • Optimized for EURUSD and 2020-2021 years using MT5.

Other notes

  • Not suitable for real trading without proper knowledge or prior testing.
  • For professional trading EA, you may try EA31337 VIP Preview (free version available).

Usage

  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars to be processed. For real trading, it should not matter.
  • Check README for further details.
  • Read more at Wiki pages.

Backtest

EURUSD 2020

Lite

                                                                Strategy Tester Report
                                                EA31337-Lite-cd602f5ce96c3b80536a61c6fe941a31f51b17e1
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Params__=">> EA31337 Lite v2.005 build 1629409741 <<"; __Strategies_Active__="-- Active strategies --";
                                    Strategy_M1=0; Strategy_M5=0; Strategy_M15=7; Strategy_M30=7; Strategy_H1=28; Strategy_H4=28;
  Parameters                        __Trade_Params__="-- Trade parameters --"; EA_SignalOpenFilter=40; __EA_Risk_Params__="-- EA's risk management
                                    --"; EA_Risk_MarginMax=5; __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0;
                                    EA_MagicNumber=31337; __Logging_Params__="-- EA's logging & messaging --"; VerboseLevel=1;
                                    EA_DisplayDetailsOnChart=true;
  Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                            24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                             Spread                                                            1
  Total net profit           515.50 Gross profit                        1610.40 Gross loss                                                 -1094.90
  Profit factor                1.47 Expected payoff                        0.44
  Absolute drawdown          195.60 Maximal drawdown             485.30 (4.70%) Relative drawdown                                    4.70% (485.30)
  Total trades                 1184 Short positions (won %)        20 (100.00%) Long positions (won %)                                1164 (50.52%)
                                    Profit trades (% of total)     608 (51.35%) Loss trades (% of total)                               576 (48.65%)
                            Largest profit trade                          62.70 loss trade                                                   -49.70
                            Average profit trade                           2.65 loss trade                                                    -1.90
                            Maximum consecutive wins (profit in     17 (576.70) consecutive losses (loss in money)                      11 (-49.10)
                                    money)
                            Maximal consecutive profit (count of    576.70 (17) consecutive loss (count of losses)                      -221.50 (6)
                                    wins)
                            Average consecutive wins                          3 consecutive losses                                                2

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-cd602f5ce96c3b80536a61c6fe941a31f51b17e1
                                                                     (Build 1280)

Symbol                            EURUSD (Euro vs US Dollar)
Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                             Every tick (the most precise method based on all available least timeframes)
                                  __EA_Params__=">> EA31337 Advanced v2.005 build 1629409738 <<"; __Strategies_Active__="-- Active strategies --";
                                  Strategy_M1=0; Strategy_M5=0; Strategy_M15=13; Strategy_M30=18; Strategy_H1=28; Strategy_H4=30;
                                  __Strategies_Stops__="-- Strategies' stops --"; EA_Stops_M1=0; EA_Stops_M5=0; EA_Stops_M15=38; EA_Stops_M30=12;
                                  EA_Stops_H1=3; EA_Stops_H4=38; __Strategies_Signal_Filters__="-- Strategies' signal filters --";
Parameters                        EA_SignalOpenFilter=40; EA_SignalCloseFilter=48; EA_SignalOpenFilterTime=10; __EA_Actions__="-- EA's actions --";
                                  EA_Action1_If=0; EA_Action1_Then=0; __Order_Params__="-- Orders' limits --"; EA_OrderCloseLoss=0;
                                  EA_OrderCloseProfit=0; EA_OrderCloseTime=-40; __EA_Risk_Params__="-- EA's risk management --"; EA_Risk_MarginMax=5;
                                  __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_MagicNumber=31337; __Logging_Params__="-- EA's
                                  logging & messaging --"; VerboseLevel=1; EA_DisplayDetailsOnChart=true;
Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                              24.99%
Mismatched charts errors        0
Initial deposit          10000.00                                               Spread                                                             10
Total net profit          9022.90 Gross profit                         40484.56 Gross loss                                                  -31461.66
Profit factor                1.29 Expected payoff                          3.12
Absolute drawdown         2792.02 Maximal drawdown             6062.55 (31.29%) Relative drawdown                                    32.51% (3471.57)
Total trades                 2892 Short positions (won %)             0 (0.00%) Long positions (won %)                                  2892 (52.39%)
                                  Profit trades (% of total)      1515 (52.39%) Loss trades (% of total)                                1377 (47.61%)
                          Largest profit trade                           186.86 loss trade                                                    -175.27
                          Average profit trade                            26.72 loss trade                                                     -22.85
                          Maximum consecutive wins (profit in      69 (1240.73) consecutive losses (loss in money)                       43 (-284.02)
                                  money)
                          Maximal consecutive profit (count of     3524.30 (46) consecutive loss (count of losses)                      -2247.30 (16)
                                  wins)
                          Average consecutive wins                           11 consecutive losses                                                 10

Rider

                                                                Strategy Tester Report
                                                EA31337-Rider-cd602f5ce96c3b80536a61c6fe941a31f51b17e1
                                                                     (Build 1280)

Symbol                             EURUSD (Euro vs US Dollar)
Period                             1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                              Every tick (the most precise method based on all available least timeframes)
                                   __EA_Params__=">> EA31337 Rider v2.005 build 1629409734 <<"; __Strategies_Active__="-- Active strategies --";
                                   Strategy_M1=0; Strategy_M5=0; Strategy_M15=5; Strategy_M30=22; Strategy_H1=28; Strategy_H4=30;
                                   __Strategies_Stops__="-- Strategies' stops --"; EA_Stops=38; __EA_Actions__="-- EA's actions --"; EA_Action1_If=1;
Parameters                         EA_Action1_Then=2; __Strategies_Signal_Filters__="-- Strategies' signal filters --"; EA_SignalOpenFilter=37;
                                   EA_SignalCloseFilter=32; EA_SignalOpenFilterTime=10; __EA_Risk_Params__="-- EA's risk management --";
                                   EA_Risk_MarginMax=5; __EA_Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_MagicNumber=31337;
                                   __Logging_Params__="-- EA's logging & messaging --"; VerboseLevel=1; EA_DisplayDetailsOnChart=true;
Bars in test                372155 Ticks modelled                       167831773 Modelling quality                                            24.99%
Mismatched charts errors         0
Initial deposit          100000.00                                                Spread                                                           10
Total net profit          14098.66 Gross profit                          23771.94 Gross loss                                                 -9673.28
Profit factor                 2.46 Expected payoff                          54.43
Absolute drawdown         17709.20 Maximal drawdown             18603.40 (18.44%) Relative drawdown                                 18.44% (18603.40)
Total trades                   259 Short positions (won %)            56 (32.14%) Long positions (won %)                                 203 (95.07%)
                                   Profit trades (% of total)        211 (81.47%) Loss trades (% of total)                                48 (18.53%)
                           Largest profit trade                            669.97 loss trade                                                  -691.34
                           Average profit trade                            112.66 loss trade                                                  -201.53
                           Maximum consecutive wins (profit in       34 (4092.09) consecutive losses (loss in money)                    11 (-3903.88)
                                   money)
                           Maximal consecutive profit (count of      4092.09 (34) consecutive loss (count of losses)                    -3903.88 (11)
                                   wins)
                           Average consecutive wins                            11 consecutive losses                                                3

More test results

Changelog

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase).

  • Lite configuration is easy to use, but less customizable.
  • Advanced has more options to offer (more filters), ideally for advanced users.
  • Rider is the riskiest of all as it tries to keep the orders open for longer by "riding" on the equity (which means it closes trades either on SL hit or when equity reaches 1%).

Which version to use, it's to you. Check Input parameters wiki page for more details.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

v2.004

2 years ago

Quick note: For download links, scroll down to the bottom of this page to the Assets section.

Release notes

  • Advanced/Rider: New signal close filter param to postpone order closure based on the conditions.
  • Advanced: New close loss and profit param allowing to limit sl/tp for all orders. It can be also used to hide your limits from the broker (aka Stealth mode).
  • Advanced/Rider: Support for condition-action parameters allowing to configure certain trading actions on user selected conditions.
  • Backtest performance and default strategy params has been improved.
  • Several new fixes and improvements. Check Changelog section for more details.
  • Optimization has been done for EURUSD 2020-2021.
  • Coincidentally the project just hit 1337 commits, a good sign?

Other notes

  • Not suitable for real trading without proper knowledge or prior testing.
  • For professional trading EA, you may try EA31337 VIP Preview (free version available).

Usage

  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars to be processed. For real trading, it should not matter.
  • Check README for further details.
  • Read more at Wiki pages.

Backtest

EURUSD 2020

Lite

                                                                Strategy Tester Report
                                                EA31337-Lite-38b4f7da5ba8a5db7168631a9740275f0f7af06f
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Mode_Parameters__="-- EA parameters for EA31337 Lite v2.004 --"; __Strategies_Active__="-- Active
                                    strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=6; Strategy_M30=6; __Trade_Params__="-- EA's trade
  Parameters                        parameters --"; EA_LotSize=0; EA_SignalOpenFilter=40; __EA_Risk_Params__="-- EA's risk management --";
                                    EA_Risk_MarginMax=5; __EA_Logging_Parameters__="-- Settings for logging & messages --"; VerboseLevel=1;
                                    __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337;
                                    __EA_Parameters__="-- End of input parameters for EA31337 Lite v2.004 --";
  Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                           24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                               Spread                                                          10
  Total net profit           586.10 Gross profit                          2362.60 Gross loss                                                -1776.50
  Profit factor                1.33 Expected payoff                          0.98
  Absolute drawdown          580.80 Maximal drawdown             1088.20 (10.36%) Relative drawdown                                 10.36% (1088.20)
  Total trades                  597 Short positions (won %)             0 (0.00%) Long positions (won %)                                597 (57.96%)
                                    Profit trades (% of total)       346 (57.96%) Loss trades (% of total)                              251 (42.04%)
                            Largest profit trade                            75.40 loss trade                                                  -52.70
                            Average profit trade                             6.83 loss trade                                                   -7.08
                            Maximum consecutive wins (profit in       31 (164.00) consecutive losses (loss in money)                    18 (-161.80)
                                    money)
                            Maximal consecutive profit (count of      877.40 (18) consecutive loss (count of losses)                    -204.60 (10)
                                    wins)
                            Average consecutive wins                            4 consecutive losses                                               3

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-38b4f7da5ba8a5db7168631a9740275f0f7af06f
                                                                     (Build 1280)

Symbol                            EURUSD (Euro vs US Dollar)
Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                             Every tick (the most precise method based on all available least timeframes)
                                  __EA_Mode_Parameters__="-- EA parameters for EA31337 Advanced v2.004 --"; __Strategies_Active__="-- Active
                                  strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=23; Strategy_M30=22; __EA_Stops__="-- EA's stops --";
                                  EA_Stops_M1=0; EA_Stops_M5=0; EA_Stops_M15=24; EA_Stops_M30=35; __EA_Actions__="-- EA's actions --";
                                  EA_Action1_If=0; EA_Action1_Then=0; __EA_Order_Params__="-- EA's order params --"; EA_OrderCloseLoss=0;
Parameters                        EA_OrderCloseProfit=0; EA_OrderCloseTime=0; __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0;
                                  EA_SignalOpenFilter=40; EA_SignalCloseFilter=16; __EA_Risk_Params__="-- EA's risk management --";
                                  EA_Risk_MarginMax=5; __EA_Logging_Parameters__="-- Settings for logging & messages --"; VerboseLevel=1;
                                  __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337;
                                  __EA_Parameters__="-- End of input parameters for EA31337 Advanced v2.004 --";
Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                              24.99%
Mismatched charts errors        0
Initial deposit          10000.00                                               Spread                                                             10
Total net profit          5987.98 Gross profit                         10461.43 Gross loss                                                   -4473.45
Profit factor                2.34 Expected payoff                          7.81
Absolute drawdown         1104.86 Maximal drawdown             2551.55 (19.18%) Relative drawdown                                    20.36% (2274.10)
Total trades                  767 Short positions (won %)          452 (36.50%) Long positions (won %)                                   315 (69.52%)
                                  Profit trades (% of total)       384 (50.07%) Loss trades (% of total)                                 383 (49.93%)
                          Largest profit trade                           218.66 loss trade                                                    -140.90
                          Average profit trade                            27.24 loss trade                                                     -11.68
                          Maximum consecutive wins (profit in      26 (1956.08) consecutive losses (loss in money)                       19 (-345.25)
                                  money)
                          Maximal consecutive profit (count of     1956.08 (26) consecutive loss (count of losses)                      -1567.60 (16)
                                  wins)
                          Average consecutive wins                            3 consecutive losses                                                  3

Rider

                                                                Strategy Tester Report
                                                EA31337-Rider-38b4f7da5ba8a5db7168631a9740275f0f7af06f
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Mode_Parameters__="-- EA parameters for EA31337 Rider v2.004 --"; __Strategies_Active__="-- Active strategies
                                   --"; Strategy_M1=0; Strategy_M5=6; Strategy_M15=27; Strategy_M30=27; __EA_Stops__="-- EA's stops --"; EA_Stops=2;
                                   __EA_Actions__="-- EA's actions --"; EA_Action1_If=0; EA_Action1_Then=0; __Trade_Params__="-- EA's trade
 Parameters                        parameters --"; EA_LotSize=0; EA_SignalOpenFilter=40; EA_SignalCloseFilter=84; __EA_Risk_Params__="-- EA's risk
                                   management --"; EA_Risk_MarginMax=5; __EA_Logging_Parameters__="-- Settings for logging & messages --";
                                   VerboseLevel=1; __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true;
                                   EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337 Rider v2.004 --";
 Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                             24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                               Spread                                                            10
 Total net profit          3603.27 Gross profit                          5563.87 Gross loss                                                  -1960.60
 Profit factor                2.84 Expected payoff                         10.66
 Absolute drawdown         2101.09 Maximal drawdown             2393.29 (23.25%) Relative drawdown                                   23.25% (2393.29)
 Total trades                  338 Short positions (won %)           52 (50.00%) Long positions (won %)                                  286 (56.29%)
                                   Profit trades (% of total)       187 (55.33%) Loss trades (% of total)                                151 (44.67%)
                           Largest profit trade                           467.83 loss trade                                                   -204.61
                           Average profit trade                            29.75 loss trade                                                    -12.98
                           Maximum consecutive wins (profit in        16 (89.00) consecutive losses (loss in money)                      11 (-470.30)
                                   money)
                           Maximal consecutive profit (count of      1858.02 (5) consecutive loss (count of losses)                      -470.30 (11)
                                   wins)
                           Average consecutive wins                            5 consecutive losses                                                 4

More test results

Changelog

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase).

  • Lite configuration is easy to use, but less customizable.
  • Advanced has more options to offer (more filters), ideally for advanced users.
  • Rider is the riskiest of all as it tries to keep the orders open for longer by "riding" on the equity (which means it closes trades either on SL hit or when equity reaches 1%).

Which version to use, it's to you. Check Input parameters wiki page for more details.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

v2.003

3 years ago

Note: If you're looking for download links, scroll down to the Assets section.

Release notes

Known issues

  • Backtest results can be different between MT4 and MT5.
  • Backtest results for 2020 and strategies still needs some work.
  • Not suitable for real trading without proper knowledge or prior testing.
  • For professional trading EA, try EA31337 VIP Preview (for free).
  • Check README for further details.

Usage

  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars to be processed. For real trading, it does not matter.
  • Read more at Wiki pages.

Backtest

EURUSD 2020

Lite

                                                                Strategy Tester Report
                                                EA31337-Lite-6044f90f3e3ecd2cd149061530719487f85560b6
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Mode_Parameters__="-- EA parameters for EA31337 Lite v2.003 --"; __Strategies_Active__="-- Active
                                    strategies --"; Strategy_M1=0; Strategy_M5=7; Strategy_M15=14; Strategy_M30=14; __Trade_Params__="-- EA's trade
  Parameters                        parameters --"; EA_LotSize=0.01; EA_SignalOpenFilter=37; __EA_Risk_Params__="-- EA's risk management --";
                                    EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for logging & messages --"; VerboseLevel=3;
                                    __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337;
                                    __EA_Parameters__="-- End of input parameters for EA31337 Lite v2.003 --";
  Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                           24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                               Spread                                                          10
  Total net profit          -473.39 Gross profit                         17590.51 Gross loss                                               -18063.90
  Profit factor                0.97 Expected payoff                         -0.16
  Absolute drawdown         1427.73 Maximal drawdown             3001.43 (25.37%) Relative drawdown                                 25.37% (3001.43)
  Total trades                 2898 Short positions (won %)         1393 (36.90%) Long positions (won %)                               1505 (38.87%)
                                    Profit trades (% of total)      1099 (37.92%) Loss trades (% of total)                             1799 (62.08%)
                            Largest profit trade                           305.38 loss trade                                                 -201.34
                            Average profit trade                            16.01 loss trade                                                  -10.04
                            Maximum consecutive wins (profit in        11 (89.80) consecutive losses (loss in money)                    17 (-280.82)
                                    money)
                            Maximal consecutive profit (count of     2190.07 (10) consecutive loss (count of losses)                     -518.70 (9)
                                    wins)
                            Average consecutive wins                            2 consecutive losses                                               3

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-6044f90f3e3ecd2cd149061530719487f85560b6
                                                                     (Build 1280)

Symbol                            EURUSD (Euro vs US Dollar)
Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                             Every tick (the most precise method based on all available least timeframes)
                                  __EA_Mode_Parameters__="-- EA parameters for EA31337 Advanced v2.003 --"; __Strategies_Active__="-- Active
                                  strategies --"; Strategy_M1=0; Strategy_M5=7; Strategy_M15=14; Strategy_M30=14; __EA_Stops__="-- EA's stops --";
                                  EA_Stops_M1=0; EA_Stops_M5=22; EA_Stops_M15=22; EA_Stops_M30=22; __EA_Order_Params__="-- EA's order params --";
Parameters                        EA_OrderCloseTime=0; __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0.01; EA_SignalOpenFilter=37;
                                  __EA_Risk_Params__="-- EA's risk management --"; EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for
                                  logging & messages --"; VerboseLevel=3; __EA_Other_Parameters__="-- Other parameters --";
                                  EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337
                                  Advanced v2.003 --";
Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                              24.99%
Mismatched charts errors        0
Initial deposit          10000.00                                               Spread                                                             10
Total net profit         -4254.32 Gross profit                          6720.57 Gross loss                                                  -10974.88
Profit factor                0.61 Expected payoff                         -1.48
Absolute drawdown         4266.92 Maximal drawdown             4303.02 (42.88%) Relative drawdown                                    42.88% (4303.02)
Total trades                 2883 Short positions (won %)         1385 (27.08%) Long positions (won %)                                  1498 (31.64%)
                                  Profit trades (% of total)       849 (29.45%) Loss trades (% of total)                                2034 (70.55%)
                          Largest profit trade                           141.60 loss trade                                                     -56.20
                          Average profit trade                             7.92 loss trade                                                      -5.40
                          Maximum consecutive wins (profit in         6 (19.40) consecutive losses (loss in money)                        20 (-89.80)
                                  money)
                          Maximal consecutive profit (count of       141.60 (1) consecutive loss (count of losses)                        -176.20 (7)
                                  wins)
                          Average consecutive wins                            1 consecutive losses                                                  4

Rider

                                                                Strategy Tester Report
                                                EA31337-Rider-6044f90f3e3ecd2cd149061530719487f85560b6
                                                                     (Build 1280)

Symbol                            EURUSD (Euro vs US Dollar)
Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
Model                             Every tick (the most precise method based on all available least timeframes)
                                  __EA_Mode_Parameters__="-- EA parameters for EA31337 Rider v2.003 --"; __Strategies_Active__="-- Active strategies
                                  --"; Strategy_M1=0; Strategy_M5=7; Strategy_M15=14; Strategy_M30=14; __EA_Stops__="-- EA's stops --"; EA_Stops=22;
Parameters                        __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0.01; EA_SignalOpenFilter=37; __EA_Risk_Params__="-
                                  - EA's risk management --"; EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for logging & messages --
                                  "; VerboseLevel=3; __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true;
                                  EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337 Rider v2.003 --";
Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                              24.99%
Mismatched charts errors        0
Initial deposit          10000.00                                               Spread                                                             10
Total net profit         -3673.17 Gross profit                          8984.30 Gross loss                                                  -12657.46
Profit factor                0.71 Expected payoff                         -1.27
Absolute drawdown         3746.08 Maximal drawdown             3863.43 (38.19%) Relative drawdown                                    38.19% (3863.43)
Total trades                 2884 Short positions (won %)         1385 (30.90%) Long positions (won %)                                  1499 (35.49%)
                                  Profit trades (% of total)       960 (33.29%) Loss trades (% of total)                                1924 (66.71%)
                          Largest profit trade                           141.60 loss trade                                                    -103.20
                          Average profit trade                             9.36 loss trade                                                      -6.58
                          Maximum consecutive wins (profit in         9 (69.00) consecutive losses (loss in money)                       25 (-144.20)
                                  money)
                          Maximal consecutive profit (count of       148.40 (8) consecutive loss (count of losses)                        -211.70 (5)
                                  wins)
                          Average consecutive wins                            2 consecutive losses                                                  3

More test results

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase). Lite configuration is the simplest, but less customizable. Advanced has more options to offer. And Rider should deal better with higher deposits and spreads, as it tries to keep the orders open for longer. Which version you decide to use it's up to you. See: Input parameters wiki page.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

v2.002

3 years ago

Note: If you're looking for download links, scroll down to the Assets section.

Release notes

Known issues

  • EA can consist errors and bugs. Please report if any found.
  • Not suitable for real trading without proper knowledge or prior testing.
  • For professional trading EA, try EA31337 VIP Preview (for free).
  • Check README for further details.

Usage

  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars to be processed. For real trading, it does not matter.
  • Read more at Wiki pages.

Backtest

EURUSD 2020

Lite

                                                                Strategy Tester Report
                                                EA31337-Lite-67357b89f4ac8e8c7d7e52533d8b704b685d65ed
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Mode_Parameters__="-- EA parameters for EA31337 Lite v2.002 --"; __Strategies_Active__="-- Active
                                    strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=23; Strategy_M30=23; __Trade_Params__="-- EA's trade
  Parameters                        parameters --"; EA_LotSize=0; EA_SignalOpenFilter=35; __EA_Risk_Params__="-- EA's risk management --";
                                    EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for logging & messages --"; VerboseLevel=3;
                                    __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337;
                                    __EA_Parameters__="-- End of input parameters for EA31337 Lite v2.002 --";
  Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                           24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                               Spread                                                          10
  Total net profit           387.35 Gross profit                         14264.53 Gross loss                                               -13877.18
  Profit factor                1.03 Expected payoff                          0.26
  Absolute drawdown         2059.48 Maximal drawdown             2272.43 (22.25%) Relative drawdown                                 22.25% (2272.43)
  Total trades                 1490 Short positions (won %)          755 (55.76%) Long positions (won %)                                735 (52.79%)
                                    Profit trades (% of total)       809 (54.30%) Loss trades (% of total)                              681 (45.70%)
                            Largest profit trade                           143.53 loss trade                                                 -206.80
                            Average profit trade                            17.63 loss trade                                                  -20.38
                            Maximum consecutive wins (profit in       30 (694.60) consecutive losses (loss in money)                    24 (-434.67)
                                    money)
                            Maximal consecutive profit (count of      846.00 (12) consecutive loss (count of losses)                   -1130.90 (13)
                                    wins)
                            Average consecutive wins                            5 consecutive losses                                               4

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-67357b89f4ac8e8c7d7e52533d8b704b685d65ed
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Mode_Parameters__="-- EA parameters for EA31337 Advanced v2.002 --"; __Strategies_Active__="-- Active
                                   strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=27; Strategy_M30=27; __EA_Stops__="-- EA's stops --";
                                   EA_Stops_M1=0; EA_Stops_M5=0; EA_Stops_M15=28; EA_Stops_M30=28; __EA_Order_Params__="-- EA's order params --";
 Parameters                        EA_OrderCloseTime=0; __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_SignalOpenFilter=48;
                                   __EA_Risk_Params__="-- EA's risk management --"; EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for
                                   logging & messages --"; VerboseLevel=3; __EA_Other_Parameters__="-- Other parameters --";
                                   EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337
                                   Advanced v2.002 --";
 Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                             24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                               Spread                                                            10
 Total net profit          -399.26 Gross profit                          4861.97 Gross loss                                                  -5261.23
 Profit factor                0.92 Expected payoff                         -0.41
 Absolute drawdown         1011.99 Maximal drawdown             1033.09 (10.31%) Relative drawdown                                   10.31% (1033.09)
 Total trades                  972 Short positions (won %)          452 (38.05%) Long positions (won %)                                  520 (39.23%)
                                   Profit trades (% of total)       376 (38.68%) Loss trades (% of total)                                596 (61.32%)
                           Largest profit trade                            81.60 loss trade                                                    -48.57
                           Average profit trade                            12.93 loss trade                                                     -8.83
                           Maximum consecutive wins (profit in       15 (253.98) consecutive losses (loss in money)                      17 (-116.52)
                                   money)
                           Maximal consecutive profit (count of      253.98 (15) consecutive loss (count of losses)                      -222.47 (15)
                                   wins)
                           Average consecutive wins                            3 consecutive losses                                                 5

Rider

                                                                Strategy Tester Report
                                                EA31337-Rider-67357b89f4ac8e8c7d7e52533d8b704b685d65ed
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Mode_Parameters__="-- EA parameters for EA31337 Rider v2.002 --"; __Strategies_Active__="-- Active strategies
                                   --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=27; Strategy_M30=27; __EA_Stops__="-- EA's stops --"; EA_Stops=28;
 Parameters                        __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_SignalOpenFilter=48; __EA_Risk_Params__="-- EA's
                                   risk management --"; EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for logging & messages --";
                                   VerboseLevel=3; __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true;
                                   EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337 Rider v2.002 --";
 Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                             24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                               Spread                                                            10
 Total net profit          -295.04 Gross profit                          5415.99 Gross loss                                                  -5711.03
 Profit factor                0.95 Expected payoff                         -0.30
 Absolute drawdown         1518.26 Maximal drawdown             1615.89 (16.00%) Relative drawdown                                   16.00% (1615.89)
 Total trades                  972 Short positions (won %)          452 (29.20%) Long positions (won %)                                  520 (30.00%)
                                   Profit trades (% of total)       288 (29.63%) Loss trades (% of total)                                684 (70.37%)
                           Largest profit trade                            97.33 loss trade                                                    -51.00
                           Average profit trade                            18.81 loss trade                                                     -8.35
                           Maximum consecutive wins (profit in       11 (249.06) consecutive losses (loss in money)                      47 (-387.41)
                                   money)
                           Maximal consecutive profit (count of       391.73 (8) consecutive loss (count of losses)                      -399.50 (22)
                                   wins)
                           Average consecutive wins                            3 consecutive losses                                                 6

More test results

Changelog

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase). Lite configuration is the simplest, but less customizable. Advanced has more options to offer. And Rider should deal better with higher deposits and spreads, as it tries to keep the orders open for longer. Which version you decide to use it's up to you. See: Input parameters wiki page.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

v2.001

3 years ago

Note: If you're looking for download links, scroll down to the Assets section.

Release notes

  • Bug fixes and improvements.
  • Auto lot size is now calculated according to the account's available margin.
  • Optimization has been done for EURUSD 2020.

Known issues

  • EA can consist errors and bugs. Please report if any found.
  • There are still some order trading errors for MetaTrader 4 (see: #236 and #243). Trading under MetaTrader 5 can be more stable.
  • Not suitable for real trading without proper knowledge or prior testing.
  • For professional trading EA, try EA31337 VIP Preview (for free).
  • Check README for further details.

Usage

  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars to be processed. For real trading, it does not matter.
  • Read more at Wiki pages.

Backtest

EURUSD 2020

Lite

                                                               Strategy Tester Report
                                                EA31337-Lite-2a0ecb34d2b21d420dedc138b7c2a03c2a5b1558
                                                                     (Build 1280)

  Symbol                            EURUSD (Euro vs US Dollar)
  Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
  Model                             Every tick (the most precise method based on all available least timeframes)
                                    __EA_Mode_Parameters__="-- EA parameters for EA31337 Lite v2.001 --"; __Strategies_Active__="-- Active
                                    strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=23; Strategy_M30=23; __Trade_Params__="-- EA's trade
  Parameters                        parameters --"; EA_LotSize=0; EA_SignalOpenFilter=16; __EA_Risk_Params__="-- EA's risk management --";
                                    EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for logging & messages --"; VerboseLevel=3;
                                    __EA_Other_Parameters__="-- Other parameters --"; EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337;
                                    __EA_Parameters__="-- End of input parameters for EA31337 Lite v2.001 --";
  Bars in test               372155 Ticks modelled                      167831773 Modelling quality                                           24.99%
  Mismatched charts errors        0
  Initial deposit          10000.00                                               Spread                                                          10
  Total net profit          3261.32 Gross profit                         39854.85 Gross loss                                               -36593.52
  Profit factor                1.09 Expected payoff                          0.86
  Absolute drawdown         2198.18 Maximal drawdown             6189.26 (39.74%) Relative drawdown                                 39.74% (6189.26)
  Total trades                 3814 Short positions (won %)         1832 (52.24%) Long positions (won %)                               1982 (56.36%)
                                    Profit trades (% of total)      2074 (54.38%) Loss trades (% of total)                             1740 (45.62%)
                            Largest profit trade                           125.50 loss trade                                                 -210.70
                            Average profit trade                            19.22 loss trade                                                  -21.03
                            Maximum consecutive wins (profit in      64 (1703.13) consecutive losses (loss in money)                   53 (-1468.86)
                                    money)
                            Maximal consecutive profit (count of     1703.13 (64) consecutive loss (count of losses)                   -2125.88 (50)
                                    wins)
                            Average consecutive wins                           13 consecutive losses                                              11
                                                                       [Graph]

Advanced

                                                                Strategy Tester Report
                                              EA31337-Advanced-2a0ecb34d2b21d420dedc138b7c2a03c2a5b1558
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Mode_Parameters__="-- EA parameters for EA31337 Advanced v2.001 --"; __Strategies_Active__="-- Active
                                   strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=27; Strategy_M30=27; __EA_Stops__="-- EA's stops --";
                                   EA_Stops_M1=0; EA_Stops_M5=0; EA_Stops_M15=28; EA_Stops_M30=28; __EA_Order_Params__="-- EA's order params --";
 Parameters                        EA_OrderCloseTime=0; __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_SignalOpenFilter=48;
                                   __EA_Risk_Params__="-- EA's risk management --"; EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for
                                   logging & messages --"; VerboseLevel=3; __EA_Other_Parameters__="-- Other parameters --";
                                   EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337
                                   Advanced v2.001 --";
 Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                              24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                             Spread                                                             10
 Total net profit           -97.82 Gross profit                        2042.32 Gross loss                                                   -2140.14
 Profit factor                0.95 Expected payoff                       -0.25
 Absolute drawdown          681.62 Maximal drawdown             691.32 (6.91%) Relative drawdown                                      6.91% (691.32)
 Total trades                  388 Short positions (won %)        185 (38.92%) Long positions (won %)                                   203 (46.31%)
                                   Profit trades (% of total)     166 (42.78%) Loss trades (% of total)                                 222 (57.22%)
                           Largest profit trade                          52.50 loss trade                                                     -43.40
                           Average profit trade                          12.30 loss trade                                                      -9.64
                           Maximum consecutive wins (profit in     14 (172.40) consecutive losses (loss in money)                       24 (-242.91)
                                   money)
                           Maximal consecutive profit (count of    202.80 (10) consecutive loss (count of losses)                       -242.91 (24)
                                   wins)
                           Average consecutive wins                          3 consecutive losses                                                  5
                                                                       [Graph]

Rider

                                                               Strategy Tester Report
                                                EA31337-Rider-2a0ecb34d2b21d420dedc138b7c2a03c2a5b1558
                                                                     (Build 1280)

 Symbol                            EURUSD (Euro vs US Dollar)
 Period                            1 Minute (M1) 2020.01.01 23:41 - 2020.12.30 23:59 (2020.01.01 - 2020.12.31)
 Model                             Every tick (the most precise method based on all available least timeframes)
                                   __EA_Mode_Parameters__="-- EA parameters for EA31337 Rider v2.001 --"; __Strategies_Active__="-- Active
                                   strategies --"; Strategy_M1=0; Strategy_M5=0; Strategy_M15=27; Strategy_M30=27; __EA_Stops__="-- EA's stops --";
                                   EA_Stops=28; __Trade_Params__="-- EA's trade parameters --"; EA_LotSize=0; EA_SignalOpenFilter=48;
 Parameters                        __EA_Risk_Params__="-- EA's risk management --"; EA_Risk_MarginMax=10; __EA_Logging_Parameters__="-- Settings for
                                   logging & messages --"; VerboseLevel=3; __EA_Other_Parameters__="-- Other parameters --";
                                   EA_DisplayDetailsOnChart=true; EA_MagicNumber=31337; __EA_Parameters__="-- End of input parameters for EA31337
                                   Rider v2.001 --";
 Bars in test               372155 Ticks modelled                    167831773 Modelling quality                                              24.99%
 Mismatched charts errors        0
 Initial deposit          10000.00                                             Spread                                                             10
 Total net profit          -101.22 Gross profit                        2039.82 Gross loss                                                   -2141.04
 Profit factor                0.95 Expected payoff                       -0.26
 Absolute drawdown          685.02 Maximal drawdown             692.22 (6.92%) Relative drawdown                                      6.92% (692.22)
 Total trades                  388 Short positions (won %)        185 (38.92%) Long positions (won %)                                   203 (46.31%)
                                   Profit trades (% of total)     166 (42.78%) Loss trades (% of total)                                 222 (57.22%)
                           Largest profit trade                          52.50 loss trade                                                     -43.40
                           Average profit trade                          12.29 loss trade                                                      -9.64
                           Maximum consecutive wins (profit in     14 (172.40) consecutive losses (loss in money)                       24 (-242.91)
                                   money)
                           Maximal consecutive profit (count of    202.80 (10) consecutive loss (count of losses)                       -242.91 (24)
                                   wins)
                           Average consecutive wins                          3 consecutive losses                                                  5
                                                                       [Graph]

More test results

Changelog

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase). Lite configuration is the simplest, but less customizable. Advanced has more options to offer. And Rider should deal better with higher deposits and spreads, as it tries to keep the orders open for longer. Which version you decide to use it's up to you.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

v2.000

3 years ago

Note: Download links available at the bottom of this page.

Release notes

  • Since the previous release, EA has been refactored from the ground up.
  • Input parameters has been simplified by choosing which strategy should be run on which timeframe.
  • New strategies has been implemented.
  • All previous strategies has been refactored with new signal conditions.
  • There are 34 strategies to choose from.
  • Code and input parameters has been simplified

Known issues

  • Trading on MT5 platform can provide different results than on MT4.
  • Not suitable for real trading without proper knowledge or prior testing.
  • Can consist errors and bugs. Please report if any found.

Usage

  • There is no SET file for this EA, you should use it with the default parameters or optimize it accordingly.
  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • When EA is not profitable, try optimizing params for your data by choosing better strategies.
  • For backtest, use M1 so more bars can be processed. For real trading, it does not matter.
  • Read more at Wiki pages.

Backtest results

Yearly

:chart_with_upwards_trend: 2019 Lite Advanced Rider
$1k, spread 1, lev. 1:100 chart chart chart
$1k, spread 10, lev. 1:100 chart chart chart
$10k, spread 1, lev. 1:100 chart chart chart
$10k, spread 10, lev. 1:100 chart chart chart
$100k, spread 1, lev. 1:100 chart chart chart
$100k, spread 10, lev. 1:100 chart chart chart

See also: docker/backtest/README.md.

Monthly

image

Changelog

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase). Lite configuration is the simplest, but less customizable. Advanced has more options to offer. And Rider should deal better with higher deposits and spreads, as it tries to keep the orders open for longer. Which version you decide to use it's up to you.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.


v1.080

3 years ago

Release notes

  • New release with fixes and optimized param values (dataset: EURUSD, 2019 with spread 10 points).
  • Logic for Advanced and Rider versions has been improved and optimized.

Known issues

  • Not suitable for the accounts having leverage 1:400 or higher due to very high risk.
  • MT4 version works better as it is more optimized than MT5 due to slight code differences.
  • Not suitable for real trading due to a high level of risk, so you should only speculate with money you can afford to lose.

Backtest results

Yearly

EURUSD (2019)

Note: Some test results are still pending and going to be updated soon.

:chart_with_upwards_trend: 2019 Lite Advanced Rider
$1k, spread 1, lev. 1:100 chart chart chart
$1k, spread 10, lev. 1:100 chart chart chart
$10k, spread 1, lev. 1:100 chart chart chart
$10k, spread 10, lev. 1:100 chart chart chart
$100k, spread 1, lev. 1:100 chart chart chart
$100k, spread 10, lev. 1:100 chart chart chart

Monthly

Screenshot 2020-09-13 at 23 11 38

Usage

  • There is no SET file for this EA, you should use it with the default parameters.
  • Default settings are suitable for EURUSD pair only with spread 10 points or less.
  • For backtest, use M1 so more bars can be processed. For real trading, it does not matter.
  • Read more at Wiki pages.
  • Questions? Join our group on Telegram at group

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase). Advanced has more complex options to offer (also more to customize) and can deal with higher spreads in comparison with Lite. Rider should deal better with higher deposits and spreads. Which version you decide to use it's up to you.

Here is a simple table which version to use when.

Account setup Version to use
Spread <=1pip Any
Spread >=1pip Advanced, Rider
Deposit <= $1000 Lite, Advanced
Deposit >= $1000 Advanced, Rider
Leverage > 1:200 Advanced, Rider

For more details about version differences, please read: GH-113.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

If you're still undecided, the suggested version to use is: "EA31337-Advanced-v1.080.ex4".

Changelog

v1.079

3 years ago

Release notes

New release with support for MetaTrader 5.

There has been major strategy code refactor, input improvements and development fixes since the last release.

There is still a lot to do. Furthermore, this is the first release supporting MT5 platform. So please use it with caution.

Do not use this EA with higher leverage accounts (such as 1:400) due to higher risk.

Known bugs

  • Use on MetaTrader 5 with caution. It's best to set Lot Size manually to 0.01, as this version opens lot size too large due to margin miscalculation (#220). MetaTrader 4 version is not affected.
  • EA could not work on non-Forex symbols due to points per pip miscalculation (#219).
  • Do not use it on accounts having leverage 1:400 or higher due to very high risk.

Backtest results

This version has been optimized to EURUSD based on 2019 year. For other pairs, use it with caution (backtest before use). You are free to optimize the parameter values to more suitable for your data.

Please find below the backtest results for the EA31337 trading robot using MetaTrader 4.

EURUSD (2019)

:chart_with_upwards_trend: 2019 Lite Advanced Rider
$1k, spread 1, lev. 1:100 chart chart chart
$1k, spread 10, lev. 1:100 chart chart chart
$10k, spread 1, lev. 1:100 chart chart chart
$10k, spread 10, lev. 1:100 chart chart chart
$100k, spread 1, lev. 1:100 chart chart chart
$100k, spread 10, lev. 1:100 chart chart chart

Backtest build: 873368494.

Note: It is not recommended to rely on backtest results as trustworthy. As the past performance is no guarantee of future results.

Which version to use?

Lite, Advanced and Rider have slightly different logic (despite sharing the same codebase). The Lite version is the most recommended version to start with, whereas Advanced has more options to offer (more to customize) and can deal with higher spreads. Rider should deal better with higher deposits and spreads, but currently it's still in development phase. Which which version you decide to use it's up to you. If you're not happy with the results, you can always optimize it for the data that you're planning to run on.

For more details about version differences, please read: GH-113.

For MetaTrader 4, please download file with .ex4 extension, for MetaTrader 5 use .ex5 accordingly.

Usage

There is no SET file for this EA, you should use it with the default parameters.

You can use this EA on any chart, it should work in the same way as it doesn't rely on the current chart. For the backtesting, use the lower timeframes as the platform gives access to more bars. However if you've got some startup errors (such as InitClass), try changing the timeframe. This is due MT4 platform limitation by not loading multiple timeframes at the same time.

Changelog

Support

See: https://github.com/EA31337/EA31337/wiki

v1.078

4 years ago

Release notes

For this release it's recommended to use Lite version as it is the most optimized. Advanced version needs more work with param optimization. Use Rider for higher balance (it aims at high equity).

Above charts are only for reference. EA should produce better results on the demo accounts supporting micro lots with 1:200 leverage (backtest was performed on non-micro account). Use accounts with spreads 10 points (1pip) or lower.

Backtests

:chart_with_upwards_trend: 2018 Lite Advanced Rider
$1k, spread 10, lev. 1:100 lite_2018_1k_s10 advanced_2018_1k_s10 rider_2018_1k_s10
$10k, spread 10, lev. 1:100 lite_2018_10k_s10 advanced_2018_10k_s10 rider_2018_10k_s10
$100k, spread 10, lev. 1:100 lite_2018_100k_s10 advanced_2018_100k_s10 rider_2018_100k_s10

Changelog

  • Strategy code refactor (part 1).
  • Merges Strategy's Active bool params into single Tf param per strategy for easier optimization (e.g. M1=1, M5=2, M15=4, M30=8, M1-M30=15).
  • Adds AC, AD, ADX, Force and MFI strategies.
  • Adds multiple-timeframe params for ADX, Bands, CCI, DeMarker, Force, MFI, RSI and WPR (e.g. period, deviation).
  • Adds Bands_SignalLevel and Bands_HShift params.
  • Fixes CloseCondition param logic for Advanced/Rider.
  • Removes Strategy's Shift Far related params.
  • Removes MarketSuddenDropSize, MarketBigDropSize and SmartToggleComponent params.
  • Fixes OrderModify error 1. [GH-119]
  • Improves MQL5 code compability.