Skip to content
All library documents

Using NRatio Higher-Timeframe Signals for Trend Direction

Article MQL5 code base

Summary

The indicator displays the trend state or trade direction produced by NRatioSign, calculated on a selectable timeframe. A horizontal arrow marks continued trend direction, while a diagonal arrow indicates a change and points in the corresponding deal direction. It can also issue alerts and play sounds. The document explains that the displayed signal can be chosen by bar index, with the current bar as the default.

Its inputs cover the underlying NRatioSign calculation, including smoothing method and length, applied price, algorithm mode, and upper and lower levels. Separate controls set the arrow colors, size, chart position, label, and alert behavior. These settings make the tool configurable, but the document does not explain the NRatio calculation or provide trading rules, performance tests, or evidence that its signals are profitable. It also depends on the compiled NRatioSign indicator, and separate label names are needed when multiple instances share a chart.

Key ideas

  • The indicator presents NRatioSign direction from a selected timeframe as a chart arrow.
  • A right-pointing arrow indicates trend continuation, while a diagonal arrow signals a direction change.
  • The signal bar, visual style, placement, and alert behavior can be configured.
  • The tool depends on the separate NRatioSign indicator and does not provide performance evidence.

Tags

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