Cup and Handle 4.0
Metatrader 技术指标 (MT4/MT5)
-
ℹ 概述
The Cup and Handle pattern is a technical price formation that resembles a cup and handle, where the cup is in the shape of a "U" and the handle has a slight downward drift. The right-hand side of the pattern -the handle- is smaller than the left-hand side -cup-, and retraces no more than 50% from the top. It can be both a continuation and a reversal pattern.
- Clear trading signals
- Customizable colors and sizes
- Implements performance statistics
- Customizable sizes and pattern characteristics
- It displays suitable stop-loss and take-profit levels
- It is non-repainting and non-backpainting
- It implements email/sound/visual alerts
- ≡
输入参数
将专家加载到任何图表时,您将收到一组选项作为输入参数。不要绝望,如果你认为他们是太多,因为参数被归类成不言自明的块。
- 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.
- Cup Flatness Ratio
- This parameter describes how "flat" must the top of the cup be relative to the cup size. A higher value will find stricter patterns, yet less frequent. A lower value will find more patterns.
- Min Handle Retracement
- The minimum percent retracement needed in the handle of the pattern.
- Max. Retracement
- The minimum percent retracement possible in the handle of the 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 stop-loss and take-profit levels.
- Drawing Options
- Colors and sizes for bullish or bearish lines and labels, as well as font sizes.
- Breakouts
- Colors and sizes for breakout arrows.
- Alerts
- Enable or disable alerts at will.
- ?
常见问题
- Does the indicator repaint?
- No, the indicator does not repaint or backpaint at all.
- Does the indicator back paint?
- No, the indicator does not back paint.
- Can patterns be displayed in the chart before the breakout happens?
- No, it can't. The pattern and the breakout arrow are displayed exactly as the same time, to prevent the indicator from repainting.
- Does the indicator implement alerts?
- Yes, it does. It implements alerts of all inds.
- </>
开发者
为了建立您的专家顾问,您可以使用下面所示的 iCustom() 功能从指示器中读取数据。该指标有一个额外的缓冲,其唯一目的是将交易信号存储为常数:这是您需要从中读取的唯一缓冲。将下面的代码复制并粘贴到您的 EA 中,并替换您自己的 iCustom()呼叫的指示名称。
//---- Read value from data buffer int start() { // Read value from data buffer double value = iCustom(Symbol(), Period(), "PZ_CupAndHandle_LICENSENUM", 1, 1); // Do something if(value == OP_BUY) { /* Your code for bullish signal */ } if(value == OP_SELL) { /* Your code for bearish signal */ } if(value == EMPTY_VALUE) { /* Nothing to do */} // Exit return(0); }
- ✎
评论
保持评论整洁和尊重。避免垃圾邮件、冒犯性言论、自我推销和发布个人或付款信息。评论部分仅供讨论和提问。请注意,我们绝不会在评论部分索要付款。