Backtesting Tools

Bullish MA Closes

Backtest what happens when you buy a stock as soon as it closes above a moving average

Parameters
Members Only Premium Feature
Buy Above, Profit Target, Stop Loss, and MA Alignment are available to members.
Become a Member →
Buy Above

The moving-average length used for entry.

A trade triggers the moment price closes above the selected MA.

Profit
Target
Stop
Loss
MA Alignment

Only takes a trade when the selected moving average is above every longer MA (5 > 10 > 20 > 50 > 100 > 200).

Without this filter, you can end up buying a short-term bounce inside a long-term downtrend.

Turning it on makes sure the stock is trending up on every timescale before you enter.

Optimize

Scans every moving average from 5 to 200 to find the one that produces the highest annualized return (CAGR).

Uses your currently selected Profit Target, Stop Loss, and MA Alignment.

Pick a ticker above and press Run Backtest to see results.