PZ Parabolic Sar EA 2
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called PZ Parabolic Sar EA 2. Judging by its name, it is built around Parabolic SAR. In the code it works with ATR and Parabolic SAR. It raises the lot size after losses (martingale — high risk), moves the stop behind price and has a trading-hours filter. It has 29 settings, for example TL Ex (default ------- Hour settings: s), Start Hour (default 00) and Start Minute (default 30). Watch it on a demo account for a while — robots can behave differently with each broker. 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 PZ Parabolic Sar EA 2
PZ Parabolic Sar EA 2 is an expert advisor (trading robot) for MetaTrader 4 based on ATR and Parabolic SAR. It increases the lot size after a losing trade (martingale), moves the stop loss behind price (trailing stop / break-even) and trades only in the hours you set (time filter). It has 29 settings, such as Tl ex, Start hour and Start minute. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: PZ_ParabolicSar_EA.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 |
|---|---|---|
| Tl ex | ------- Hour settings: set to zero for n | |
| Start hour | 00 | Hour when trading starts (server time) |
| Start minute | 30 | |
| End hour | 23 | Hour when trading stops (server time) |
| End minute | 30 | |
| Ps ex | ------- Parabolic SAR Settings | |
| Ps ex2 | >> Entry strategy | |
| Trade step | 0.002 | Distance between orders |
| Trade max | 0.2 | |
| Ps ex3 | >> Exit strategy | |
| Stop step | 0.004 | Distance between orders |
| Stop max | 0.4 | |
| Sl ex | ------- Stop-loss Settings | |
| Atr period | 30 | Period or timeframe used by the calculation |
| Atr multiplier | 2.5 | How much the lot size grows after a loss |
| Ts ex | ------- Trailing-Stop Settings | |
| Ts enabled | false | |
| Tsatr period | 30 | Period or timeframe used by the calculation |
| Tsatr multiplier | 1.75 | How much the lot size grows after a loss |
| Be ex2 | ------- Partial Closing and Break Even | |
| Partial closing | true | |
| Break even | true | Move the stop to break-even |
| Mm ex | ------- Money management | |
| Money management | true | |
| Risk percent | 2 | Risk per trade (percent of balance) |
| Lot size | 0.1 | Trade size in lots |
| Ea ex | ------- EA Settings | |
| Slippage | 5 | Maximum slippage allowed when opening a trade |
| Magic number | 12345 | Magic number that tells this EA's orders apart |
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: Parabolic SAR · Martingale · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · ATR · MT4 Expert Advisor · MQL4 Source Code