Trading robot · MT4 · MT5

Se-0303

by se333

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling.

High risk

GitHub stars1
Forks0
Last update6 years ago26 Aug 2020
LicenceNone stated

Overview

Se-0303 determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk controls such as a maximum drawdown threshold and freeze zones that prevent new orders during high-volatility periods. While primarily automated, it allows manual overrides for trade directions and profit adjustments. The README is minimal, with most configuration details found in the source code.

Details

Author

se333 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5)

Strategy

Grid, Martingale, Trend following, Mean reversion

Markets

Any symbol

Timeframes

M1-M5

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend
  • Trades without a fixed stop loss

Input parameters

Read from se-09-z-utf8.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
curve_dist_open_kdouble0.33(0.33-0.37) коэффициент открытия ордеров относительно прогнозной высоты
curve_dist_tp_kdouble0.5(0.8-1.2) коэффициент тейк-профита относительно прогнозной высоты
multi_lot_mindouble2.0(3.0-5.0) минимальное значения умножения лотов
multi_lot_maxdouble3.0(5.0-7.0) максимальное значения умножения лотов
multi_lot_dist_forcedouble0.0050(0.0040-0.0070) расстояние после которого, принудительно(после 0.0050) включается умножение лотов
multi_lot_dist_curvedouble0.0180(0.0050-0.0100) расстояние которое ?
orders_small_maxint3(4-6) максимальное кол-во ордеров маленького обьема
orders_sessions_big_maxint2(2-4) максимальное кол-во открыты?
dist_open_freez_zone_small_kdouble0.14(0.0 - 0.2) зона заморозки - процент от дневной высоты бара, который показывает что в этой зоне нельзя выставлять ордера
dist_open_freez_zone_big_kdouble0.70(0.0 - 0.2) зона заморозки - процент от дневной высоты бара, который показывает что в этой зоне нельзя выставлять ордера
dist_open_second_small_kdouble1.00(1.5-3.0) коэффициент для дистанции открытия второго ордера маленького обьема в сессии
dist_open_second_big_kdouble1.00(2.0-3.0) коэффициент для дистанции открытия второго ордера большого обьема в сессии
Show all 40 inputs
NameTypeDefaultDescription
dist_open_last_small_kdouble1.5(1.1-1.8) коэффициент для дистанции открытия последнего ордера(когда открыто более 50%) маленького обьема в торговом дне
dist_open_last_big_kdouble2.0(3.0-4.5) коэффициент для дистанции открытия последнего ордера большого обьема в торговом дне
session_dist_open_mindouble0.0005(0.0003-0.0007) минимальное расстояние от цены для открытия ордеров в сессии
session_dist_open_maxdouble0.0015(0.0010-0.0016) максимальное расстояние от цены для открытия ордеров в сессии
session_dist_tp_small_mindouble0.0010(0.0010-0.0012) минимальное расстояние от точки безубыточности до цены тейк-профита в сессии
session_dist_tp_small_maxdouble0.0026(0.0022-0.0030) максимальное расстояние от точки безубыточности до цены тейк-профита в сессии
session_dist_tp_big_mindouble0.0012(0.0016-0.0022) минимальное расстояние от точки безубыточности до цены тейк-профита в сессии
session_dist_tp_big_maxdouble0.0018(0.0022-0.0036) максимальное расстояние от точки безубыточности до цены тейк-профита в сессии
fractal_timeframeintPERIOD_M1время для фракталов
trande_exist_cur_kdouble0.82(0-1) коэф. показывающий, что существует тренд ( цена отошла более чем на 83% от дистанции )
trande_exist_rebound_min_kdouble0.26(0-1) коэф. показывающий, что на тренде уже начались отскоки более 28% дистанции
trande_exist_rebound_max_kdouble0.55(0-1) коэф. показывающий, что на сильном тренде были отскоки более 45% дистанции, ставить ордера опасно
trande_exist_offdouble0.0160расстояние показывающее, что существует сильный тренд, не было отскока и нужно отключить запрет высталять ордера
trande_exist_direct_kdouble0.026(0-1) коэф. показывающий, что существует сильный тренд для прямого (по тренду) направления торговли
trande_exist_reverse_kdouble0.06(0-1) коэф. показывающий, что существует сильный тренд для противоположного направления торговли
sessions_time_beginint2222:00, время начала сессий
sessions_time_endint0808:00, время конца сессий
magic_numberint0магик номер для ордеров ( 0 - все ордера )
orders_volume_max_kdouble22.0(30.0-40.0) максимально разрешенный обьем, во сколько раз можно умножить обьем относительно первого ордера
orders_drawdown_max_kdouble0.22(0.45-0.60) максимальный процент просадки, тостигнув которой прекращается установка ордеров
balance_first_kdouble0.018коэф.(процент) начальной суммы денег для первого ордера от баланса
balance_use_kdouble1.00коэф.(процент) использования баланса
S1string--- User manual trade ---
user_trade_on_sellbooltrueразрешает торговать ордерами на продажу (для ручного управления)
user_trade_on_buybooltrueразрешает торговать ордерами на покупку (для ручного управления)
user_change_tp_selldouble0.0изменяет тейк-профит в открыты?
user_change_tp_buydouble0.0изменяет тейк-профит в открыты?
user_price_open_limit_selldouble0.0ограничивает цену открытия ордера ( 0.0 - ограничие отключено )

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone se333/se-0303 from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts or MQL5/Experts.
  3. 3Copy the filesCopy the .mq4 / .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

IchiDCA CCBSN PropFirm EA

by magicniuniu
3 stars

IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u

MT5 Trading robot Trend followingGridMean reversion High risk
1 stars

This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli

MT5 Trading robot Mean reversionGridMartingale High risk

MADR Brothers

by mitsuaki-41
1 stars

MADR Brothers is a MetaTrader 5 expert advisor that utilizes multi-timeframe Moving Average Deviation Rates to identify trading opportunities. It filters market trends using a long-period MADR on higher timeframes while entering trades based on overbought or oversold levels of a shorter-period MADR. The system includes

MT5 Trading robot Trend followingMean reversionGrid High risk
Updated 3 months ago MIT GitHub repository of MADR Brothers
26 stars

This MetaTrader 4 expert advisor operates two concurrent strategy groups based on technical indicators. It primarily utilizes Bollinger Bands and Envelopes to identify market entries for automated trading. The robot employs a position scaling approach, using lot multipliers and fixed-distance grid additions to manage t

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Bollinger Envelopes Grid

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA

RSI Martingale EA

by peefpee
10 stars

This Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul

MT5 Trading robot MartingaleMean reversionGrid High risk

More trading robots

Need a broker for MT4/MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers