Martingale Man 3723023 Ranjan
Martingale Man 3723023 Ranjan is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Judging by its name, it is built around martingale money management (bigger lots after a loss — high risk). Its source code uses ATR. It raises the lot size after losses (martingale — high risk), works with a grid of orders and places pending orders. It has 40 settings, for example Show Expired Time (default false), Auto Trade ON (default false) and Magic Number (default 18188). 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 Martingale Man 3723023 Ranjan
Martingale Man 3723023 Ranjan is an expert advisor (trading robot) for MetaTrader 4 based on ATR. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and places pending buy/sell stop or limit orders. It has 40 settings, such as Show expired time, Auto trade on and Magic number. MQL source code included.
It also moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent.
Files in the download: Martingale-Man_3723023-Ranjan.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 |
|---|---|---|
| Show expired time | false | |
| Auto trade on | false | |
| Magic number | 18188 | MagicNumber |
| Initial lot | 0.01 | Fix Lot |
| First trade tp | 50 | 1st TP in Pip |
| Stoploss | 0 | SL in Pip |
| Martingale setting | MARTINGALE SETTING | |
| Martingale on | true | |
| Multiplier | 1.2 | How much the lot size grows after a loss |
| Grid step | 30 | Order Distance |
| Average tp | 30 | Average TP |
| Max trades | 7 | Maximum number of open trades |
| Single trade trailing setting | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | Trailing stop distance or switch |
| Trailing stop on | false | Trailing stop distance or switch |
| Trailing stop | 20 | Trailing stop distance or switch |
| Trailing start | 10 | Trailing stop distance or switch |
| Trailing step | 1 | Trailing stop distance or switch |
| Marty trade trailing setting | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | Trailing stop distance or switch |
| Trailing martingale on | false | Trailing For Marty Trade |
| Marty trailing stop | 10 | Trailing stop distance or switch |
| Marty trailing start | 5 | Trailing stop distance or switch |
| Marty trailing step | 1 | Trailing stop distance or switch |
| Marty trade bep setting | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| Marty breakeven on | false | Move the stop to break-even |
| Breakeven | 10 | Move the stop to break-even |
| Xxxxxxxxxxxxxxxxxxxxxx | Profit Trade Base On Account Currency | |
| Close profit each side in amount | 2 | CloseProfit EachSide InAmount |
| Amount of total profit | 0 | AmountOf Total Profit Both Side |
| Amount of total loss | 0 | AmountOf Total Loss Both Side |
| Xxxxxxxxxxx1 xxxxxxxxxx | Closing Trade Base On Percent | |
| Percent of total profit | 0 | |
| Percent of total loss | 0 | |
| Trade button setting | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
| Move to right | 150 | Move to RightSide |
| Move to top | 10 | MoveUp |
| Gap button | 5 | |
| Font color | clrWhite | Colour on the chart |
| Buy button color | clrGreen | Colour on the chart |
| Close buy color | clrDarkBlue | Colour on the chart |
| Sell button color | clrRed | Colour on the chart |
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: Martingale · Grid · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · ATR · MT4 Expert Advisor · MQL4 Source Code