Double Top / Bottom 5.6
Metatrader 技术指标 (MT4/MT5)
-
ℹ 概述
A double top or bottom is a chart pattern, characterized by two consecutive peaks or valleys in price, that signals a potential price reversal. Efficient reversals take place after a prolonged trend. This price pattern is more reliable on higher timeframes.
- Clear trading signals
- Customizable colors and sizes
- Implements performance statistics
- Customizable fibonacci retracement levels
- It displays suitable stop-loss and take-profit levels
- It implements email/sound/visual alerts
These patterns can expand, and the indicator follows the pattern by repainting. However, the indicator implements a twist to make it easier to trade: it waits for a Donchian breakout in the right direction before signaling the trade, making its signals very reliable and mostly non repainting.
- ≡
输入参数
将专家加载到任何图表时,您将收到一组选项作为输入参数。不要绝望,如果你认为他们是太多,因为参数被归类成不言自明的块。
- Amplitude
- The amplitude represents the minimum amount of bars between alternative price points. To find big patterns, increase the amplitude parameter. To find smaller patterns, decrease the amplitude parameter.
- Breakout Period
- A donchian breakout is needed for a signal to arise after a pattern is found, and this indicator controls the amount of bars used in aforementioned breakout.
- Min. Retracement
- The minimum fibonacci retracement needed in a pattern.
- Max. Retracement
- The maximum fibonacci retracement possible in a pattern.
- Max History Bars
- Amount of past bars to evaluate when the indicator loads in the chart.
- Display Stats
- Show or hide the statistics dashboard and performance data.
- Display SL/TP Levels
- Show or hide the suitable stop-loss and take-profit levels for each signal.
- Drawing Options
- Colors and sizes for bullish or bearish lines and labels, as well as font sizes.
- Breakouts
- Colors and sizes for breakout arrows.
- Alert Events
- Enable or disable alerts for patterns and breakouts.
- Alerts
- Enable or disable alerts at will.
- ?
常见问题
- Does the indicator repaint?
- Yes, the indicator can repaint if the market ignores a pattern and keeps moving in the same direction. However, breakouts are mostly non repainting. A high "breakout period" value will decrease the repainting significantly.
- Does the indicator implement alerts?
- Yes, it does. It implements alerts of all kinds.
- </>
开发者
为了建立您的专家顾问,您可以使用下面所示的 iCustom() 功能从指示器中读取数据。该指标有一个额外的缓冲,其唯一目的是将交易信号存储为常数:这是您需要从中读取的唯一缓冲。将下面的代码复制并粘贴到您的 EA 中,并替换您自己的 iCustom()呼叫的指示名称。
//---- Read value from data buffer int start() { // Read signal and pattern double pattern = iCustom(Symbol(), Period(), "PZ_DoubleTopBottom_LICENSENUM", 0, 1); double signal = iCustom(Symbol(), Period(), "PZ_DoubleTopBottom_LICENSENUM", 1, 1); // Do something if(pattern == OP_BUY) { /* Your code for double bottom (no breakout yet) */ } if(pattern == OP_SELL) { /* Your code for double top (no breakout yet) */ } if(signal == OP_BUY) { /* Your code for bullish breakout */ } if(signal == OP_SELL) { /* Your code for bearish breakout */ } if(signal == EMPTY_VALUE) { /* Your code if no pattern or breakout */} // Exit return(0); }
- ✎
评论
保持评论整洁和尊重。避免垃圾邮件、冒犯性言论、自我推销和发布个人或付款信息。评论部分仅供讨论和提问。请注意,我们绝不会在评论部分索要付款。