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).
El backtest cubre 19.5 months de datos EURUSD • 1 Hour (), desde November 27, 2023 hasta July 6, 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.
Entonces, hemos hecho backtest de 13/26 EMA cross en 19.5 months de velas EURUSD • 1 Hour. Este backtest resultó en 167 posiciones, con una tasa de ganancia promedio de 31% y una relación riesgo-recompensa de 2.68. Si asumes que la relación riesgo-recompensa de 2.68 se mantiene, necesitas una tasa de ganancia mínima de 27.2 para ser rentable. Así que vas bien hasta ahora. Las métricas clave son las siguientes:
Con esa exposición en mente, puedes ver que para 53% tiempo-en-mercado, obtienes 53.33% del potencial alcista del activo, y 84.44% del potencial bajista del activo.
All of the following: # "Mike" 60min Exponential Moving Average (13, 0, close) Crosses ↗ 60min Exponential Moving Average (26, 0, close)
All of the following: # "Kilo" 60min Exponential Moving Average (13, 0, close) Crosses ↘ 60min Exponential Moving Average (26, 0, close)
The backtest shows some interesting mathematical patterns, but I see several red flags that need attention. First thing I notice is the Win Rate of 31% - this looks terrible at first, but when we consider the Risk/Reward ratio of 2.68 and average win size of 0.54% versus average loss of -0.20%, the strategy actually makes mathematical sense.
The most concerning metric is the maximum losing streak of 18 trades. This would require very strict risk management and psychological strength to endure. Even though the strategy has positive expectancy of 0.1 and good win rate leeway of 30.73%, the negative Sharpe (-0.80) and Sortino (-0.85) ratios indicate suboptimal risk-adjusted returns. The market exposure of 53.3% is quite reasonable for this type of strategy.
I would suggest to implement additional filters to improve entry precision. Maybe adding RSI or other momentum indicators could help reduce the false signals. The strategy underperforms buy & hold (4.0% vs 7.5%), which is not optimal for the amount of trades it generates. But the lower drawdown (-7.6% vs -9.0%) shows it has some merit in risk management perspective. Overall, I would classify this as mathematically viable but needs optimization before real trading.
Yo fam, let me break down this EMA cross strategy on EURUSD! 🚀
The strategy's showing some interesting potential with that 4% profit, but TBH the buy & hold did better at 7.5%. What's got me hyped though is that risk/reward ratio of 2.68 - when we win, we win BIG! 💪 The win rate's only 31%, but check this out - we only needed 27.2% to break even, so we're actually crushing it on that front. That's what I call living on the edge and making it work! 🎯
The drawdown's not too scary at -7.6%, which is actually better than the market's -9%. But that 18-trade losing streak... oof, that would test anyone's diamond hands! 💎🙌 The strategy's pretty active with about 17 trades per month, which means plenty of action but not too crazy on the commissions. Looking at those monthly returns, it's been steadily climbing - that 6-month performance of 8.5% is pretty sweet!
This is giving me some serious "slow and steady wins the race" vibes. Not quite YOLO material, but definitely something I might throw some Wendy's paychecks at. Just gotta have the stomach for those losing streaks! 🍔💵
Madre mía, this strategy is like watching paint dry, but somehow even more disappointing!
The win rate of 31% is pathetically low, even though technically it's above the minimal required 27.2%. Yes, the Risk/Reward ratio of 2.68 makes it mathematically viable, but just barely. It's like trying to cross a bridge made of dental floss - technically possible, but why would you want to?
The most alarming thing is that 18-trade losing streak. Dios mío! This would destroy most traders psychologically before they ever get to see any profit. And that -7.6% drawdown? Not terrible in isolation, but combined with the other metrics, it's like adding insult to injury.
The performance is mediocre at best - 4% net profit over 19.5 months when buy & hold gave 7.5%? This is embarassing, amigo. You're essentially paying commission and spending time to underperform the market. The negative Sharpe and Sortino ratios are just screaming "stay away" in your face.
Look, if you want to waste your time with this strategy, that's your choice. But don't come crying to me when your account bleeds slowly to death from a thousand paper cuts of small losses. There are better ways to trade EMA crosses, if you must use them at all.
Total de Operaciones | 167 | Beneficio Neto | 4.0% | Beneficio Compra y Mantén | 7.5% |
Tasa de Ganancia | 31% | Ratio Riesgo/Recompensa | 2.68 | Máximo Drawdown | -7.6% |
Máximo Drawdown del Activo | -9.0% | Exposición | 53.3% | Promedio de Velas en Posición | 29.5 |
Ratio de Sharpe | -0.80 | Ratio de Sortino | -0.85 | Volatilidad Realizada | 4.55% |
Racha Máxima de Ganancia | 3 | Racha Promedio de Ganancia | 1.4 | Racha Máxima de Pérdida | 18 |
Racha Promedio de Pérdida | 3.1 | Promedio de Operaciones por Mes | 17.1 | Promedio de Operaciones por Día | 0.6 |
Desv. Est. del Retorno | 0.5 | Desv. Est. de la Pérdida | 0.1 | Desv. Est. de la Ganancia | 0.7 |
Expectativa | 0.1 | Beta | 0.53 |
common.strategy | exposición | rendimiento vs activo | drawdown vs activo | tasa de ganancia | recompensa/ riesgo |
---|---|---|---|---|---|
SPY • 10 Minutes | 60% | (7.3%/14.0%) 0.52x | (-10.2%/-20.7%) 0.49x | 34 | 2.3 |
BTCUSDT • 1 Hour | 55% | (46.4%/66.0%) 0.70x | (-32.0%/-30.6%) 1.05x | 34 | 2.6 |
EURUSD • 1 Hour | 53% | (4.0%/7.5%) 0.53x | (-7.6%/-9.0%) 0.84x | 31 | 2.7 |
SPY • 1 Hour | 62% | (51.8%/109.4%) 0.47x | (-17.6%/-35.1%) 0.50x | 43 | 1.9 |
BTCUSDT • Daily | 55% | (1428.5%/1223.3%) 1.17x | (-57.5%/-76.6%) 0.75x | 48 | 5.6 |
EURUSD • Daily | 47% | (7.7%/11.3%) 0.68x | (-14.5%/-23.3%) 0.62x | 31 | 2.9 |
SPY • Daily | 68% | (324.3%/1315.7%) 0.25x | (-33.7%/-56.7%) 0.59x | 45 | 2.4 |