Skip to content
All library documents

Using the NxDRangeSwitch NRTR Indicator for Trend Direction and Stops

Article MQL5 code base

Summary

The document describes NxDRangeSwitch, an NRTR moving-average indicator displayed above or below the price chart. In a downtrend, it appears above price in red; in an uptrend, it sits below price in green. A colored square marks a change in trend direction. The source identifies the indicator as usable for placing stop-loss levels, connecting its trend-following display with a practical risk-management use.

The description reports that the indicator was first implemented in MQL4 and published in 2010. It does not explain the underlying calculation, specify how to set or trail a stop, or provide entry and exit rules. No backtest or performance evidence is included, and the text does not discuss false reversals or parameter sensitivity. It is therefore a concise description of the indicator's visual behavior and potential role in trade management, not a tested strategy.

Key ideas

  • NxDRangeSwitch displays an NRTR moving average relative to the price chart.
  • It places a red line above price during downtrends and a green line below price during uptrends.
  • A colored square signals a change in the displayed trend direction.
  • The indicator can be used to help place stop-loss levels.
  • The description does not provide calculation details or performance testing.

Tags

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