EA Sewarna Kastem Sampit
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called EA Sewarna Kastem Sampit. 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 Magic Number (default 25516), MINIM DAILY PROFIT (default 0.01) and USE COMPOUND (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 EA Sewarna Kastem Sampit
EA Sewarna Kastem Sampit 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 Magic number, Minim daily profit and Use compound. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: EA SewarnaKastemSampit.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 | 25516 | Magic number that tells this EA's orders apart |
| Minim daily profit | 0.01 | DAILY PROFIT HANYA BERLAKU JIKA OP PERTAMA PROFIT |
| Use compound | false | |
| Ketahanan | 1000 | JIKA COMPOUND TRUE MAKA LOT=EQUITY DIBAGI KETAHANAN |
| Lot awal | 0.01 | |
| Tp in money | 1000 | |
| Fitur trail | true | Trailing stop distance or switch |
| Trailing stop | 10 | Trailing stop distance or switch |
| TP | 0 | Take profit distance |
| SL | 0 | Stop loss distance |
| Cutswitch | false | |
| Multiplier | 2 | How much the lot size grows after a loss |
| Reversal | false | JIKA TRUE MAKA SIGNAL BUY AKAN OP SELL |
| INDI1 | AltrTrend_Signal | |
| Shift indi1 | 1 | Bar shift (0 = current bar) |
| K | 30 | |
| Kstop | 0.5 | |
| Kperiod | 150 | Period or timeframe used by the calculation |
| Per adx | 14 | |
| Count bars | 350 | |
| INDI2 | #FS30_5 | |
| Shift indi2 | 1 | Bar shift (0 = current bar) |
| INDI3 | Parabolic | |
| Shift indi3 | 1 | Bar shift (0 = current bar) |
| Step | 0.02 | Distance between orders |
| Maximum | 0.2 | |
| INDI4 | SS2009_B | |
| Shift indi4 | 1 | Bar shift (0 = current bar) |
| Period | 15 | Period or timeframe used by the calculation |
| INDI5 | SS2009_C | |
| Shift indi5 | 1 | Bar shift (0 = current bar) |
| SSP | 7 | |
| Kmax | 50.6 | |
| Count bars2 | 300 | |
| INDI6 | TBL Colored MA | |
| Shift indi6 | 1 | Bar shift (0 = current bar) |
| Period2 | 15 | Number of bars in the calculation |
| Method | 3 | |
| Price | 0 | |
| Slippage | 3 | Maximum slippage allowed when opening a trade |
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 · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code