E Gideon
E Gideon — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses MACD and a price channel. It places pending orders, has a trading-hours filter and can size trades from your risk. It has 33 settings, for example BS Env Period (default 6), BS Env Time Frame (default 30) and BS Env Ma Method (default 0). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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 E Gideon
E Gideon is an expert advisor (trading robot) for MetaTrader 4 based on MACD and Channels & Envelopes. It places pending buy/sell stop or limit orders, trades only in the hours you set (time filter) and can size trades from your balance and risk percent. It has 33 settings, such as Bs env period, Bs env time frame and Bs env ma method. MQL source code included.
Files in the download: eGideon.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 |
|---|---|---|
| Bs env period | 6 | ma length |
| Bs env time frame | 30 | envelope time frame: 0=chart,60=1hr,240=4hr, etc. |
| Bs env ma method | 0 | 0=sma,1=ema,2=smma,3=lwma. |
| Bs env deviation | 0.1 | envelope width |
| Tp1 env period | 6 | ma length |
| Tp1 env time frame | 30 | envelope time frame: 0=chart,60=1hr,240=4hr, etc. |
| Tp1 env ma method | 0 | 0=sma,1=ema,2=smma,3=lwma. |
| Tp1 env deviation | 0.25 | envelope width |
| Tp2 env period | 6 | ma length |
| Tp2 env time frame | 30 | envelope time frame: 0=chart,60=1hr,240=4hr, etc. |
| Tp2 env ma method | 0 | 0=sma,1=ema,2=smma,3=lwma. |
| Tp2 env deviation | 0.4 | envelope width |
| Sl env period | 4 | ma length |
| Sl env time frame | 30 | envelope time frame: 0=chart,60=1hr,240=4hr, etc. |
| Sl env ma method | 0 | 0=sma,1=ema,2=smma,3=lwma. |
| Sl env deviation | 0.05 | envelope width |
| Ts env period | 1 | ma length |
| Ts env time frame | 30 | envelope time frame: 0=chart,60=1hr,240=4hr, etc. |
| Ts env ma method | 0 | 0=sma,1=ema,2=smma,3=lwma. |
| Ts env deviation | 0.05 | envelope width |
| Osma fast | 12 | ma length |
| Osam slow | 26 | envelope time frame: 0=chart,60=1hr,240=4hr, etc. |
| Osma signal | 9 | 0=sma,1=ema,2=smma,3=lwma. |
| Enable tsl | 0 | 0=Original StopLoss 1=Enable TS Envelope TSL |
| Time begin | 0 | server time order placement begins |
| Time end | 18 | server time order placement ends |
| Time delete | 23 | server time unexecuted orders deleted |
| Lift | 4.0 | |
| Counter sl | 10.0 | |
| Lots | 0.1 | Trade size in lots |
| Maximum risk | 0.02 | Risk per trade (percent of balance) |
| Decrease factor | 3 | |
| Wait bars for profit | 4 |
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 · Time Filter · Risk & Lot Size · MACD · Channels & Envelopes · MT4 Expert Advisor · MQL4 Source Code