Swan ADX CCI N1.17 Tral
Swan ADX CCI N1.17 Tral is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. As the name suggests, the idea behind it is the Commodity Channel Index (CCI) and ADX / DMI trend strength. Its source code uses CCI and ADX. It works with a grid of orders and moves the stop behind price. It has 28 settings, for example w1 (default NewCycle - ), New Cycle (default TRUE) and Start Lots (default 0.1). 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 ADX CCI N1.17 Tral
Swan ADX CCI N1.17 Tral is an expert advisor (trading robot) for MetaTrader 4 based on CCI and ADX. It opens a grid of orders at fixed price steps and moves the stop loss behind price (trailing stop / break-even). It has 28 settings, such as W1, New cycle and Start lots. MQL source code included.
Files in the download: Swan_ADX_CCI_N1.17_tral.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 |
|---|---|---|
| W1 | NewCycle - | |
| New cycle | TRUE | FALSE - |
| Start lots | 0.1 | |
| Lots exponent | 0.4 | StartLots . (a )(0.1...1) |
| Static take profit | 15 | Take profit distance |
| Static pipstep | 30 | Distance between orders |
| Pip step exponent | 1.3 | (1....1.6) |
| Turbo | 1 | "0" - "Turbo" (0...2) |
| Risk | 0.3 | % , = 0, StartLots |
| Max lot | 2 | , |
| Max step count | 5 | Distance between orders |
| Use trailing stop | true | Trailing stop distance or switch |
| Trail tp | 5 | , |
| Trail dist | 5 | , |
| Auto take profit | 20 | TrailingStop |
| 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 |
| Mn buy | 222 | Magic Number Buy-( "0"). |
| Mn sell | 333 | Magic Number Sell-( "0"). |
| 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 · CCI · Grid · Trailing Stop & Break-even · MT4 Expert Advisor · MQL4 Source Code