Skip to content
All library documents

Filtering Price-Level Breakouts by Historical Significance

Article MQL5 code base

Summary

This indicator identifies breaks of price levels and ranks their significance by how long each level went unbroken. The description suggests that a break may mark the start of a reversal. A noise filter and a significance filter aim to suppress weak levels and repeated signals that add little new information. The lookback scale defines the historical window, while level and signal filters set minimum importance and repetition thresholds.

An EURUSD example illustrates how clustered signals can be consolidated into a support level, then checked against earlier price action on a daily chart. The example identifies a level after applying the filters and interprets it as a possible reversal area; it is illustrative rather than a statistical performance test. The indicator updates its current-bar value in real time, so the author says the detected levels can be used while trading, but emphasizes that choosing appropriate filter settings is the main difficulty. Signals therefore require context and validation.

Key ideas

  • Level importance is based on the time elapsed since a prior break.\nThe filters suppress low-significance levels and repeated signals.\nThe EURUSD example uses clustered signals to identify a possible support and reversal area.\nThe example is not a backtest, and filter selection remains subjective.\nThe current bar may update as new prices arrive.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.