Avalanche V1.2
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Avalanche V1.2. The file name marks it as version 1.2. In the code it works with moving averages. It handles several symbols. It has 19 settings, for example d Base Lot Size (default 0.1), d X Away (default 1) and d X Toward (default 2). 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.2 · Free
About Avalanche V1.2
Avalanche V1.2 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It works on several symbols at once. It has 19 settings, such as D base lot size, D x away and D x toward. MQL source code included.
Files in the download: Avalanche_v1.2.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 |
|---|---|---|
| D base lot size | 0.1 | This is the "x" Value (base Lot Size) |
| D x away | 1 | X Value for Away Trades |
| D x toward | 2 | X Value for Toward Trades |
| D x toward int | 3 | X Value for Toward Trades paying Interest |
| D stop loss toward | 0 | StopLoss if desired, not reccommended on Towards |
| D stop loss away | 10 | Stop loss distance |
| N slippage | 20 | Maximum slippage allowed when opening a trade |
| N erp chart period | 480 | The chart used in the ERP, 240 = 4hour |
| N erp number of periods | 100 | The number of periods used in the SMA on the chart |
| N erp change buffer | 50 | This is the buffer before changing ERP Position |
| N interval toward | 10 | Interval between Toward Trade Orders |
| N interval away | 10 | Interval between Away Trade Orders |
| D take profit toward | 10 | Take Profit setting on Toward Trades |
| D take profit away | 8 | Take Profit setting on Away Trades |
| N stack buffer toward | 5 | Stacking Buffer on Toward Trades |
| N stack buffer away | 5 | Stacking Buffer on Away Trades |
| B cancel open orders | true | Cancel all open orders, the program will set new orders |
| B close open trades | false | Are you sure you want to set this to true? |
| B open starting orders | true | Should the program automatically open new orders when initiated |
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: Multi-Currency · Moving Average · MT4 Expert Advisor · MQL4 Source Code