欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

标准差和 ZigZag 点 (Standard Deviation & ZigZag Points)

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:Excelx
发布日期:First Post: Jun 6, 2018 7:58am | Edited Jun 9, 2018 9:11pm
I have been studying indicators and trading strategies for a while now although i'm kind of new in the market and have yet to become more experienced! I have come across many interesting systems and indicators so i wanted to share one of them with whomever might find it useful.

So the system is pretty simple;

It's based on the idea that the end of ZigZag legs and the next point is found in peaks of high standard deviation where the market if likely to reverse and retrace from the current direction, so we observe the ZigZag leg direction and look for the next peak of above average standard deviation which is where the next zigzag point might be and we predict a retracement or trend reversal.

I coded the indicator(See in image bellow) that calculates an averaging of standard deviation( The red Line ) and find peaks of high standard deviation ( The Blue line ) above the defined averaged StdDev. the yellow lines in the chart are the zigzag indicator.

I also coded the very simple EA that follows that rule and looks for StdDev above the averaged and try to identify the reversal based on the zigzag current leg and the level of standard deviation.

This strategy, indicator and EA can be applied with many different parameters and set ups, it can be used in many time frames with different purposes, so feel free to find a better use for it.
The ea is the same as before with the difference that uses a different way to find StdDev highs.

a low-Period StdDev against a higher averaging gives less signals, but there's stronger chance it will reverse, a high-Period against a StdDev averaging might indicate i possible continuation of the trend, so i might be better to trade in the direction of the leg.

::**The ZigZag indicator must be in the indicator folder for the EA to work.**::

The EA can be tested in Open prices only mode, so it can also be tried optimization which will go a lot faster.

This EA and indicator is for educational purposes only, i'm not a professional or advanced coder or trader, it should be used with other confirmations and your own judgement.

I hope that someone can find use for it.
Please share your view and experience, opinions or constructive insights and criticism are welcome.

New ideas are also welcome.

*The input ::'Positive' can be used to trade in the direction of the current zigzag leg if set to "=false";

原帖附件 (4)

📦 帖子附件汇总 (8)

以下是回帖中所有共享的附件(8 个,已去重)。

🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录