Backtest what happens when you short a stock as soon as it closes below a moving average
The moving-average length used for entry.
A short triggers the moment price closes below the selected MA.
Only takes a short when the selected moving average is below every longer MA (5 < 10 < 20 < 50 < 100 < 200).
Without this filter, you can end up shorting a short-term dip inside a long-term uptrend.
Turning it on makes sure the stock is trending down on every timescale before you enter.
Scans every moving average from 5 to 200 to find the one that produces the highest annualized return (CAGR) on the short side.
Uses your currently selected Profit Target, Stop Loss, and MA Alignment.