Parabolic SAR ADX EA
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Parabolic SAR ADX EA. Judging by its name, it is built around ADX / DMI trend strength and Parabolic SAR. In the code it works with ADX and Parabolic SAR. It can hold buy and sell positions together, places pending orders and moves the stop behind price. It has 40 settings, for example S1 (default ---------------- Entry S), Step (default 0.02) and Maximum (default 0.2). 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 1 settings file (.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 Parabolic SAR ADX EA
Parabolic SAR ADX EA is an expert advisor (trading robot) for MetaTrader 4 based on ADX and Parabolic SAR. It can hold buy and sell positions at the same time (hedging), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as S1, Step and Maximum. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: sar adx expert advisor eu h4.set, SAR ADX Expert Advisor.mq4, StrategyTester SAR ADX Expert Advisor EU H4.gif, parabolic_sar_adx.tpl.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| S1 | ---------------- Entry Settings | |
| Step | 0.02 | Distance between orders |
| Maximum | 0.2 | |
| Adx period | 50 | Period or timeframe used by the calculation |
| S2 | ---------------- Money Management | |
| Lots | 0.1 | |-----------------------lots size |
| Risk mm | false | |---------------------risk management |
| Risk percent | 1 | |------------------risk percentage |
| Martingale | false | |-----------------martingale |
| Multiplier | 2.0 | |-----------------multiplier martingale |
| Min profit | 50 | --------------------minimum profit to apply the martingale |
| Basket profit loss | false | |-----------use basket loss/profit |
| Basket profit | 100000 | |---------------if equity reaches this level, close trades |
| Basket loss | 9999 | |-------------------if equity reaches this negative level, close trades |
| S3 | ---------------- Order Management | |
| Stop loss | 0 | |------------------------stop loss |
| Take profit | 0 | |----------------------take profit |
| Hide sl | false | |---------------------hide stop loss |
| Hide tp | false | |---------------------hide take profit |
| Trailing stop | 0 | |--------------------trailing stop |
| Trailing step | 0 | |--------------------trailing step |
| Break even | 0 | |-----------------------break even |
| Max orders | 100 | |---------------------maximum orders allowed |
| Slippage | 3 | |------------------------slippage |
| Magic | 2009 | |------------------------magic number |
| S4 | ---------------- MA Filter | |
| Ma filter | false | |-------------------moving average filter |
| Ma period | 20 | |-----------------------ma filter period |
| Ma method | 0 | |------------------------ma filter method |
| Ma price | 0 | |-------------------------ma filter price |
| S5 | ---------------- Time Filter | |
| Trade on sunday | true | |---------------time filter on sunday |
| Monday to thursday time filter | false | |-time filter the week |
| Monday to thursday start hour | 0 | |-------start hour time filter the week |
| Monday to thursday end hour | 24 | |--------end hour time filter the week |
| Friday time filter | false | |-----------time filter on friday |
| Friday start hour | 0 | |-----------------start hour time filter on friday |
| Friday end hour | 21 | |------------------end hour time filter on friday |
| S6 | ---------------- Extras | |
| Hedge | false | |----------------------enter an opposite trade |
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: ADX · Parabolic SAR · Hedging · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code