Wsfr D2HL
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Wsfr D2HL. It places pending orders, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example TP (default ), TICK (default 0) and Take Profit (default 36). Watch it on a demo account for a while — robots can behave differently with each broker. 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 Wsfr D2HL
Wsfr D2HL is an expert advisor (trading robot) for MetaTrader 4. 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 Tp, TICK and Take profit. MQL source code included.
It also can size trades from your balance and risk percent, has a news filter and is built for short scalping trades.
Files in the download: WSFR_D2HL_5.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 |
|---|---|---|
| Tp | ||
| TICK | 0 | --- . =0 . |
| Take profit | 36 | --- (10 2 60) |
| Stop loss | 35 | --- (100 10 200) |
| Use stop levels | TRUE | --- . , . |
| Close only profit | TRUE | |
| Secure profit | 2 | --- (0 1 5) |
| Secure profit triger | 8 | --- (10 2 30) |
| Max loss points | -25 | --- (-200 5 -20) Buy Sell ( - MaxLossPoints ( 0), ) |
| Commis | 0 | |
| Po | ||
| Market order | TRUE | |
| Order dop | 2 | - . = 0 - . |
| KDOP | 2 | |
| Modif dop | FALSE | |
| Modif take | FALSE | |
| Limit order | 0 | - . = 0 - . |
| Time l | 11 | |
| K limit | 1.5 | |
| Delete limit | TRUE | |
| Delete limit u | TRUE | |
| Stop order | 0 | - |
| Time s | 20 | |
| DOPS | 2 | |
| K stop | 1 | |
| Modif stop | TRUE | ( ) |
| Stop | TRUE | |
| Tral | ||
| Trailing stop | 0 | 0 - 1 . 0.25... 1 |
| Trailing step | 0 | Trailing stop distance or switch |
| Utral | 10 | |
| Mm | MM | |
| Start lot | 0 | . = 0 = 0 =StartLot |
| Recovery mode | TRUE | --- ( -) |
| Fixed lot | 0.01 | --- |
| Auto mm | 10 | --- AutoMM > 0. . RecoveryMode = FALSE, . |
| Tip mm | 0 | --- (0,1,2) |
| Maximal lot | 1000 | |
| Auto mm max | 20.0 | --- |
| Max analiz count | 50 | --- ( RecoveryMode = True) |
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 · News Trading · Scalping · MT4 Expert Advisor · MQL4 Source Code