Forex Rebus
Forex Rebus is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses moving averages. It places pending orders, moves the stop behind price and can size trades from your risk. It has 32 settings, for example simbol name (default EURUSD), bars for autoscale (default 200) and inverse (default false). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 4 indicator files 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 Forex Rebus
Forex Rebus is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 32 settings, such as Simbol name, Bars for autoscale and Inverse. MQL source code included.
It also works on several symbols at once.
Files in the download: 1.doc, cor.mq4, rebus expert.mq4, zone.mq4, ^X.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 |
|---|---|---|
| Simbol name | EURUSD | |
| Bars for autoscale | 200 | |
| Inverse | false | |
| MA | false | |
| Ma period | 14 | Period or timeframe used by the calculation |
| Ma only | false | |
| Begin session1 | 6 | Hour when trading starts (server time) |
| End session1 | 10 | |
| Begin session2 | 10 | Hour when trading starts (server time) |
| End session2 | 14 | |
| Trailing stop | 0 | Trailing stop distance or switch |
| Take profit | 0 | Take profit distance |
| Initial stop loss | 40 | Stop loss distance |
| Number of days | 50 | |
| Asia begin | 01:00 | Hour when trading starts (server time) |
| Asia end | 10:00 | |
| Asia color | Goldenrod | Colour on the chart |
| Eur begin | 07:00 | Hour when trading starts (server time) |
| Eur end | 16:00 | |
| Eur color | Tan | Colour on the chart |
| Usa begin | 14:00 | Hour when trading starts (server time) |
| Usa end | 23:00 | |
| Usa color | PaleGreen | Colour on the chart |
| Regression degree | 2 | |
| K deviation channel | 2 | |
| Trend line color | Gold | Colour on the chart |
| Res line color | OrangeRed | Colour on the chart |
| Sup line color | DeepSkyBlue | Colour on the chart |
| Regression color1 | Yellow | Colour on the chart |
| Regression color2 | Lime | Colour on the chart |
| Regression color3 | Red | Colour on the chart |
| Regression color4 | RoyalBlue | 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: Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · Multi-Currency · Moving Average · MT4 Indicator · MQL4 Source Code