Firebird V065
From the Old Kings archive: Firebird V065, an expert advisor (trading robot) for MetaTrader 4. The file name marks it as version 065. It works with a grid of orders, can hold buy and sell positions together and moves the stop behind price. It has 40 settings, for example MA length (default 10), MA timeframe (default 0) and MAtype (default 0). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 3 EA files 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 · v065 · Free
About Firebird V065
Firebird V065 is an expert advisor (trading robot) for MetaTrader 4. It opens a grid of orders at fixed price steps, can hold buy and sell positions at the same time (hedging) and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as Ma length, Ma timeframe and M atype. MQL source code included.
It also trades only in the hours you set (time filter), can size trades from your balance and risk percent and works on several symbols at once.
Files in the download: Firebird v0.65-Fixed.mq4, Firebird v065tf-Fixed.mq4, Firebird v3[1].2-fixed.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 |
|---|---|---|
| Ma length | 10 | |
| Ma timeframe | 0 | hdb did I add this ? lol |
| M atype | 0 | 0=close, 1=HL |
| Percent | 0.3 | |
| Trade on friday | 1 | >0 trades on friday |
| Slip | 100 | exits only |
| Lots | 0.1 | Trade size in lots |
| Take profit | 120 | Take profit distance |
| Stoploss | 200 | total loss on all open positions in pips |
| Pip step | 30 | if position goes this amount of pips against you add another. |
| Increasement type | 0 | 0=just add every PipStep, >0 =OrdersToal()^x *Pipstep |
| Magic number | 12345 | Magic number that tells this EA's orders apart |
| Use trailing stop | true | Trailing stop distance or switch |
| Trailing stop | 15 | Trailing stop distance or switch |
| Use hour trade | True | |
| From hour trade | 8 | |
| To hour trade | 18 | |
| Use equity protection | false | Close all orders when negative Float is excessive. |
| Float percent | 30 | Percent of Balance for max Float level. |
| Use mm | 1 | Money Management - 1 = true & 0 = false. |
| Risk | 5 | Percent of account equity to risk per trade. |
| Max open orders | 5 | Sets maximum number of open orders at same time. |
| Min margin level | 250 | Below this Minimum Margin Level percent % trading stops. |
| Close days | 10 | Number of days order is open before auto closing. |
| Loss level | 120 | Loss amount before auto closing after CloseDays. |
| Use hedge | true | Places reverse order with PipStep order. |
| Hedge lot factor | 3 | Hedge order Lots will be increase by this factor. |
| Hedge take profit | 30 | Take profit distance |
| Hedge stoploss | 300 | Stop loss distance |
| Auto cal | false | True = iRSI() auto calculation of TakeProfit, StopLoss, PipStep |
| Fast period | 23 | Period or timeframe used by the calculation |
| Fast price | PRICE_OPEN | |
| Slow period | 84 | Period or timeframe used by the calculation |
| Slow price | PRICE_OPEN | |
| Divergence limit | 0.002 | |
| Use v63 d divergence | 1 | 0 - Use original method for divergence, 1 - use in iFXAnalyzer |
| Use trade scheduler | 1 | |
| Sun trade hour start1 | 0 | 4 trading zones per day. To bypass a day, all zeros (=0)for that day. |
| Sun trade hour end1 | 0 | |
| Sun trade hour start2 | 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: Grid · Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · MT4 Expert Advisor · MQL4 Source Code