SDA X
SDA X — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. 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 cau (default ---- Chart automation --), Automate Chart Opening And Closing (default false) and Minimise Charts After Opening (default false). 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 · v1.0 · Free
About SDA X
SDA X 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 Cau, Automate chart opening and closing and Minimise charts after opening. 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: SDA_x.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 |
|---|---|---|
| Cau | ---- Chart automation ---- | |
| Automate chart opening and closing | false | |
| Minimise charts after opening | false | |
| Reserved pair | XAUUSD | |
| Template name | SDA | |
| Tra | -- Trade arrows -- | |
| Draw trade arrows | True | |
| Where to draw arrows | CandleHighLow | |
| Trade long color | Blue | Colour on the chart |
| Trade short color | Blue | Colour on the chart |
| Trade arrow size | 5 | |
| Lin | -- Trade lines -- | |
| Draw trade lines | True | |
| How to color lines | LongShort | Colour on the chart |
| Trade line long or profitable color | Lime | Colour on the chart |
| Trade line short or unprofitable color | Red | Colour on the chart |
| Trade line size | 1 | |
| Trade line style | STYLE_DOT | |
| S1 | ======================================== | |
| Oad | ---- Other stuff ---- | |
| Chart time frame | PERIOD_H4 | Period or timeframe used by the calculation |
| Event timer interval seconds | 1 | |
| Chart close timer multiple | 15 | How much the lot size grows after a loss |
| Tsep1 | ======================================== | |
| Tsep2 | ======================================== | |
| Tsep3 | ======================================== | |
| Aut | ---- Using the dashboard as an auto-trad | |
| Auto trading enabled | true | |
| Lot | 0.01 | Trade size in lots |
| Risk percent | 0 | Risk per trade (percent of balance) |
| Lots per dollop of cash | 0 | |
| Size of dollop | 1000 | |
| Use balance | false | |
| Use equity | true | |
| Stop trading | false | |
| Take profit pips | 0 | Take profit distance |
| Stop loss pips | 0 | Stop loss distance |
| Magic number | 0 | Magic number that tells this EA's orders apart |
| Trade comment | SCB | Comment written on the orders |
| Is global prime or ecn criminal | false |
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: Martingale · Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · News Trading · MT4 Expert Advisor · MQL4 Source Code