📝 产品详情
AutomaticZigZag
| 作者 | Stanislav Korotky |
| 版本 | v1.7 |
| 更新 | 2020-09-01T12:56:02 |
| 激活数 | 0 |
This is a non-parametric ZigZag providing 4 different methods of calculation.
- Upward edge continues on new bars while their `highs` are above highest `low` among previous bars, downward edge continues on next bars while their `lows` are below lowest `high` among previous;
- Gann swing: upward edge continues while `highs` and `lows` are higher than on the left adjacent bar, downward edge continues while `highs` and `lows` are lower than on the left adjacent bar. Inside bars (with lower `high` and higher `low`) and outside bars (with higher `highs` and lower `low`) do not affect edge direction;
- Weis wave: upward edge continues while `close` prices increase, downward edge continues while `close` prices decrease;
- Retracement by price % or Self-Adjusting Level.
In addition to zigzag itself (shown in orange color), the indicator shows signal marks on those bars where zigzag direction changes. The blue arrow up denotes that new bullish edge is started (but not yet completed), whereas the red arrow down denotes that new bearish edge is emerging (but not yet completed). This marks can be used as trading signals.
Parameters
- Mode - one of supported methods: High below Low/Low above High, Gann swing, Close vs Close (Weis wave), Retracement;
- ProcessTicks - an option to calculate ZigZag on every tick, by default - false; with this value, the last incomplete edge is not shown until it's formed comletely and new (hidden yet) edge is started; if the option is set to true, the last incomplete edge is shown on the chart and my be redrawn according to ongoing price action;
- RetracementPercent - size of price retracement (%), which changes zigzag direction (used in Retracement or Close vs Close modes only); 0 by default means special auto-adaptive retracement algorithm (see below);
Auto-adaptive retracement level is calculated by the formula:
where N is a number of bars between the last extreme and current bar. On the current bar N = 0, hence the retracement size is equal to 1, that is the total size of the last edge. On single bar distance the size is about 0.71, on 3 bars - 0.5, on 8 bars - 1/3 of the last edge price change.
安全须知
本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。
EA 配置
| 交易品种 | XAUUSD |
| 时间框架 | H1 (推荐) |
| 推荐经纪商 | IC Markets, IC Trading |
| 最低存款 | $300 / 0.01手 |
📸 截图预览