Market Timing Backtesting Tool (SMA Crossover)

Instructions:
  1. Enter a name for the asset you are testing (e.g., S&P 500).
  2. Paste historical price data as comma-separated values (e.g., 100.50,101.20,100.80,...). These should be sequential (e.g., daily or monthly closing prices).
  3. Specify the number of data periods that constitute one year (e.g., 252 for daily trading data, 12 for monthly). This is used for applying the annual risk-free rate.
  4. Enter the short-term and long-term moving average periods. The long-term MA period must be greater than the short-term MA period, and you need at least as many data points as the long-term MA period.
  5. Optionally, enter an annual risk-free rate for periods when the strategy is out of the market (in "cash").

Data Input

Strategy Parameters (SMA Crossover)

Scroll to Top