5 Minutes Scalping Ea
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called 5 Minutes Scalping Ea. As the name suggests, the idea behind it is short scalping trades. In the code it works with moving averages. It raises the lot size after losses (martingale — high risk), moves the stop behind price and has a trading-hours filter. It has 40 settings, for example Bars Count (default 100), Period Count (default 30) and Price Count (default 0). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 6 indicator files 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 5 Minutes Scalping Ea
5 Minutes Scalping Ea is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It increases the lot size after a losing trade (martingale), 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 Bars count, Period count and Price count. MQL source code included.
It also can size trades from your balance and risk percent and is built for short scalping trades.
Files in the download: mql4\Indicators\5MinutesScalping-i1a.mq4, mql4\Indicators\5MinutesScalping-i2a.mq4, mql4\Indicators\5MinutesScalping-i3a.mq4, mql4\Indicators\5MinutesScalping-i4a.mq4, mql4\Indicators\5MinutesScalping-i5a.mq4, 5MinutesScalpingEA_v1.1.mq4, Best Trading Systems.url.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Bars count | 100 | |
| Period count | 30 | Number of bars in the calculation |
| Price count | 0 | |
| Alert mode | true | Turn this alert on or off |
| Control chart eurusd m5 | true | |
| At rperiod | 14 | Period or timeframe used by the calculation |
| Trend period | 18 | Period or timeframe used by the calculation |
| Advanced sets | ||======= Set Signals =======|| | |
| Type of signals | Normal_Signals | |
| Indicators shift | 1 | Bar shift (0 = current bar) |
| Indicators sets i1 | ||======= Set Indicator i1 =======|| | |
| Use indicator i1 | true | |
| Bars count1 | 10 | |
| Period count1 | 30 | Number of bars in the calculation |
| Price count1 | 0 | |
| Indicators sets i2 | ||======= Set Indicator i2 =======|| | |
| Use indicator i2 | true | |
| Bars count2 | 10 | |
| Period count2 | 50 | Number of bars in the calculation |
| Price count2 | 0 | |
| Indicators sets i3 | ||======= Set Indicator i3 =======|| | |
| Use indicator i3 | true | |
| Bars count3 | 10 | |
| Period count3 | 10 | Number of bars in the calculation |
| Price count3 | Price_High_Low | |
| Indicators sets i4 | ||======= Set Indicator i4 =======|| | |
| Use indicator i4 | true | |
| Bars count4 | 10 | |
| At rperiod4 | 14 | Number of bars in the calculation |
| Indicators sets i5 | ||======= Set Indicator i5 =======|| | |
| Use indicator i5 | true | |
| Bars count5 | 10 | |
| Trend period5 | 18 | Number of bars in the calculation |
| Set close orders | ||======= Set Close Orders =======|| | |
| Close in signal | false | |
| Use basket close | false | |
| Close in profit | false | |
| Pips close profit | 10.0 | |
| Close in loss | false | |
| Pips close loss | 100.0 |
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: Scalping · Martingale · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Moving Average · MT4 Indicator · MQL4 Source Code