SWB Grid 4.1 Revised 05 E
SWB Grid 4.1 Revised 05 E — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its name points to a grid of orders at fixed price steps. Its source code uses RSI, the Stochastic oscillator and Bollinger Bands. It raises the lot size after losses (martingale — high risk), can hold buy and sell positions together and has a trading-hours filter. It has 40 settings, for example separator 01 (default ---- General Settings ), use daily target (default false) and daily target (default 100). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 3 EA files 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 4.1 Revised 05 E
SWB Grid 4.1 Revised 05 E is an expert advisor (trading robot) for MetaTrader 4 based on RSI, Stochastic and Bollinger Bands. It increases the lot size after a losing trade (martingale), can hold buy and sell positions at the same time (hedging) and trades only in the hours you set (time filter). It has 40 settings, such as Separator 01, Use daily target and Daily target. MQL source code included.
Files in the download: swb grid 4.1_revised_05_D.mq4, swb grid 4.1_revised_05_E.mq4, day_time_function.mqh, day_time_header.mqh, TradePlot_body.mqh, TradePlot_header.mqh, J_TPO_Velocity.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 |
|---|---|---|
| Separator 01 | ---- General Settings ---- | |
| Use daily target | false | |
| Daily target | 100 | |
| Trade in fri | true | |
| Magic | 1 | Magic number that tells this EA's orders apart |
| Start lot | 0.1 | |
| Range | 25 | |
| Rge multiplier | false | How much the lot size grows after a loss |
| R multiplier | 1.5 | How much the lot size grows after a loss |
| Level | 10 | |
| Separator 02 | ---- Lot & TP Settings ---- | |
| Lot multiplier | true | How much the lot size grows after a loss |
| L multiplier | 2.0 | How much the lot size grows after a loss |
| Increment | 0.1 | |
| Power lots | true | |
| Tp by level | false | |
| Tp 1 | 25 | |
| Tp 2 | 40 | |
| Use sl and tp | false | |
| Sl std | 60 | |
| Tp std | 30 | |
| Tp in money | 5.0 | |
| Stealth mode | true | |
| Separator 03 | ---- Hedge Settings ---- | |
| Hedge | true | |
| H level | 1 | |
| H top level | 100 | |
| H tp | 80 | |
| H sl | 25 | |
| B even set | 10 | |
| H offset | 20 | |
| H factor | 1.05 | |
| H loss factor | 0.0 | |
| Level limit | false | |
| Separator 04 | ---- Indicator Settings ---- | |
| Use bb | true | |
| Bb period | 20 | Period or timeframe used by the calculation |
| Bb deviation | 2 | |
| Bb shift | 0 | Bar shift (0 = current bar) |
| Use stoch | true |
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 · Hedging · Time Filter · RSI · Stochastic · Bollinger Bands · MT4 Expert Advisor · MQL4 Source Code