SMA-Based Trading Strategy
This strategy uses the Simple Moving Average (SMA) to define when to buy and sell shares. Enter a stock symbol to run it with the assumptions below.
Assumptions
- Time frame: the past year.
- Initial account balance: $100,000, shared across all selected stocks.
- SMA calculation period: 14 trading sessions.
- Execution: signals use the daily close and fill at the next session’s open, when cash is available.
Buying Shares (Price Close to SMA)
The default rule buys one share for each session when the closing price is between 0% and 2% above its moving average.
Selling Shares (Price Above SMA)
The default rule sells all held shares of a stock when the closing price is more than 5% above its moving average.
Prices are split-adjusted. The simulation excludes dividends, fees, slippage, taxes, and interest. Historical results do not predict future returns.
Go to SMA Strategy with custom parameters