Breakout15 3
Breakout15 3 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages. It moves the stop behind price, has a trading-hours filter and can size trades from your risk. It has 28 settings, for example Money Management (default true), Trade Size Percent (default 10) and Lots (default 1). 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.0 · Free
About Breakout15 3
Breakout15 3 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It moves the stop loss behind price (trailing stop / break-even), trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 28 settings, such as Money management, Trade size percent and Lots. MQL source code included.
It also trades breakouts and works on several symbols at once.
Files in the download: Breakout15.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 |
|---|---|---|
| Money management | true | Change to false if you want to shutdown money management controls. |
| Trade size percent | 10 | Change to whatever percent of equity you wish to risk. |
| Lots | 1 | Trade size in lots |
| Take profit | 0 | number of ticks to take profit. normally is = grid size but u can override |
| Stop loss | 60 | if u want to add a stop loss. normal grids dont use stop losses |
| Use trailing stop | true | Trailing stop distance or switch |
| Trailing stop type | 2 | Type 1 moves stop immediately, Type 2 waits til value of TS is reached |
| Trailing stop | 45 | Change to whatever number of pips you wish to trail your position with. |
| Tr stop level 1 | 20 | Type 3 first level pip gain |
| Trailing stop1 | 15 | Move Stop to Breakeven |
| Tr stop level 2 | 30 | Type 3 second level pip gain |
| Trailing stop2 | 20 | Move stop to lock is profit |
| Tr stop level 3 | 40 | |
| Trailing stop3 | 20 | Move stop and trail from there |
| Fast ma mode | 1 | 0=sma, 1=ema, 2=smma, 3=lwma, 4=LSMA |
| Fast ma period | 10 | Period or timeframe used by the calculation |
| Fast ma shift | 0 | Bar shift (0 = current bar) |
| Fast ma applied price | 0 | 0=close, 1=open, 2=high, 3=low, 4=median((h+l/2)), 5=typical((h+l+c)/3), 6=weighted((h+l+c+c)/4) |
| Slow ma mode | 1 | 0=sma, 1=ema, 2=smma, 3=lwma, 4=LSMA |
| Slow ma period | 80 | Period or timeframe used by the calculation |
| Slow ma shift | 0 | Bar shift (0 = current bar) |
| Slow ma applied price | 0 | 0=close, 1=open, 2=high, 3=low, 4=median((h+l/2)), 5=typical((h+l+c)/3), 6=weighted((h+l+c+c)/4) |
| Break out level | 35 | Start trade after breakout is reached |
| Use time limit | true | |
| Start hour | 7 | Start trades after time |
| Stop hour | 16 | Stop trading after time |
| Use friday close all | false | |
| Friday close hour | 20 |
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 · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · Moving Average · MT4 Expert Advisor · MQL4 Source Code