Hi Ivan
Need your help to understand the results of the moving average backtest that I have done.
In the backtest, the stock selected is SPY with cash allocation box being checked. When I looked at the allocation of the SPY and cash, the strategy indicated that the weight for SPY and cash was 99.8 and 0.2 from Jan 20 to Mar 20 respectively. The weight for SPY changed to 0 in Apr 20 (see screenshot below).
However in the results published for this backtest, the max drawdown was -17.3% (see screenshot below).
Since the drawdown from Feb 20 peak to the trough in Mar 20 for SPY was -35%, why was the max drawdown for the strategy at -17.3%?