Aladdin5FX
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Aladdin5FX. In the code it works with the Stochastic oscillator. It places pending orders, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example EA Name (default Aladdin 5 FX), Creator (default Copyright 2011, Finans ) and Options1 (default -------Trading-------). 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 Aladdin5FX
Aladdin5FX is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter). It has 40 settings, such as Ea name, Creator and Options1. MQL source code included.
It also can size trades from your balance and risk percent and works on several symbols at once.
Files in the download: Aladdin5FX.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 |
|---|---|---|
| Ea name | Aladdin 5 FX | |
| Creator | Copyright 2011, Finans Plus Company | |
| Options1 | -------Trading------- | |
| Close only profit | TRUE | |
| Take profit | 34 | Take profit distance |
| Stop loss | 22 | Stop loss distance |
| Max spread | 2.0 | Maximum spread allowed to trade |
| Slippage | 2.0 | Maximum slippage allowed when opening a trade |
| Options2 | -------MoneyManagement------- | |
| Auto mm | 10.0 | |
| Auto mm max | 20.0 | |
| Fixed lot | 0.01 | Trade size in lots |
| Start lot | 0.0 | |
| Maximal lot | 1000.0 | |
| Recovery mode | TRUE | |
| Options3 | ---If RecoveryMode = TRUE, setup--- | |
| Max analiz count | 50 | |
| Risk | 25.0 | Risk per trade (percent of balance) |
| Risk free margin | 0.5 | Risk per trade (percent of balance) |
| Risk margin | 0.0 | Risk per trade (percent of balance) |
| Multi lot percent | 2.0 | |
| Options4 | -------Parametres Orders------- | |
| Use stop levels | TRUE | |
| Stop order | 0.0 | |
| Time stop order | 20.0 | |
| If stop | 20 | |
| K stop | 1.0 | |
| Modif stop | TRUE | |
| Order dol | 2.0 | |
| K dol | 2.0 | |
| Modif dol | FALSE | |
| Modif take | FALSE | |
| Limit order | 0.0 | |
| Time l | 11.0 | |
| K limit | 1.5 | |
| Delete limit | TRUE | |
| Delete limit u | TRUE | |
| Revers order | 0 | |
| K revers | 2.0 | |
| Time rewers | 11.0 |
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: Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · Stochastic · MT4 Expert Advisor · MQL4 Source Code