Collection · MT4

XMT-Scalper and EA Collection

by mkozse

This repository is a collection of MetaTrader 4 expert advisors, featuring the XMT-Scalper robot and several legacy systems.

High risk

GitHub stars12
Forks6
Last update11 years ago20 Jul 2015
LicenceNone stated

Overview

XMT-Scalper is an automated scalping strategy designed to trade based on volatility breakouts using indicators like Bollinger Bands and Moving Averages. It includes risk controls such as stop loss, take profit, and trailing stops. The system filters trades based on spread and execution speed to ensure stability. Other files in the collection include variations of commercial EAs, although the README provides little documentation for these additional scripts.

Details

Author

mkozse on GitHub

Type

Collection

Platform

MetaTrader 4 (MQL4)

Strategy

Scalping, Breakout, Mean reversion, Martingale

Markets

Forex

Timeframes

M1-M5

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

Read from XMT-Scalper_v2.461.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Configurationstring==== Configuration ====
ReverseTradeboolFALSEIf TRUE, then trade in opposite direction
Magicint-1If set to a number less than 0 it will calculate MagicNumber automatically
OrderCmtstringXMT-Scalper 2.46Trade comments that appears in the Trade and Account History tab
ECN_ModeboolFALSETrue for brokers that don't accept SL and TP to be sent at the same time as the order
DebugboolFALSEPrint huge log files with info, only for debugging purposes
VerboseboolFALSEAdditional information printed in the chart
TradingSettingsstring==== Trade settings ====
MaxSpreaddouble30.0Max allowed spread in points (1 / 10 pip)
MaxExecutionint0Max allowed average execution time in ms (0 means no restrictions)
MaxExecutionMinutesint5How often in minutes should fake orders be sent to measure execution speed
StopLossdouble60StopLoss from as many points. Default 60 (= 6 pips)
Show all 40 inputs
NameTypeDefaultDescription
TakeProfitdouble100TakeProfit from as many points. Default 100 (= 10 pip)
AddPriceGapdouble0Additional price gap in points added to SL and TP in order to avoid Error 130
TrailingStartdouble20Start trailing profit from as so many points.
Commissiondouble0Some broker accounts charge commission in USD per 1.0 lot. Commission in dollar
Slippageint3Maximum allowed Slippage in points
MinimumUseStopLeveldouble0Minimum stop level. Stoplevel to use will be max value of either this value or broker stoplevel
VolatilitySettingsstring==== Volatility Settings ====
UseDynamicVolatilityLimitboolTRUECalculate VolatilityLimit based on INT (spread * VolatilityMultiplier)
VolatilityMultiplierdouble125Dynamic value, only used if UseDynamicVolatilityLimit is set to TRUE
VolatilityLimitdouble180Fix value, only used if UseDynamicVolatilityLimit is set to FALSE
UseVolatilityPercentageboolTRUEIf true, then price must break out more than a specific percentage
VolatilityPercentageLimitdouble0Percentage of how much iHigh-iLow difference must differ from VolatilityLimit. 0 is risky, 60 means a safe value
UseIndicatorSetstring=== Indicators: 1 = Moving Average, 2 = BollingerBand, 3 = E
UseIndicatorSwitchint1Switch User indicators.
Indicatorperiodint3Period in bars for indicators
BBDeviationdouble2.0Deviation for the iBands indicator
EnvelopesDeviationdouble0.07Deviation for the iEnvelopes indicator
OrderExpireSecondsint3600Orders are deleted after so many seconds
Money_Managementstring==== Money Management ====
MoneyManagementboolTRUEIf TRUE then calculate lotsize automaticallay based on Risk, if False then use ManualLotsize below
MinLotsdouble0.01Minimum lot-size to trade with
MaxLotsdouble100.0Maximum allowed lot-size to trade with
Riskdouble2.0Risk setting in percentage, For 10.000 in Equity 10% Risk and 60 StopLoss lotsize = 16.66
ManualLotsizedouble0.1Manual lotsize to trade with if MoneyManagement above is set to FALSE
MinMarginLeveldouble100Lowest allowed Margin level for new positions to be opened.
Screen_Shooterstring==== Screen Shooter ====
TakeShotsboolFALSESave screen shots on STOP orders?
DelayTicksint1Delay so many ticks after new bar

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone mkozse/Expert-Advisors 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

2 stars

This repository contains a collection of MetaTrader 4 expert advisors, with a primary focus on the XMT-Scalper system. The software implements a tick-scalping strategy that identifies reversals from channel breakouts using indicators such as Bollinger Bands and Moving Averages. It includes risk management features incl

MT4 Collection ScalpingBreakoutMean reversion High risk
Updated 5 years ago None stated GitHub repository of XMT Scalper Collection

Zobad EA Collection

by zobad16
7 stars

This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas

MT4 Collection ScalpingGridTrend following High risk
Updated 7 months ago None stated GitHub repository of Zobad EA Collection

This collection for MetaTrader 4 features several expert advisors, primarily centered on the Candlestick Breakout Scalper. The lead tool monitors price action relative to previous candle highs and lows to identify breakout opportunities. It incorporates stochastic filters to confirm entries and supports specific tradin

MT4 Collection BreakoutScalpingMartingale High risk

This repository provides a collection of MetaTrader 4 expert advisors developed for algorithmic trading research. The library includes multiple distinct robots such as the Turtle strategy, Keltner channel candlestick patterns, and volatility-based breakouts. Each EA implements various risk controls including ATR-based

MT4 Collection Trend followingBreakoutMean reversion High risk Archived
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk
1 stars

This MetaTrader 4 repository contains a collection of trading tools, primarily featuring an automated RSI-based grid expert advisor. The system enters positions when the Relative Strength Index exceeds defined thresholds and manages them using a grid strategy with martingale lot multiplication. Risk controls include a

MT4 Collection GridMartingaleMean reversion High risk

More collections

Need a broker for MT4?

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

Compare brokers