trend trader sample algo
Today’s Change (Nov 5, 2026)
—
A symphony is an automated trading strategy — Learn more about symphonies here
About
A simple trend-following strategy: own tech-heavy QQQ when market trends look healthy; otherwise switch to either an inverse Nasdaq fund or short-term Treasuries, depending on which has been stronger lately.
This strategy checks the market every day and puts all its money in just one choice at a time.
1) If the broad U.S. stock market (SPY) is above its 200-day average, it buys QQQ, which is heavily tilted toward big tech names like Apple, Microsoft, and Nvidia.
2) If not, but QQQ itself is above its 20-day average, it still buys QQQ.
3) If neither is true, it picks whichever looks stronger lately: PSQ, which rises when QQQ falls, or SHY, a very conservative short-term Treasury bond fund.
Trend-following Nasdaq tilt with hedges; diversifies SPY core. Low beta (~0.37) with ~11% oos annualized return and Calmar ~0.53—offering a distinct risk/return profile and potential diversification beyond the S&P 500.
1M
3M
6M
YTD
1Y
3Y
Max
Performance
Compared to selected benchmarks
| Alpha | Beta | R2 | R | |
|---|---|---|---|---|
| 0.12 | 0.3 | 0.08 | 0.29 |
Performance Metrics
| Cumulative Return | Annualized Return | Trailing 1M Return | Trailing 3M Return | Sharpe Ratio | |
|---|---|---|---|---|---|
| 771.18% | 11.25% | -1.04% | -0.34% | 0.65 | |
| 1,495.15% | 14.62% | -8.5% | -4.31% | 0.79 |
Initial Investment
$10,000.00
Final Value
$159,515.18Regulatory Fees
$191.83
Total Slippage
$1,622.40
Invest in this strategy
OOS Start Date
Feb 25, 2025
Trading Setting
Daily
Type
Stocks
Category
Trend following, tactical asset allocation, nasdaq-100, defensive rotation, inverse exposure, moving average, momentum