2 Sides V5.0c4 Nik
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called 2 Sides V5.0c4 Nik. The file name marks it as version 5. In the code it works with the Stochastic oscillator. It places pending orders, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example tx1 (default ), Info (default true) and Main Info Back (default LightGray). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. 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 · v5 · Free
About 2 Sides V5.0c4 Nik
2 Sides V5.0c4 Nik is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic. It places pending buy/sell stop or limit orders, 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 Tx1, Info and Main info back. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: 2Sides_v5.0c4_nik_2.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 |
|---|---|---|
| Tx1 | ||
| Info | true | |
| Main info back | LightGray | |
| Main info | Black | |
| Buy info back | LightGray | |
| Buy info | Black | |
| Sell info back | LightGray | |
| Sell info | Black | |
| Use vtp | true | |
| Close by | true | |
| Manual trade | false | |
| Dynamic tp | true | |
| Use new bar | true | |
| Unb tf | 0 | |
| ZTP | false | |
| Ztp order | 6 | |
| Days buffer | 2 | |
| Magicbuy | 121 | Magic number that tells this EA's orders apart |
| Magicsell | 122 | Magic number that tells this EA's orders apart |
| Magiclock | 135797531 | Magic number that tells this EA's orders apart |
| Magic list | 454 455 0 | Magic number that tells this EA's orders apart |
| Buy color | Blue | Colour on the chart |
| Sell color | Red | Colour on the chart |
| Tx2 | LOT | |
| LOT | false | Trade size in lots |
| N order | 5 | |
| Lo tp | 5 | |
| Lo tral start | 3 | |
| Lo tral size | 5 | |
| Profit percent | 15 | |
| Lot color | Purple | Colour on the chart |
| Tx3 | ||
| Start hour | 21 | Hour when trading starts (server time) |
| End hour | 4 | Hour when trading stops (server time) |
| Tx4 | MoneyManagement | |
| Use mm | true | |
| Use equity | true | |
| Min lot | 0.1 | |
| Max trades | 6 | Maximum number of open trades |
| Use money | 50 |
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: Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Stochastic · MT4 Expert Advisor · MQL4 Source Code