Robot Kit
Robot Kit — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. It places pending orders, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example Percent Profit (default 1.0), Percent Loss (default 5.0) and Delete Pending Orders (default FALSE). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 12 EA files with source code (.mq4) you can open and edit in MetaEditor and a PDF guide. 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 Robot Kit
Robot Kit is an expert advisor (trading robot) for MetaTrader 4. 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 Percent profit, Percent loss and Delete pending orders. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: d-CloseByTotalsPercents~.mq4, d-CloseByTotals~.mq4, d-CloseOnTime~.mq4, d-LevelSound~.mq4, d-MouseOrderControl~.mq4, d-NewsTrader~.mq4, d-OCO~.mq4, d-TradeByChartLines~.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 |
|---|---|---|
| Percent profit | 1.0 | |
| Percent loss | 5.0 | |
| Delete pending orders | FALSE | |
| Close terminal | FALSE | |
| Show comment | TRUE | Comment written on the orders |
| Number account | 0 | |
| Use sound | FALSE | Turn this alert on or off |
| Name file sound | expert.wav | Turn this alert on or off |
| Slippage | 3 | Maximum slippage allowed when opening a trade |
| Number of tries | 5 | |
| Pause after error | 75 | |
| P expert | ---------- Parameters ------------ | |
| Total loss level | 30.0 | |
| Total profit level | 60.0 | |
| Account number | 0 | |
| P performance | ---------- Execution parameters ---- | |
| Sound success | ok.wav | Turn this alert on or off |
| Sound error | timeout.wav | Turn this alert on or off |
| Number of attempt | 5 | |
| Close hour | 7 | |
| Close minute | 0 | |
| Use curr symbol | FALSE | |
| Use one account | FALSE | |
| Cl close buy | Blue | |
| Cl close sell | Red | |
| Move level 1 | 5 | |
| Sound 1 up | expert | Turn this alert on or off |
| Sound 1 dn | ok | Turn this alert on or off |
| Move level 2 | 15 | |
| Sound 2 up | alert2 | Turn this alert on or off |
| Sound 2 dn | alert | Turn this alert on or off |
| P graphics | ---------- Parameters of Graphic Objects | |
| Sl color | Orange | Colour on the chart |
| Sl style | 4 | |
| Sl width | 0 | |
| Tp color | DodgerBlue | Colour on the chart |
| Tp style | 4 | |
| Tp width | 0 | |
| Update interval in sec | 0.1 | |
| Print in journal | TRUE |
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 · MT4 Expert Advisor · MQL4 Source Code