Skip to content
All library documents

ROC-Confirmed Moving Average Turning Signals

Article Strategy library · Author: ChaoZhang

Summary

The document describes a trend-following approach that identifies turns in a moving average using its rate of change (ROC). It says to go long when the faster average turns up after the other turns down, and short when it turns down after the other turns up. It presents this as a way to confirm changing direction and reduce false entries. The listed settings include a price source, moving-average length and type, ROC lookback, and a minimum slope threshold.

There is an important gap between that description and the included implementation: the code calculates and plots only one moving average, then flips its stored direction when ROC crosses positive or negative thresholds. Its entry conditions are based on that direction changing, rather than on two separate averages. The document gives no measured performance results; its published test setup covers BTC/USDT futures over roughly a month. It also warns that ranging markets can create false signals and that tuning can overfit. It suggests testing across varied conditions and considering additional filters or stop rules.

Key ideas

  • The described method uses ROC thresholds to detect moving-average direction changes.
  • The prose describes two moving averages, but the supplied implementation calculates only one.
  • The code changes position direction when the stored moving-average state flips.
  • The published test setup is brief and provides no performance statistics.
  • Ranging markets, unresponsive news risk, and parameter overfitting are stated concerns.

Tags

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