Ben's Stochastic EMA Auto Trading Robot By Steve Hopwood 4
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Ben's Stochastic EMA Auto Trading Robot By Steve Hopwood 4. As the name suggests, the idea behind it is the Stochastic oscillator and moving averages. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 40 settings, for example gen (default ----General inputs----), Lot (default 0.01) and Stop Trading (default false). 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 Ben's Stochastic EMA Auto Trading Robot By Steve Hopwood 4
Ben's Stochastic EMA Auto Trading Robot By Steve Hopwood 4 is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as Gen, Lot and Stop trading. 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 has a news filter.
Files in the download: Ben's Stochastic EMA auto trading robot by Steve Hopwood.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 |
|---|---|---|
| Gen | ----General inputs---- | |
| Lot | 0.01 | Trade size in lots |
| Stop trading | false | |
| Trade long | true | |
| Trade short | true | |
| Take profit | 20 | Take profit distance |
| Stop loss | 40 | Stop loss distance |
| Magic number | 0 | Magic number that tells this EA's orders apart |
| Trade comment | Comment written on the orders | |
| Criminal is ecn | false | |
| Max spread | 120 | Maximum spread allowed to trade |
| Sto | ----Stochastic---- | |
| Stoch over sold | 20 | |
| Stoch over bought | 80 | |
| Stoch close buffer | 5 | |
| K | 14 | |
| D | 5 | |
| Slowing | 2 | |
| Price field | 0 | |
| Mam | 0=Simple: 1=Exp: 3=Smooth{ 4=Linear | |
| Ma method | 0 | |
| Mode | 0 | |
| Aal | ----All averages inputs---- | |
| Use aa | true | |
| Time frame | 0 | Period or timeframe used by the calculation |
| Price | 0 | |
| Ma period | 50 | Period or timeframe used by the calculation |
| Ma shift | 0 | Bar shift (0 = current bar) |
| Ma method | 1 | |
| Candle shift | 0 | Bar shift (0 = current bar) |
| Hts | ----Stealth stop loss and take profit in | |
| Hidden pips | 0 | Added to the 'hard' sl and tp and used for closure calculations |
| Bf | ----Trading balance filters---- | |
| Use zeljko | true | |
| Only trade currency twice | true | |
| Amc | ----Available Margin checks---- | |
| Sco | Scoobs | |
| Use scoobs margin check | false | |
| Fk | ForexKiwi | |
| Use forex kiwi | 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: Stochastic · Moving Average · Martingale · Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · News Trading · MT4 Expert Advisor · MQL4 Source Code