Generic+A TLP+11.94.9+++Sets+++Tests 2
Generic+A TLP+11.94.9+++Sets+++Tests 2 is an expert advisor (trading robot) for MetaTrader 4 from 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). 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 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 2
Generic+A TLP+11.94.9+++Sets+++Tests 2 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: Generic A-TLP 11.94.9 + sets + tests\Generic A-TLP 11.94.9.mq4, Generic A-TLP 11.94.9 + sets + tests\Sets\AUDCAD M15 Generic A-TLP v.11.94.7 (GM, Generic A-TLP 11.94.9 + sets + tests\Sets\EURAUD M15 Generic A-TLP v.11.94.7 (GM, Generic A-TLP 11.94.9 + sets + tests\Sets\EURCAD M15 Generic A-TLP v.11.94.7 (GM, Generic A-TLP 11.94.9 + sets + tests\Sets\EURCHF M15 Generic A-TLP v.11.94.7 (GM, Generic A-TLP 11.94.9 + sets + tests\Sets\EURGBP M15 Generic A-TLP v.11.94.7 (GM, Generic A-TLP 11.94.9 + sets + tests\Sets\GBPAUD M15 Generic A-TLP v.11.94.7 (GM, Generic A-TLP 11.94.9 + sets + tests\Sets\GBPCAD M15 Generic A-TLP v.11.94.7 (GM ….
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