支持中心 帮助文档 联系我们
📱 微信: 18391752892 | 💬 QQ: 3313198376 | ✈️ Telegram | 📧 fishfx123@gmail.com
EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34% EURUSD 1.0856 +0.12% GBPUSD 1.2678 +0.08% USDJPY 149.23 -0.15% XAUUSD 2034.56 +0.34%

Control Points MT5

👤 作者: Ilya Malev

4.5 分

¥0.00

📌 版本: v1.2
📥 下载: 0
⭐ 评分: 4.5

📝 产品详情

Control Points MT5

作者Ilya Malev
版本v1.2
更新11 三月 2026
激活数0

ControlPoints Indicator


Purpose: Identifies Control Points (CP) — local extremums (fractals) on the chart. Upper CPs are local highs, lower CPs are local lows. Displayed on the chart as diamond markers.

No-Repaint: The indicator does not repaint. A CP at bar i is only confirmed when all bars in the window [i − BarsBefore, i + BarsAfter] are closed. The forming (current) bar is never evaluated. Once confirmed, the value is never recalculated.

Detection Logic

Upper CP: high[i] is strictly greater than high[j] for all j in the range [i − BarsBefore .. i + BarsAfter] , where j ≠ i .

Lower CP: low[i] is strictly less than low[j] for all j in the same range, where j ≠ i .

The same bar can be both an upper and a lower CP simultaneously.

Parameters

# Parameter Type Default Description
1 Bars Before int 2 Number of closed bars to the left of the candidate that must have a lower high (for upper CP) or a higher low (for lower CP). Minimum 1.
2 Bars After int 2 Number of closed bars to the right of the candidate required to confirm the extremum. Determines the CP appearance delay: a point at bar i will only appear after bar i + BarsAfter closes. Minimum 1.
3 Upper CP Color color clrDodgerBlue Color of the upper CP diamonds.
4 Lower CP Color color clrRed Color of the lower CP diamonds.
5 Diamond Size int 2 Size of the displayed diamonds (line width in pixels). Minimum 1.

Buffers

Index Name Contents
0 Upper CT high[i] if bar i is an upper CP, otherwise EMPTY_VALUE
1 Lower CT low[i] if bar i is a lower CP, otherwise EMPTY_VALUE

Notes

When values are equal ( high[i] == high[j] or low[i] == low[j] ), a CP is not formed — strict dominance is required.

Increasing the "Bars Before" / "Bars After" parameters makes CPs more significant (filters out minor fluctuations), but increases delay and reduces the number of points.

安全须知

本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。

EA 配置

交易品种XAUUSD
时间框架H1 (推荐)
推荐经纪商IC Markets, IC Trading
最低存款$300 / 0.01手

📸 截图预览