Shock Bar V.1.3
From the Old Kings archive: Shock Bar V.1.3, an expert advisor (trading robot) for MetaTrader 4. The file name marks it as version 1.3. In the code it works with moving averages. It raises the lot size after losses (martingale — high risk), places pending orders and can size trades from your risk. It has 40 settings, for example WORC MODE (default --- ---), Exit mode (default TRUE) and Work CLOSe BAR (default TRUE). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 2 EA files with source code (.mq4) you can open and edit in MetaEditor and 10 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.3 · Free
About Shock Bar V.1.3
Shock Bar V.1.3 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and can size trades from your balance and risk percent. It has 40 settings, such as Worc mode, Exit mode and Work clo se bar. MQL source code included.
Files in the download: Shock Bar v.1.3_..ex4, Shock Bar v.1.3_..mq4, Read me!.txt.txt, sb_1.3_insta_audusd_m5.set, sb_1.3_insta_eurchf_m5.set, sb_1.3_insta_eurgbp_m5.set, sb_1.3_insta_eurjpy_m5.set, sb_1.3_insta_eurusd_m5.set ….
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Worc mode | --- --- | |
| Exit mode | TRUE | |
| Work clo se bar | TRUE | |
| Lot setup blok | --- --- | |
| Lot const or not | FALSE | |
| Risk percent | 3.0 | Risk per trade (percent of balance) |
| Lot | 0.01 | Trade size in lots |
| Max l | 0.0 | |
| Lot multiplicator | 1.667 | How much the lot size grows after a loss |
| N lot mult | 2 | |
| Step setup blok | --- --- | Distance between orders |
| Mode step | 3 | Distance between orders |
| Step | 5 | Distance between orders |
| Step uv step | 5 | Distance between orders |
| Setup signal blok | --- --- | |
| Off ma h4 | TRUE | |
| Mode ma | 1 | |
| Tf for ma | 9 | |
| Period ma | 21 | Number of bars in the calculation |
| Close setup blok | --- --- | |
| Mode close orders | 2 | |
| Take profit | 30 | Take profit distance |
| Protection tp | 5 | |
| Tralling stop | 5 | |
| Restriction | --- - --- | |
| Buy sell summ | TRUE | |
| Max trades | 18 | Maximum number of open trades |
| Mode sl lok inst | 0 | |
| Lewel eq on lok | 0.0 | |
| Min proc sv sr | 0.0 | |
| Percent sl | 40.0 | |
| N lok | 3.0 | |
| Lok step | 30 | Distance between orders |
| Lok profit | 10 | |
| N6 | --- %- --- | |
| Mode enable otboy | 2 | |
| N day prof | 7 | |
| Percent prof from otboy | 40.0 | |
| N ord enable otboy | 4 | |
| R cen enable otboy | 100 |
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: Martingale · Pending Orders · Risk & Lot Size · Moving Average · MT4 Expert Advisor · MQL4 Source Code