Skip to content
All library documents

Using High-Low Index Divergence Signals

Article MQL5 code base

Summary

The custom NHNL_Divergence indicator plots a high-low index line in a separate pane and marks detected divergences both there and on the price chart. It is based on the NHNL indicator, which tracks new highs and new lows, and is intended to make divergence patterns visible alongside market prices.

Its configurable inputs are the calculation period and the colors used for bullish and bearish signals. The document provides no trading rules for acting on the marks, performance evidence, or guidance on markets and timeframes. Divergence signals therefore serve only as a visual analysis aid here; their reliability and use in a strategy are not established.

Key ideas

  • The indicator plots a high-low index in a separate window.
  • It marks detected divergences in both the indicator pane and the price chart.
  • Users can set the calculation period and bullish and bearish display colors.
  • The document provides no evidence that the signals predict profitable trades.

Tags

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