Skip to content
All library documents

Implementing a Dual Moving Average Crossover Strategy Across Markets

Article BigQuant

Summary

This tutorial outlines a long and short strategy that uses short and long simple moving averages to identify trend changes. A bullish crossover triggers a long signal, while a bearish crossover triggers a short signal. It describes applying the approach to foreign exchange and equities with historical price data, and suggests volume or volatility filters to refine entries. The article provides sample logic for calculating signals, assigning positions, and comparing results across several instruments. Its backtest example is only a framework, not a reported performance study. Position accounting is highly simplified, and the article notes that fees, slippage, leverage, and short-sale availability need consideration. It also proposes parameter searches, ATR-based sizing, and combining assets, but provides no evidence that these changes improve results.

Key ideas

  • A bullish crossover occurs when the short moving average rises above the long moving average, and a bearish crossover occurs when it falls below.
  • The tutorial applies the signal framework to foreign exchange and stock price data.
  • Volume and volatility measures are suggested as possible filters for crossover signals.
  • The sample position and equity calculations omit important trading details, including realistic costs and market constraints.

Tags

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