Boss Mode
Boss Mode — a MetaTrader 4 expert advisor (trading robot) kept in 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 40 settings, for example alerts On (default true), alerts On Current (default false) and alerts Message (default true). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 60 indicator 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 Boss Mode
Boss Mode 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 40 settings, such as Alerts on, Alerts on current and Alerts message. MQL source code included.
It also works on several symbols at once and is set up for gold (XAUUSD).
Files in the download: BOSS MODE\BOSS MODE Manual.pdf, BOSS MODE\FXProSystems - best Trading Systems and Indicators.url, BOSS MODE\Indicators\!XPS iMA.ex4, BOSS MODE\Indicators\!XPS iMA.mq4, BOSS MODE\Indicators\!XPS v8 CLOCK.ex4, BOSS MODE\Indicators\!XPS v8 CLOCK.mq4, BOSS MODE\Indicators\!XPS v8 CONTINUATION-test.ex4, BOSS MODE\Indicators\!XPS v8 CONTINUATION-test.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 |
|---|---|---|
| Alerts on | true | Turn this alert on or off |
| Alerts on current | false | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts sound | false | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
| Lb | 34 | |
| Ssl ma method | 0 | |
| Ssl bar level | 100 | 48; //BarLevel 10-90 |
| Time frame | 0 | Period or timeframe used by the calculation |
| Corner | 0 | |
| Window | 0 | |
| Mm1 colorx | C'7,40,80' | Colour on the chart |
| Mm2 colorx | C'100,50,60' | Colour on the chart |
| Mm3 colorx | C'7,40,80' | Colour on the chart |
| Ma type | MODE_LWMA | |
| Multi color | true | Colour on the chart |
| Soundfile | alert.wav | Turn this alert on or off |
| Alarm | false | |
| Panel bgd2 | C'42,62,82' | C'40,60,80';//C'40,80,120'; |
| Note1 | DST started on Sunday, 27 March 2011, 01 | |
| Note2 | DST ends on Sunday, 30 October 2011, 02: | |
| Fibo start | 01:00 | |
| Fibo end | 01:00 | |
| Show current pair only | FALSE | |
| Pairs to trade | AUDCHF,AUDUSD,GBPCHF,USDCHF,XAGUSD,GBPUS | |
| Periods to trade | M15,M30,H1,H4 | Number of bars in the calculation |
| Pdi | ----Pair display inputs---- | |
| Font size | 13 | |
| Font colour | Yellow | Colour on the chart |
| Font font | Courier New | |
| Display starts x | 5.0 | |
| Display starts y | 5.0 | |
| On current | true | |
| Indicator innon lag ma window | FALSE | |
| Non lag ma window name | nonLagMa | |
| Lagma | ----nonLagMA settings---- | |
| Price | 0 | |
| Length | 21 | |
| Displace | 0 | |
| Pct filter | 0.25 |
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: Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Multi-Currency · Gold (XAUUSD) · Moving Average · MT4 Indicator · MQL4 Source Code