Control Points MT4

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.

Altri dall’autore
Market Structure - Break of Structure (MS-BOS) for MT5 Added simple dashboard in the right center of the chart - indicating direction of last cancelled BOS level for main set of Timeframes. This panel can be switched off in parameters All my indicators work only at closed bars, they do not repaint any values (if it is not otherwise mentioned in the description). So that they are fully compatible with autotrading, and are ready for making qualitative technical analysis.   Market Structure - Bre
Market Structure - Break of Structure (MS-BOS) for MT4 Added simple dashboard in the right center of the chart - indicating direction of last cancelled BOS level for main set of Timeframes. This panel can be switched off in parameters All my indicators work only at closed bars, they do not repaint any values (if it is not otherwise mentioned in the description). So that they are fully compatible with autotrading, and are ready for making qualitative technical analysis.   Market Structure - Brea
Introducing the new multi-currency ZigZag – a powerful tool for high-quality technical analysis. The indicator can be tested for free in the terminal's strategy tester. ZigZag draws a zigzag line on the current timeframe chart based on the bars of the user-selected timeframe in the parameters – starting from the current timeframe and above. This scales the zigzag line; it has no other plotting parameters. Multiple ZigZag indicators can be applied to a single chart, so it will display lines f
Introducing the new multi-currency ZigZag – a powerful tool for high-quality technical analysis. The indicator can be tested for free in the terminal's strategy tester. ZigZag draws a zigzag line on the current timeframe chart based on the bars of the user-selected timeframe in the parameters – starting from the current timeframe and above. This scales the zigzag line; it has no other plotting parameters. Multiple ZigZag indicators can be applied to a single chart, so it will display lines f
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
FREE
Filtro:
Nessuna recensione
Rispondi alla recensione