Trading robot · MT4

XLiquidex

by m-root

XLiquidex is an impulsive volatility breakout robot for MetaTrader 4.

GitHub stars3
Forks6
Last update10 years ago27 Dec 2015
LicenceApache-2.0

Overview

XLiquidex identifies entry signals using Keltner Channel breakouts, Moving Average filters, and a candle body range requirement to verify momentum. The expert advisor includes trade management features such as take profit, stop loss, break-even offsets, and trailing stops. Risk controls feature an equity protection system that monitors account percentage, alongside automated lot sizing based on account risk. It also incorporates time-based filters to restrict trading to specific hours or sessions.

Details

Author

m-root on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Breakout, Trend following

Markets

Forex

Timeframes

M1-M5, M15-H1

Risk profile

  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
DispEquityProtectionstringif true, then the expert will protect the account equity to
EquityProtectionbooltrueif true, then the expert will protect the account equity to the percent specified
AverageEquityProtectionstringpercent of the account to protect on a set of trades
AccountEquityPercentProtectionint75percent of the account to protect on a set of trades
UseMMbooltrueenable/disable auto-calculation for size of lots: false = constant size of lots (value of parameter "Lots"); true = calc
Lotsdouble0.01size of lots (used if UseMM = false)
MinLotsdouble0.01
MaxLotsdouble100000.0
Riskdouble3.0
BarAndMA_Modeint02; // (0-3) mode for rule "bullish(bearish) bar should be above(below) MA": 0 = does not use this rule; 1 = Close o
RangeFilterint10(amount pips) minimum body of candle for trading signal
StopLossdouble0(amount pips) stop-loss; 0 = without stop-loss
Show all 40 inputs
NameTypeDefaultDescription
TakeProfitdouble10(amount pips) take profit; 0 = without take profit
MoveToBEdouble5(amount pips) profit when move the stop-loss level to opening price; 0 = without move to BE (option is disabled)
MoveToBE_Offsetdouble2(amount pips) offset of the new level stop-loss from the opening price of order, positive_value = offset to side of prof
TrailingLimitint3(amount pips) distance to pending order
TrailingDistanceint1(amount pips) trailing stop; 0 = without trailing-stop
MAPeriodint7
MAShiftint0
MAMethodintMODE_LWMA(0-3)
MaxSpreadWithCommissiondouble20.0(amount pips)
DefaultCommisionPointsdouble0(amount pips)
RangeFilterNotestringH-S 0-0: 250 0-1: 300 1-0: 80 1-1: 250
MAMethodNotestringSMA: 0 EMA: 1 SMMA: 2 LWMA 3
Slippageint3(amount pips) maximum price slippage at open and close orders
MagicNumberint41403
TradeCommentstringLiquidex_MKH-M15
ColorBuycolorclrLimecolor arrows of Buy-orders
ColorSellcolorclrOrangecolor arrows of Sell-orders
ShowCommentbooltrueenable/disable show comment on chart
WriteDebugLogboolfalseenable/disable write to log the debug information
___Keltner_Channel____string---------------------------------------------
UseFilterKeltnerChannelboolfalsetrue = use indicator "Keltner Channels"; false = does not use indicator "Keltner Channels"
KC_Periodint612; // parameter for indicator "Keltner Channels"
partInRangestringsur EURJPY par de trades entre 23h et 2 heures du mat
EntryHourFromint2
EntryHourToint24
FridayEndHourint22
part_iVARstring Ivar pour supprimer les fausses entrees periods = 5 par de
TimeFrameiVARint1

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone m-root/xLiquidex_V2_Mod1---expert-for-MetaTrader-4 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

Box Breakout EA

by je-zhou
26 stars

This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R

MT4MT5 Trading robot BreakoutTrend following

Binario

by EarnForex
20 stars

Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista

MT4MT5 Trading robot BreakoutTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Binario

Hybrid Swing EA

by clevergoldfox
15 stars

This MetaTrader 4 expert advisor executes a regime-gated breakout strategy specifically optimized for XRP and ETH markets. It operates on the H4 timeframe, utilizing Bollinger Bands for entry signals coupled with ADX and ATR filters to identify high-volatility trend environments. The EA employs a one-shot entry approac

MT4 Trading robot BreakoutTrend following
Updated 8 months ago None stated GitHub repository of Hybrid Swing EA
10 stars

This MetaTrader 4 expert advisor automates trading on the foreign exchange market, with specific testing historicals for GBPUSD on the five-minute timeframe. It focuses on intraday logic, allowing users to define specific trading windows and maximum daily trade limits. Risk controls include dynamic lot sizing based on

MT4 Trading robot BreakoutTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of E and P For The Freedom

Conservative Scalper EA

by NadirAliOfficial
10 stars

Conservative Scalper EA is a MetaTrader 4 robot designed for intraday scalping on major currency pairs such as EURUSD, GBPUSD, and USDJPY. It determines market bias on the M15 timeframe using dual Exponential Moving Averages and enters trades on the M5 chart based on RSI levels and candle breakouts. The system prioriti

MT4 Trading robot ScalpingTrend followingBreakout

Desiree EA

by Lucas170
7 stars

Desiree is an automated trading robot for MetaTrader 4 that utilizes Donchian Channel breakouts for trade execution. The system enters positions based on a specific lookback period and exits using a separate exit period. A notable logic constraint prevents the EA from entering a new trade if the preceding trade resulte

MT4 Trading robot BreakoutTrend following
Updated 9 years ago None stated GitHub repository of Desiree EA

More trading robots

Need a broker for MT4?

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

Compare brokers