[STRATEGY] Moving Average Crossover

17 546
Hello friends,

This is a comprehensive backtesting engine for Moving Average crossover strategies, supporting over 63 types of moving averages and filters. It allows you to test, compare, and optimize crossover behaviors between any two moving averages with flexible profit and risk management tools.

Built upon the Moving Average Crossover foundation, this advanced version lets you manually backtest more than 4096 combinations of moving average types. When combined with customizable periods, take-profits, and stop-loss levels, the total number of possible configurations becomes virtually unlimited.

🛠 How It Works

The system tests crossovers between two selected moving averages, with full control over their types, lengths, and trading direction. Integrated bracket settings enable dynamic take-profit, stop-loss, and trailing-stop management using units such as %, ATR, points, pips, or ticks.
You can restrict backtesting to a custom date range for focused performance evaluation or run it across the instrument’s full history.

🔥 Key Features
  • Supports 63+ moving average and filter types — including algorithms by Ehlers, Jurik, Kaufman, Apirine, Tillson, and Dürschner
  • Customizable MA types, periods, and strategy direction
  • Full-featured bracket control: TP, SL, and TSL in ATR, %, points, pips, or ticks
  • Backtest window customization (start, end, or range)
  • Direction filter: Longs only, Shorts only, or Both
  • Dynamic trade labeling and color-coded visualization
  • Option to exit only at TP, SL, or TSL
If you'd like access or have any questions, feel free to reach out to me directly via DM.

👋 Good luck and happy trading!

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.