Exp Lego
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Exp Lego. In the code it works with the Stochastic oscillator, moving averages, CCI and Momentum. It has 35 settings, for example b1 (default ---- ---- ---- ----Ma), otkr MA (default true) and zakr MA (default true). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. 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 Exp Lego
Exp Lego is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic, Moving Average, CCI and Momentum. It has 35 settings, such as B1, Otkr ma and Zakr ma. MQL source code included.
Files in the download: exp_Lego_1.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 |
|---|---|---|
| B1 | ---- ---- ---- ----Ma | |
| Otkr ma | true | |
| Zakr ma | true | |
| MA1 | 14 | |
| MA2 | 67 | |
| Shift ma | 1 | Bar shift (0 = current bar) |
| C1 | ---- ---- ---- ---- | |
| Otkr stoh | false | |
| Zakr stoh | false | |
| Per k | 5 | |
| Per d | 3 | |
| Slow | 3 | |
| Zone buy | 30 | |
| Zone sell | 70 | |
| D1 | ---- ---- ---- ----Awesome | |
| Otkr ao | false | |
| Zakr ao | false | |
| E1 | ---- ---- ---- ----Accelerator | |
| Otkr ac | false | |
| Zakr ac | false | |
| F1 | ---- ---- ---- ----Demarker | |
| Otkr dema | false | |
| Zakr dema | false | |
| De ma period | 14 | Period or timeframe used by the calculation |
| Niz ur | 0.3 | |
| Verx ur | 0.7 | |
| G1 | ---- ---- ---- ----CCI | |
| Otkr cci | false | |
| Zakr cci | false | |
| Cci period | 14 | Period or timeframe used by the calculation |
| Stop loss | 200 | SL |
| Take profit | 200 | Take profit distance |
| Lts0 | 0.1 | . |
| IK | 1 | Lts0 * IK |
| Sleep bars | true | 2000 |
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: Stochastic · Moving Average · CCI · Momentum · Oscillator · MT4 Expert Advisor · MQL4 Source Code