Gao Xing Daily Breakout V1.4 4 3
From the Old Kings archive: Gao Xing Daily Breakout V1.4 4 3, an expert advisor (trading robot) for MetaTrader 4. Judging by its name, it is built around breakouts from a range. The file name marks it as version 1.4.4. In the code it works with MACD. It places pending orders, moves the stop behind price and can size trades from your risk. It has 24 settings, for example Server Time Zone (default 0), TF1Start (default 6) and TF1Stop (default 10). 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.4 · Free
About Gao Xing Daily Breakout V1.4 4 3
Gao Xing Daily Breakout V1.4 4 3 is an expert advisor (trading robot) for MetaTrader 4 based on MACD. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 24 settings, such as Server time zone, Tf1 start and Tf1 stop. MQL source code included.
It also trades breakouts.
Files in the download: GaoXing Daily Breakout v1.4(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 |
|---|---|---|
| Server time zone | 0 | Server's time zone, 0 = London Time, 1 = London Time + 1, etc. |
| Tf1 start | 6 | Start timeframe 1 in hours CET |
| Tf1 stop | 10 | End timeframe 1 in hours CET |
| Use tf2 | false | True enables 2nd timeframe |
| Tf2 start | 10 | Start timeframe 2 in hours CET |
| Tf2 stop | 14 | End timeframe 2 in hours CET |
| Breakout | 5 | Pip distance between high/low and buy/sell order |
| Reverse | True | When False, opposite orders are cancelled once a breakout order is opened |
| Stop | 70 | |
| Profit target | 120 | |
| Stop2 be | 40 | Pips in profit to move stop to breakeven |
| Use close orders time | True | True closes all positions and deletes all orders at CloseOrdersTime |
| Use mm | 0 | > 0 turns Money Management on |
| Mm risk | 2 | Money Management risk per trade in percent |
| Lot size | 1 | Lotsize with UseMM = 0 |
| Trail stop | 0 | Pips to trail; if > 0 trails price when Profit Target is reached |
| Exit on macd | false | When true, positions are closed after MACD extreme |
| Fast ema | 3 | Short period MA for MACD |
| Slow ema | 6 | Long period MA for MACD |
| Magic number | 321 | Magic number that tells this EA's orders apart |
| Ea comment | Order comment, maximum of 16 characters | |
| Export2 csv | False | True saves daily pips and profit to CSV File |
| File name | GaoXing | Filename for export file |
| Chart period | Chart Period for backtesting only; M15, M30 etc. |
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: Breakout · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · MACD · MT4 Expert Advisor · MQL4 Source Code