XMT Scalper V2.522 4 3
XMT Scalper V2.522 4 3 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. As the name suggests, the idea behind it is short scalping trades. This copy is version 2.522.4. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 40 settings, for example Configuration (default ==== Configuration ====), Reverse Trade (default FALSE) and Magic (default -1). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 1 EA file with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Expert advisor · MT4 · v2.522 · Free
About XMT Scalper V2.522 4 3
XMT Scalper V2.522 4 3 is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as Configuration, Reverse trade and Magic. MQL source code included.
It also can size trades from your balance and risk percent, has a news filter and is built for short scalping trades.
Files in the download: XMT-Scalper_v2.522.mq4.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Configuration | ==== Configuration ==== | |
| Reverse trade | FALSE | ReverseTrade: If TRUE, then trade in opposite direction |
| Magic | -1 | Magic: If set to a number less than 0 it will calculate MagicNumber automatically |
| Order cmt | XMT-Scalper 2.522 | OrderCmt. Trade comments that appears in the Trade and Account History tab |
| Ecn mode | FALSE | ECN_Mode: True for brokers that don't accept SL and TP to be sent at the same time as the order |
| Debug | FALSE | Debug: Print huge log files with info, only for debugging purposes |
| Verbose | FALSE | Verbose: Additional log information printed in the Expert tab |
| Trading settings | ==== Trade settings ==== | |
| Time frame | PERIOD_M1 | TimeFrame: Trading timeframe must matrch the timeframe of the chart |
| Max spread | 30.0 | MaxSprea: Max allowed spread in points (1 / 10 pip) |
| Max execution | 0 | MaxExecution: Max allowed average execution time in ms (0 means no restrictions) |
| Max execution minutes | 5 | MaxExecutionMinutes: How often in minutes should fake orders be sent to measure execution speed |
| Stop loss | 60 | StopLoss: SL from as many points. Default 60 (= 6 pips) |
| Take profit | 100 | TakeProfit: TP from as many points. Default 100 (= 10 pip) |
| Add price gap | 0 | AddPriceGap: Additional price gap in points added to SL and TP in order to avoid Error 130 |
| Trailing start | 20 | TrailingStart: Start trailing profit from as so many points. |
| Commission | 0 | Commission: Some broker accounts charge commission in USD per 1.0 lot. Commission in dollar per lot |
| Slippage | 3 | Slippage: Maximum allowed Slippage of price in points |
| Minimum use stop level | 0 | MinimumUseStopLevel: Stoplevel to use will be max value of either this value or broker stoplevel |
| Volatility settings | ==== Volatility Settings ==== | |
| Use dynamic volatility limit | TRUE | UseDynamicVolatilityLimit: Calculated based on INT (spread * VolatilityMultiplier) |
| Volatility multiplier | 125 | VolatilityMultiplier: A multiplier that only is used if UseDynamicVolatilityLimit is set to TRUE |
| Volatility limit | 180 | VolatilityLimit: A fix value that only is used if UseDynamicVolatilityLimit is set to FALSE |
| Use volatility percentage | TRUE | UseVolatilityPercentage: If true, then price must break out more than a specific percentage |
| Volatility percentage limit | 0 | VolatilityPercentageLimit: Percentage of how much iHigh-iLow difference must differ from VolatilityL |
| Use indicator set | === Indicators: 1 = Moving Average, 2 = | |
| Use indicator switch | 1 | UseIndicatorSwitch: Choose of indicator for price channel. |
| Indicatorperiod | 3 | Indicatorperiod: Period in bars for indicator |
| Bb deviation | 2.0 | BBDeviation: Deviation for the iBands indicator only |
| Envelopes deviation | 0.07 | EnvelopesDeviation: Deviation for the iEnvelopes indicator only |
| Order expire seconds | 3600 | OrderExpireSeconds: Orders are deleted after so many seconds |
| Money management | ==== Money Management ==== | |
| Money management | TRUE | MoneyManagement: If TRUE then calculate lotsize automaticallay based on Risk, if False then use Manu |
| Min lots | 0.01 | MinLots: Minimum lot-size to trade with |
| Max lots | 100.0 | MaxLots : Maximum allowed lot-size to trade with |
| Risk | 2.0 | Risk: Risk setting in percentage, For 10.000 in Equity 10% Risk and 60 StopLoss lotsize = 16.66 |
| Manual lotsize | 0.1 | ManualLotsize: Fix lot size to trade with if MoneyManagement above is set to FALSE |
| Min margin level | 100 | MinMarginLevel: Lowest allowed Margin level for new positions to be opened |
| Screen shooter | ==== Screen Shooter ==== | |
| Take shots | FALSE | TakeShots: Save screen shots for each opened order |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Scalping · Martingale · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · News Trading · MT4 Expert Advisor · MQL4 Source Code