Swb Grid 5.4 ML Inverse
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Swb Grid 5.4 ML Inverse. As the name suggests, the idea behind it is a grid of orders at fixed price steps. In the code it works with MACD. It raises the lot size after losses (martingale — high risk), works with a grid of orders and moves the stop behind price. It has 40 settings, for example use daily target (default true), daily target1 (default 10) and daily target2 (default 20). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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 · v1.0 · Free
About Swb Grid 5.4 ML Inverse
Swb Grid 5.4 ML Inverse is an expert advisor (trading robot) for MetaTrader 4 based on MACD. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as Use daily target, Daily target1 and Daily target2. MQL source code included.
It also trades only in the hours you set (time filter) and can size trades from your balance and risk percent.
Files in the download: swb grid 5.4-ML-INVERSE.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 |
|---|---|---|
| Use daily target | true | |
| Daily target1 | 10 | daily target untuk session 1 |
| Daily target2 | 20 | daily target untuk session 2 |
| Daily target3 | 30 | daily target untuk session 3 |
| Use monthly target | false | |
| Monthly target | 300 | |
| Trade in fri | true | |
| Magic | 1 | Magic number that tells this EA's orders apart |
| Lot multiplier | true | How much the lot size grows after a loss |
| Multiplier1 | 2 | How much the lot size grows after a loss |
| Multiplier2 | 1.59 | How much the lot size grows after a loss |
| Start lot | 0.1 | |
| Range | 25 | |
| Level | 10 | |
| Level margin1 | --Level 1-2=TP1/ 3-9=TP2 -- | |
| Tp in money1 | 10.0 | |
| Tp in money2 | 10.0 | |
| Resiko | --Money Protection in prosent-- | |
| Risk money | 50 | Risk per trade (percent of balance) |
| Use sl and tp | false | |
| Tp | 15 | Take profit distance |
| Trailing | --Trailing hanya untuk tading manual-- | Trailing stop distance or switch |
| Profit trailing | True | Trailing stop distance or switch |
| Trailing stop | 8 | Trailing stop distance or switch |
| Trailing step | 2 | Trailing stop distance or switch |
| Set countertrend | --Close all order if countertrend-- | |
| Countertrend | false | |
| Counterlevel | 3 | |
| Multiply recovery | 80 | Pengali untuk mengembalikan lot |
| Profit recovery | 80 | Pengali untuk mengembalikan profit |
| Indikator | --Monitor Indicator -- | |
| Bb period | 1 | Period or timeframe used by the calculation |
| Bb deviation | 1 | |
| Bb shift | 0 | Bar shift (0 = current bar) |
| Stochastic | --k1=Stochastic1/ k2=Stochastic2 -- | |
| K | 34 | |
| K2 | 12 | |
| K3 | 5 | |
| Up level | 80 | |
| Lo level | 20 |
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 · Martingale · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · MACD · MT4 Expert Advisor · MQL4 Source Code