Skip to content
All library documents

Optimized Trend Tracker: Trend Direction and Parameter Sensitivity

Article ProRealCode

Summary

The Optimized Trend Tracker (OTT) is presented as a trend indicator that compares price with a moving-average-based threshold. Price above the OTT suggests an uptrend, while price below it suggests a downtrend. The accompanying code implements the indicator and allows the moving average type to be selected from several alternatives, with an optional display of the supporting average.

Two settings shape its behavior: period and percentage. A shorter period makes the indicator respond more quickly to price changes; a longer period smooths short-term moves and emphasizes broader trends. A smaller percentage similarly focuses on nearer fluctuations, while a larger percentage is intended for longer-term trends. The document provides no backtest, performance comparison, or guidance for choosing settings across markets. Its trend readings are therefore descriptive signals, not evidence of profitability, and the indicator’s sensitivity depends on the selected parameters and moving-average method.

Key ideas

  • OTT classifies trend direction by whether price is above or below its threshold.
  • A shorter period increases responsiveness, while a longer period filters smaller price movements.
  • The percentage setting adjusts the threshold and can be tuned toward shorter or longer trends.
  • The code supports multiple moving-average methods and can optionally display the underlying average.

Tags

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