X Best V3.3.1
X Best V3.3.1 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. This copy is version 3.3.1. It works with a grid of orders, can hold buy and sell positions together and moves the stop behind price. It has 40 settings, for example Version (default ------------------------), Version1 (default -----------------xBest F) and Version2 (default ------------------------). Watch it on a demo account for a while — robots can behave differently with each broker. 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 · v3.3.1 · Free
About X Best V3.3.1
X Best V3.3.1 is an expert advisor (trading robot) for MetaTrader 4. It opens a grid of orders at fixed price steps, can hold buy and sell positions at the same time (hedging) and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as Version, Version1 and Version2. MQL source code included.
It also trades only in the hours you set (time filter), can size trades from your balance and risk percent and has a news filter.
Files in the download: xBest_V3.3.1.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 |
|---|---|---|
| Version | ---------------------------------------- | |
| Version1 | -----------------xBest Full Hedge v3.3 - | |
| Version2 | ---------------------------------------- | |
| Chart display | ------------------------Display Info---- | |
| Chart display | FALSE | Display Info |
| Display inp background color | TRUE | Display background color |
| Background color | Teal | background color |
| Magic | --------Magic Number--------- | Magic number that tells this EA's orders apart |
| Magic | 7799 | Magic Number A |
| Magic2 | 9977 | Magic Number B |
| Moving average config | -----------------------------Moving Aver | |
| Ma frame | PERIOD_CURRENT | Moving Average TimeFrame |
| Ma period | 3 | Moving Average Period |
| Ma method | MODE_EMA | Moving Average Method |
| Ma price | PRICE_OPEN | Moving Average Price |
| Ma shift | 0 | Moving Average Shift |
| Config | ---------------------------Config------- | |
| Grid size | 1 | Step Size in Pips |
| Take profit | 10 | Take Profit in Pips |
| Lot mode | LOT_MODE_PERCENT | Lot Mode |
| Fixed lot | 0.01 | Fixed Lot |
| Percent lot | 0.03 | Percent Lot |
| Grid factor | 1.3 | Grid Increment Factor |
| Hedge | 0 | Hedge After Level |
| Hedgex | 2 | After Level Change Lot A to B |
| Daily target | 0 | Daily Target in Money |
| Max lot | 99 | Max Lot |
| Trailing stop | --------------------Trailling Stop------ | Trailing stop distance or switch |
| Use trailing stop | false | Use Trailling Stop´? |
| Trail start | 5 | TraillingStart |
| Trail stop | 5 | Size Trailling stop |
| Filter open one candle | --------------------Filter One Order by | |
| Open one candle | false | Open one order by candle |
| Timeframe bar open | PERIOD_CURRENT | Timeframe OpenOneCandle |
| Filter spread | ----------------------------Filter Max S | Maximum spread allowed to trade |
| Max spread | 24 | Max Spread |
| Equity caution | ------------------------Filter Caution o | |
| Use equity caution | TRUE | EquityCaution? |
| Total equity risk caution | 4 | Total % Risk to EquityCaution |
| Timeframe equity caution | PERIOD_D1 | Timeframe as EquityCaution |
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: Grid · Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · News Trading · MT4 Expert Advisor · MQL4 Source Code