Scalper FX
From the Old Kings archive: Scalper FX, an expert advisor (trading robot) for MetaTrader 4. As the name suggests, the idea behind it is short scalping trades. In the code it works with moving averages. It places pending orders, has a trading-hours filter and can size trades from your risk. It has 19 settings, for example Use MM (default true), Min Lots (default 0.01) and Max Lots (default 1000.0). 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 Scalper FX
Scalper FX is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It places pending buy/sell stop or limit orders, trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 19 settings, such as Use mm, Min lots and Max lots. MQL source code included.
It also is built for short scalping trades.
Files in the download: Scalper_FX.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 |
|---|---|---|
| Use mm | true | |
| Min lots | 0.01 | |
| Max lots | 1000.0 | |
| Risk | 10.0 | Risk per trade (percent of balance) |
| Fixed lots | 0.1 | Trade size in lots |
| Stop loss | 300 | Stop loss distance |
| Max spread plus commission | 10.0 | Maximum spread allowed to trade |
| Limit | 20 | |
| Distance | 50 | Distance between orders |
| Ma period | 3 | Period or timeframe used by the calculation |
| Ma method | 3 | |
| Time filter | ----------Time Filter | |
| Start hour | 0 | Hour when trading starts (server time) |
| Start minute | 0 | |
| End hour | 23 | Hour when trading stops (server time) |
| End minute | 59 | |
| Filter | 300 | |
| Magic number | 777 | Magic number that tells this EA's orders apart |
| Trade comment | Scalper_FX | Comment written on the orders |
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 · Pending Orders · Time Filter · Risk & Lot Size · Moving Average · MT4 Expert Advisor · MQL4 Source Code