Skip to content
All library documents

FX Trend Oscillator: Range-Weighted Price Position and Signals

Article MQL5 code base

Summary

The FX Trend oscillator is described as a measure of market status and wave behavior built from the closing price's position within three price ranges: small, middle, and large. For each range, the calculation compares the close with the range low and scales that distance by the range's high-low span and range length. A normalization factor weights the three components using the inverse of their respective range lengths. The indicator has configurable lengths for all three ranges and a threshold, with 50 as the default.

The note identifies crossing the threshold and divergence between the oscillator and price as possible signals. It supplies the formula and parameter definitions, but no trading rules for entries, exits, or risk controls, and no performance evidence or market-specific validation. It should therefore be treated as an indicator description rather than a tested strategy; the text does not specify how to handle a zero high-low span or confirm divergences.

Key ideas

  • The oscillator combines price position within three configurable high-low ranges.
  • Its weighting factor uses the inverse of each range length to normalize the combined calculation.
  • Crossing the threshold and divergence from price are presented as potential signals.
  • The description gives no tested strategy rules or evidence of profitability.

Tags

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