Generic+A TLP+11.94.9+++Sets+++Tests
Generic+A TLP+11.94.9+++Sets+++Tests — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses moving averages and Bollinger Bands. It can hold buy and sell positions together, moves the stop behind price and has a trading-hours filter. It has 40 settings, for example S 1 (default <==== Basic settings ===), Comm (default G) and Magic Number (default 11052016). 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 and 11 settings files (.set). 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 Generic+A TLP+11.94.9+++Sets+++Tests
Generic+A TLP+11.94.9+++Sets+++Tests is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average and Bollinger Bands. It can hold buy and sell positions at the same time (hedging), 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 S 1, Comm and Magic number. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: USDCHF - SL 86, BLS 80.gif, EURCHF - SL 80, BLS 74.gif, GBPCHF - SL 78, BLS 72.gif, GBPUSD - SL 61, BLS 55.gif, EURGBP - SL 104, BLS 98.gif, USDCAD - SL 103, BLS 98.gif, EURAUD - SL 96, BLS 98.gif, EURCAD - SL 51, BLS 46.gif ….
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| S 1 | <==== Basic settings ====> | |
| Comm | G | Comment |
| Magic number | 11052016 | Magic number that tells this EA's orders apart |
| Show info panel | true | |
| Col info | C'176,162,168' | Colore of infopanel |
| Max spread | 40 | Maximum spread allowed to trade |
| Max spread mode2 | 0 | Maximum spread allowed to trade |
| Max spread mode2 profit | 10 | Maximum spread allowed to trade |
| Slippage | 2 | Maximum slippage allowed when opening a trade |
| Every tick | 1 | Every tick? |
| S 2 | <==== MM ====> | |
| Lots | 0.1 | Trade size in lots |
| Auto risk | 0.0 | Risk per trade (percent of balance) |
| Mm depo | 0 | Depo per Lots |
| No hedge | false | No hedge |
| S 3 | <==== SL, TP, BE, TRAL ====> | |
| Stop loss | 30 | Stop loss distance |
| Take profit | 35 | Take profit distance |
| Use dyn tp | false | Dinamic TP |
| Tp perc | 80 | %% TP from canal size |
| Min tp | 10 | |
| Use be | false | Breakeven |
| X | 7 | Breakeven start |
| Y | 1 | Breakeven size |
| Use trailing stop | true | Trailing stop distance or switch |
| Trail start | 7 | Trailing stop distance or switch |
| Trail size | 5 | Trailing stop distance or switch |
| Trail step | 0.1 | Trailing stop distance or switch |
| S 4 | <==== Enter Settings ====> | |
| S 5 | <==== Enter Settings. Bollinger Bands == | |
| Time frame | PERIOD_M15 | TF for Bollinger Bands |
| Channel period | 13 | Period or timeframe used by the calculation |
| Entry break | 1 | |
| Min volatility | 20 | |
| S 6 | <==== Enter Settings. CCI ====> | |
| Time frame cci | PERIOD_M15 | TF for CCI |
| Use cci for open | 2 | CCI for open deal |
| Cci period open | 14 | CCI for open period |
| Cci price open | PRICE_CLOSE | CCI for open type |
| Top level open | 100 | CCI for open high |
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: Hedging · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · Moving Average · Bollinger Bands · MT4 Expert Advisor · MQL4 Source Code