Trading robot · MT4

Icarus

by fraggli

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling.

High risk

GitHub stars7
Forks6
Last update4 years ago27 Jul 2022
LicenceGPL-3.0

Overview

Icarus utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thresholds, and cycle-based equity protection. It supports dynamic grid spacing with a dedicated multiplier and includes features for profit locking and partial closures. Trading can be restricted to specific hours and weekdays. The code includes a hedging mode to balance open cycles.

Details

Author

fraggli on GitHub

Type

Trading robot

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Profile

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

Input Parameters

Read from Ikarus_4.73___flexATR.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
magicint11235
grid_sizedouble20Grid_Size
gs_progressionint3GS_Progression
gs_multiplicatordouble3martingale coefficient for grid step
take_profitdouble20Take_Profit
profit_lockdouble0.80Profit_Lock
min_lotsdouble0.01Min_lots
equity_warningdouble0.20Equity_Warning
account_riskdouble1.00Account_Risk
useTradeCycleRiskboolfalseUse Buy OR Sell Cycle Risk
cycleEquityRiskdouble0.10Buy OR Sell Cycle Equity Risk Percentage
progressionint3Progression
Show all 40 inputs
NameTypeDefaultDescription
lot_multiplicatordouble1.0martingale coefficient for lot
max_positionsint6Max_Position
max_spreadint100Max_Spread
show_forecastint1Show_Forecast
profit_chasingint0number of min_lots for chasing profit
both_cyclebooltrueInitiate Both Cycle when indicators is used
hedging_activeboolfalseHedging Order to balance is used
grid_partially_closeint4Grid partial close
Restricted_Working_TimeboolfalseWorking time restricted
StartDayweekdaysMONWeek_Day_Start
StopDayweekdaysFRIWeek_Day_Stop
StartHourint8Hour_Begin
StartMinint0Minute_Begin
StartSecint0Second_Begin
StopHourint16Hour_End
StopMinint0Minute_End
StopSecint0Second_End
Indicators_Settingsstring—Settings of indicators
Conjunct_IdxbooltrueAll selected indicators will be applied together
Bolinger_Bandstring—
Use_BBbooltrueBolinger Band is used
BB_invertboolfalseInvert Trigger
BB_tfENUM_TIMEFRAMESPERIOD_M1Time Frame
BB_Periodint20Period
BB_Devdouble3.0Deviation
BB_Shiftint0Shift
BB_ModBB_optionsASK_BIDOption
Stochastic_Oscullatorstring—Stochastic Oscullator

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone fraggli/Icarus from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  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

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way

Blessing Three

by duanwujie
1 stars

This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Blessing Three
2 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

AW Full Recovery EA

by wongthep
2 stars

This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas

MT5 Trading robot GridMartingaleHedging High risk
Updated 5 months ago None stated GitHub repository of AW Full Recovery EA

Advanced Grid Trading

by jepli-1225
2 stars

Advanced Grid Trading is a MetaTrader 5 expert advisor that manages a complex grid strategy across four configurable layers. It places stop and limit orders at fixed intervals, employing either fixed or geometric lot scaling for increased grid depth. Trade management includes a shared profit pool used to close losing p

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 8 months ago None stated GitHub repository of Advanced Grid Trading
2 stars

This MetaTrader 5 expert advisor implements a multi-layered grid strategy that manages up to three independent grids simultaneously on a single instrument. It uses the Relative Strength Index (RSI) across different timeframes to determine the initial trade direction for each grid. The EA employs martingale lot scaling,

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 2 years ago None stated GitHub repository of Springfield 3 Grids

More grid EAs

Related on ForexR

Need a Broker for MT4?

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

Compare MT4 brokers