2 Sides V5.0a
2 Sides V5.0a — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. This copy is version 5. Its source code uses the Stochastic oscillator. It has a trading-hours filter and can size trades from your risk. It has 40 settings, for example tx1 (default ), Info (default true) and Main Info Back (default LightGray). 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 · v5.0a · Free
About 2 Sides V5.0a
2 Sides V5.0a is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic. It trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 40 settings, such as Tx1, Info and Main info back. MQL source code included.
Files in the download: 2Sides_v5.0a.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 | |
| 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 | 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 | true | 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 | |
| Sl level | 40 |
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: Time Filter · Risk & Lot Size · Stochastic · MT4 Expert Advisor · MQL4 Source Code