FXF Safe Trend Scalp V1 Codebase
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called FXF Safe Trend Scalp V1 Codebase. As the name suggests, the idea behind it is short scalping trades and following the trend. The file name marks it as version 1. In the code it works with the Stochastic oscillator, moving averages and ZigZag. It raises the lot size after losses (martingale — high risk), can size trades from your risk and is set up for scalping. It has 8 settings, for example Magic Number (default 123321), Static Lot (default 0.01) and SL (default 500). 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 · Free
About FXF Safe Trend Scalp V1 Codebase
FXF Safe Trend Scalp V1 Codebase is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic, Moving Average and ZigZag. It increases the lot size after a losing trade (martingale), can size trades from your balance and risk percent and is built for short scalping trades. It has 8 settings, such as Magic number, Static lot and SL. MQL source code included.
Files in the download: FXF Safe Trend Scalp V1 Codebase.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 |
|---|---|---|
| Magic number | 123321 | Magic Number |
| Static lot | 0.01 | Static Order lot for MoneyManagment OFF |
| SL | 500 | Order Stop loss (Point) |
| TP | 500 | Order Take Profit (Point) |
| Max spread | 20 | Maximum Spread Allowed |
| T tprofit | 50 | Total Profit to close All Martingle Orders |
| Time frame | PERIOD_H1 | Working time frame |
| Drawarrow | false | Draw Buy sell signal |
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 · Trend · Martingale · Risk & Lot Size · Stochastic · Moving Average · ZigZag · MT4 Expert Advisor · MQL4 Source Code