PZG
PZG — a MetaTrader 4 script kept in the Old Kings collection. Its source code uses ZigZag. It has 3 settings, for example Zig Zaga Ext Depth (default 12), Zig Zaga Ext Deviation (default 5) and Zig Zaga Ext Backstep (default 3). Drop it on a demo chart first to see exactly what it does. 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.
Script · MT4 · v1.0 · Free
About PZG
PZG is a script for MetaTrader 4 based on ZigZag. It has 3 settings, such as Zig zaga ext depth, Zig zaga ext deviation and Zig zaga ext backstep. MQL source code included.
Files in the download: PZG.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Zig zaga ext depth | 12 | |
| Zig zaga ext deviation | 5 | |
| Zig zaga ext backstep | 3 | Distance between orders |
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 → Scripts.
- 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 script onto a chart to run it once.
Tags: ZigZag · MT4 Expert Advisor · MQL4 Source Code