13/26 EMA crosslong
Resultados de Backtest @ SPY • Daily

La estrategia de Cruce de Medias Móviles utiliza dos medias móviles de diferentes períodos para generar señales de compra y venta. Aproxima la idea de un mercado en tendencia usando 2 medias móviles exponenciales, una EMA corta y rápida (13) y otra EMA larga y lenta (26). Compra cuando una EMA corta (13) cruza hacia arriba una EMA larga (26), implicando que la dirección del mercado ha cambiado. Vende cuando una EMA corta (13) cruza hacia abajo una EMA larga (26).

Curva de Equidad

El backtest cubre 32.4 years de datos SPY • Daily (), desde January 29, 1993 hasta July 3, 2025.

La curva de equidad es el rendimiento de la estrategia a lo largo del tiempo. Debes compararla con el rendimiento de Compra y Mantén del activo. En general, quieres que el área azul esté bien por encima del área gris.

El drawdown es cuántas pérdidas (realizadas o no realizadas) ha tenido la estrategia si se compara con el pico más alto de equidad. Compara esto con el drawdown del activo para ver si tu estrategia hace un trabajo decente de aislarte de la volatilidad bajista. En general, el área roja debe estar bien dentro del área gris.

Curva de Equidad
Estrategia
Activo
Drawdown de Estrategia
Drawdown de Activo

Entonces, hemos hecho backtest de 13/26 EMA cross en 32.4 years de velas SPY • Daily. Este backtest resultó en 125 posiciones, con una tasa de ganancia promedio de 45% y una relación riesgo-recompensa de 2.44. Si asumes que la relación riesgo-recompensa de 2.44 se mantiene, necesitas una tasa de ganancia mínima de 29.1 para ser rentable. Así que vas bien hasta ahora. Las métricas clave son las siguientes:

  1. Retorno Total: Retorno Total: 324.30% vs 1315.70% para el activo
  2. Máximo Drawdown: Máximo Drawdown: -33.70% vs -56.70% para el activo
  3. Exposición: Exposición: 68.10% tiempo en el mercado
  4. Tasa de Ganancia: Tasa de Ganancia: 45.0%, vs 29.1% mínimo
  5. Relación Riesgo/Recompensa: Relación Riesgo/Recompensa: 2.44

Con esa exposición en mente, puedes ver que para 68% tiempo-en-mercado, obtienes 24.65% del potencial alcista del activo, y 59.44% del potencial bajista del activo.

13/26 EMA cross: entrar en una posición cuando

All of the following: # "Mike"
  D Exponential Moving Average (13, 0, close) Crosses ↗ D Exponential Moving Average (26, 0, close)

13/26 EMA cross: salir de una posición cuando

All of the following: # "Kilo"
  D Exponential Moving Average (13, 0, close) Crosses ↘ D Exponential Moving Average (26, 0, close)

13/26 EMA cross @ SPY • Daily (324.3%) explicado por Alex C, Mike, Sarah

Alex C

Autor

The backtest results show some interesting metrics, but I am not very convinced about this strategy's real-world applicability. Let me explain why.

The strategy shows decent risk metrics with a 2.44 risk/reward ratio and good win rate leeway of 44.71% above the minimal required win rate. However, the overall performance significantly underperforms buy & hold (324.3% vs 1315.7%) over this long 32-year period. This is problematic since we are trading SPY, which has strong upward bias. The strategy's market exposure of 68.1% means we are missing out on significant upside moves.

What worries me most is the low trading frequency - only 0.6 trades per month on average. With just 125 trades over 32 years, the statistical significance is questionable. The max drawdown of -33.7% is also concerning, especially given the limited number of trades. The Sharpe ratio of 0.12 is quite poor, indicating the strategy is not delivering good risk-adjusted returns. I would want to see at least 0.5 here for a long-term strategy.

My recommendation would be to either modify the strategy to increase trade frequency while maintaining the positive risk/reward characteristics, or look for different entry/exit conditions altogether. The current implementation, despite some positive metrics, does not appear robust enough for real trading.

Mike

Autor

Yo fam, let me break down this EMA cross strategy on SPY! 🚀

This is one of those OG strategies that's been around forever, and I can see why. We're looking at a solid 324% gain over 32 years, which isn't gonna get us a Lambo tomorrow, but it's definitely better than my Wendy's paycheck! The win rate is sitting at 45% with a juicy 2.44 risk/reward ratio - that's actually pretty sweet because we're making more on winners than we're losing on the L's. 💪

The thing that's got me hyped is that 44.7% win rate leeway - means we've got tons of room for error and the strategy would still be profitable. That's like having a safety net while walking on the moon! But keeping it real, the 33.7% max drawdown might make some paper hands shake. Though compared to SPY's raw 56.7% drawdown, we're actually protecting our tendies better. 📈

Only bummer is we're underperforming buy & hold (1315% vs our 324%), but hey, we're only exposed to the market 68% of the time, so we're taking way less risk. Plus those recent returns are looking spicy - 40.7% in the last year? That's what I'm talking about! 🔥 Would I YOLO my life savings into this? Probably not, but it's definitely worth keeping in the strategy toolkit, especially for managing risk in choppy markets.

Sarah

Autor

Madre de Dios, this strategy is a complete disaster! I can't believe someone would even consider trading this garbage. Let me tell you why this is terrible.

First of all, the strategy severely underperforms buy & hold - 324% vs 1315% over 32 years? That's pathetic! You'd be better off putting your money under your pillow. The market exposure of 68% means you're missing out on a third of the potential gains, while still eating all that risk.

The win rate is absolutely horrible - 45%? Even with a decent risk/reward ratio of 2.44, this is just barely keeping the strategy's head above water. Yes, you have some "leeway" above minimal win rate, but who cares when the overall performance is so mediocre? Having 7 consecutive losing trades is just waiting to destroy someone's account or their nerve.

And let me tell you about those risk metrics - a Sharpe ratio of 0.12 is embarassingly bad! This means you're taking on enormous risk for minimal returns. The 33.7% drawdown is just unaccectable for such poor returns.

The only slightly positive thing I can see is the recent performance in the last 1-2 years, but this is probably just luck and market conditions. Any monkey could have made money in this bull market.

My advice? Delete this strategy and start over. This is amateur hour trading at its finest.

Métricas tabulares de 13/26 EMA cross sometido a backtest en SPY • Daily

Total de Operaciones125Beneficio Neto324.3%Beneficio Compra y Mantén1315.7%
Tasa de Ganancia45%Ratio Riesgo/Recompensa2.44Máximo Drawdown-33.7%
Máximo Drawdown del Activo-56.7%Exposición68.1%Promedio de Velas en Posición43.5
Ratio de Sharpe0.12Ratio de Sortino0.44Volatilidad Realizada10.59%
Racha Máxima de Ganancia4Racha Promedio de Ganancia1.6Racha Máxima de Pérdida7
Racha Promedio de Pérdida2.0Promedio de Operaciones por Mes0.6Promedio de Operaciones por Día0.0
Desv. Est. del Retorno6.3Desv. Est. de la Pérdida2.0Desv. Est. de la Ganancia6.5
Expectativa0.5Beta0.37

Todos los backtests para 13/26 EMA cross

common.strategyexposiciónrendimiento vs activodrawdown vs activotasa de gananciarecompensa/ riesgo
SPY • 10 Minutes
60%(7.3%/14.0%) 0.52x(-10.2%/-20.7%) 0.49x342.3
BTCUSDT • 1 Hour
55%(46.4%/66.0%) 0.70x(-32.0%/-30.6%) 1.05x342.6
EURUSD • 1 Hour
53%(4.0%/7.5%) 0.53x(-7.6%/-9.0%) 0.84x312.7
SPY • 1 Hour
62%(51.8%/109.4%) 0.47x(-17.6%/-35.1%) 0.50x431.9
BTCUSDT • Daily
55%(1428.5%/1223.3%) 1.17x(-57.5%/-76.6%) 0.75x485.6
EURUSD • Daily
47%(7.7%/11.3%) 0.68x(-14.5%/-23.3%) 0.62x312.9
SPY • Daily
68%(324.3%/1315.7%) 0.25x(-33.7%/-56.7%) 0.59x452.4