EFXSI
EFXSI — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses the Stochastic oscillator, Bollinger Bands and CCI. It places pending orders, moves the stop behind price and can size trades from your risk. It has 25 settings, for example Take Profit (default 150), Max Stop Loss (default 30) and Break Even (default 15). 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 · v1.0 · Free
About EFXSI
EFXSI is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic, Bollinger Bands and CCI. 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 25 settings, such as Take profit, Max stop loss and Break even. MQL source code included.
Files in the download: eFXSI.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 |
|---|---|---|
| Take profit | 150 | pips value for take profit level |
| Max stop loss | 30 | pips value for maximum stop loss level |
| Break even | 15 | pips for BreakEven |
| Trailing profit | 30 | pips of profit when turning trailing stop on |
| Trailing stop | 15 | pips value for trailing stop level |
| Lots | 0.1 | number of lots to trade |
| Fixed lot | true | trade either fixed lots or calculate lots as % of balance function |
| Maximum risk | 8 | %% of balance to calculate lots |
| Repeat | 3,Periods=5 | |
| Use alert | 1 | Turn this alert on or off |
| Send email | 0 | Turn this alert on or off |
| Use i trend | false | |
| Use zero lag | true | |
| Use adx | false | |
| Confirm on current | false | |
| A period | 50 | Period or timeframe used by the calculation |
| Adx period | 14 | Period or timeframe used by the calculation |
| Bands mode 0 2 | 0 | =0-2 MODE_MAIN, MODE_LOW, MODE_HIGH |
| Power price 0 6 | 0 | =0-6 PRICE_CLOSE,PRICE_OPEN,PRICE_HIGH,PRICE_LOW,PRICE_MEDIAN,PRICE_TYPICAL,PRICE_WEIGHTED |
| Price type 0 3 | 0 | =0-3 PRICE_CLOSE,PRICE_OPEN,PRICE_HIGH,PRICE_LOW |
| Bands period | 20 | Period or timeframe used by the calculation |
| Bands deviation | 2 | |
| Power period | 13 | Period or timeframe used by the calculation |
| Slippage | 3 | slippage for market order processing |
| Shift | 0 | shift to current bar, |
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 · Stochastic · Bollinger Bands · CCI · MT4 Expert Advisor · MQL4 Source Code