EA MAFD1 And EA MAFD2
EA MAFD1 And EA MAFD2 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages, ATR and fractals. It has a trading-hours filter and can size trades from your risk. It has 15 settings, for example tp (default 65), buynext (default 60) and vol (default 0.01). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 3 EA files with source code (.mq4) you can open and edit in MetaEditor and a PDF guide. 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 EA MAFD1 And EA MAFD2
EA MAFD1 And EA MAFD2 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average, ATR and Fractals. It trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 15 settings, such as Tp, Buynext and Vol. MQL source code included.
Files in the download: EA MAFD1, MAFD2 Statement.doc, Moving averageSigma.ex4, MAFD1.mq4, MAFD2.mq4, FOREX EXPERT ADVISOR EA TRADING SYSTEM NEUE VERSION eBay.mht, MAFD1.pdf, MAFD2.pdf, System kostenlos.txt.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Tp | 65 | Take profit distance |
| Buynext | 60 | |
| Vol | 0.01 | |
| Expert name | MAFD2 | |
| Magicnumber | 12345 | Magic number that tells this EA's orders apart |
| Increase lots | FALSE | |
| Risk | 200 | Risk per trade (percent of balance) |
| Lots | 1.0 | Trade size in lots |
| Maximum lots | 1000.0 | |
| Maximum spread | 7.0 | Maximum spread allowed to trade |
| Hidden tp | TRUE | |
| Hidden sl | TRUE | |
| Slippage | 3 | Maximum slippage allowed when opening a trade |
| Open hour | 22 | |
| Close hour | 23 |
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: Time Filter · Risk & Lot Size · Moving Average · ATR · Fractals · MT4 Expert Advisor · MQL4 Source Code