Swan TR ADX Dual N4.01
Swan TR ADX Dual N4.01 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Judging by its name, it is built around ADX / DMI trend strength. Its source code uses CCI and ADX. It works with a grid of orders. It has 29 settings, for example Start Lots (default 0.1), Lots Exponent (default 0.4) and Take Profit (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 Swan TR ADX Dual N4.01
Swan TR ADX Dual N4.01 is an expert advisor (trading robot) for MetaTrader 4 based on CCI and ADX. It opens a grid of orders at fixed price steps. It has 29 settings, such as Start lots, Lots exponent and Take profit. MQL source code included.
Files in the download: Swan_TR_ADX_Dual_N4.01.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 |
|---|---|---|
| Start lots | 0.1 | |
| Lots exponent | 0.4 | StartLots . (a. )(0.5...1.5) |
| Take profit | 20 | (6...24) |
| Pipstep | 30 | (18...51) |
| Pip step exponent | 1.3 | (1...1.6) |
| Risk | 0.3 | % (0.1...3), = 0, StartLots |
| Max lot | 2 | , (0.5...2) |
| Max step count | 5 | (5...10) |
| Overlapping | True | |
| Leading order | 4 | |
| Cl order number | 0 | ( "0") |
| Fl persent | 2 | (0.1...4) |
| T2 | ADX | |
| Delta adx | 0.8 | ADX , DeltaADX (0.5....1.5) |
| Stop adx | 65 | 50-100 ADX |
| Period adx | 15 | (7...11...15) |
| T3 | CCI | |
| Drop1 | 110 | CCI-1 , |
| Drop2 | 70 | CCI-2 |
| T4 | CCI | |
| Per1 | 30 | CCI-1 |
| Per2 | 75 | CCI-2 |
| Manual start | False | / |
| Enable buy | True | / "Buy". |
| Enable sell | True | / "Sell". |
| Only one trade | False | "True" - |
| Magic buy | 333 | Magic Number BUY- |
| Magic sell | 777 | Magic Number SELL- |
| Debug | 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: ADX · Grid · CCI · MT4 Expert Advisor · MQL4 Source Code