50/200 SMA crosslong
Resultados de Backtest @ GLD β€’ 1 Hour

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 SMAs, una SMA corta y rΓ‘pida (50) y otra SMA larga y lenta (200). Compra cuando una SMA corta (50) cruza hacia arriba una SMA larga (200), implicando que la direcciΓ³n del mercado ha cambiado. Vende cuando una SMA corta (50) cruza hacia abajo una SMA larga (200). Estas son medias mΓ³viles bastante largas, lo que significa que esta estrategia estΓ‘ naturalmente destinada a capturar movimientos mΓ‘s grandes, y por lo tanto podrΓ­a no ser adecuada para marcos de tiempo cortos. Β‘Pero suposiciones como esa no significan nada, porque la hemos backtesteado! CompruΓ©balo tΓΊ mismo.

Curva de Equidad

El backtest cubre 5.7 years de datos GLD β€’ 1 Hour (SPDR Gold Trust), desde October 25, 2019 hasta July 11, 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 50/200 SMA cross en 5.7 years de velas GLD β€’ 1 Hour.Β Este backtest resultΓ³ en 33 posiciones, con una tasa de ganancia promedio de 36% y una relaciΓ³n riesgo-recompensa de 3.02.Β Si asumes que la relaciΓ³n riesgo-recompensa de 3.02 se mantiene, necesitas una tasa de ganancia mΓ­nima de 24.9 para ser rentable. AsΓ­ que vas bien hasta ahora.Β Sin embargo, 33 posiciones es una muestra pequeΓ±a, asΓ­ que toma los resultados con mucha cautela.Β Las mΓ©tricas clave son las siguientes:

  1. Retorno Total: Retorno Total: 35.80% vs 117.60% para el activo
  2. MΓ‘ximo Drawdown: MΓ‘ximo Drawdown: -26.60% vs -22.20% para el activo
  3. ExposiciΓ³n: ExposiciΓ³n: 59.80% tiempo en el mercado
  4. Tasa de Ganancia: Tasa de Ganancia: 36.0%, vs 24.9% mΓ­nimo
  5. RelaciΓ³n Riesgo/Recompensa: RelaciΓ³n Riesgo/Recompensa: 3.02

Con esa exposiciΓ³n en mente, puedes ver que para 60% tiempo-en-mercado, obtienes 30.44% del potencial alcista del activo, y 119.82% del potencial bajista del activo.

50/200 SMA cross: entrar en una posiciΓ³n cuando

All of the following: # "Papa"
  60min Simple Moving Average (50, 0, close) Crosses β†— 60min Simple Moving Average (200, 0, close)

50/200 SMA cross: salir de una posiciΓ³n cuando

All of the following: # "India"
  60min Simple Moving Average (50, 0, close) Crosses β†˜ 60min Simple Moving Average (200, 0, close)

50/200 SMA cross @ GLD β€’ 1 Hour (35.8%) explicado por Alex C, Mike, Sarah

Alex C

Autor

The backtest results from this SMA cross strategy on GLD show some interesting characteristics, but I am not very convinced about its reliability. The strategy's performance metrics raise several red flags that we should discuss.

First, let's look at the positive aspects. The Risk/Reward ratio of 3.02 is quite good, and with a win rate of 36% against a minimal required win rate of 24.9%, the strategy has a healthy margin. But here comes the problem: With only 33 trades over 5.7 years (0.9 trades per month), we have a very small sample size. This makes the statistical significance of these metrics questionable, as one would need at least 100 trades to make reliable conclusions.

The strategy's underperformance compared to buy & hold (35.8% vs 117.6%) is concerning, especially considering the negative Sharpe (-0.05) and Sortino (-0.07) ratios. The maximum drawdown of -26.6% is also quite high relative to the total return. These numbers suggest that the risk-adjusted returns are not optimal, and the strategy might not be worth the effort compared to simpler approaches.

Mike

Autor

Yo fam, let me break down this SMA cross strategy on GLD! πŸš€ The numbers are actually pretty interesting, even though it's not exactly a moonshot.

The strategy's giving us a solid Risk/Reward ratio of 3.02, which is straight fire πŸ”₯! With a 36% win rate and that R/R, we're actually crushing the minimal required win rate by a huge margin - that's like getting extra tendies with your Wendy's order! Even though we're only winning about a third of our trades, when we win, we win BIG (7.05% average wins vs -2.33% average losses).

But here's the thing bros - we're only getting like 1 trade per month, and the overall performance (35.8% over 5.7 years) is trailing behind buy & hold (117.6%). That -26.6% max drawdown is also kinda scary ngl. The negative Sharpe and Sortino ratios are telling us this might not be the smoothest ride to Lambo-land. πŸ“‰

I'd say this strategy isn't completely terrible, but it might need some tweaking before I'd YOLO my entire paycheck into it. Maybe adding some filters or optimizing those SMA periods could juice up those returns! πŸ’ͺ Still, that R/R ratio is making my diamond hands tingle! πŸ’ŽπŸ™Œ

Sarah

Autor

This strategy is a complete disaster, and I can't believe anyone would even consider trading it. Let me tell you why, mi amigo, and please don't take it personal.

First of all, the strategy significantly underperforms buy & hold - 35.8% vs 117.6%. That's embarrasing! You're basically losing money by trying to be clever instead of just buying and holding. The win rate is pathetic at 36%, meaning you're losing almost two-thirds of your trades. Even though your Risk/Reward looks decent at 3.02, it's clearly not enough to compensate for such terrible accuracy.

The most concerning thing, que horror, is those risk metrics. Negative Sharpe and Sortino ratios? That means you're not even being compensated for the risk you're taking. And that -26.6% drawdown is just waiting to destroy your account. The strategy only makes 0.9 trades per month - you might as well go to casino, at least they give you free drinks while you lose your money!

Look, if you want to keep throwing money away, be my guest. But this simple moving average crossover strategy is exactly what amateur traders use before they blow up their accounts. Either completely redesign it or find something else to trade. And por favor, do proper testing next time!

MΓ©tricas tabulares de 50/200 SMA cross sometido a backtest en GLD β€’ 1 Hour

Total de Operaciones33Beneficio Neto35.8%Beneficio Compra y MantΓ©n117.6%
Tasa de Ganancia36%Ratio Riesgo/Recompensa3.02MΓ‘ximo Drawdown-26.6%
MΓ‘ximo Drawdown del Activo-22.2%ExposiciΓ³n59.8%Promedio de Velas en PosiciΓ³n180.3
Ratio de Sharpe-0.05Ratio de Sortino-0.07Volatilidad Realizada11.46%
Racha MΓ‘xima de Ganancia3Racha Promedio de Ganancia1.3Racha MΓ‘xima de PΓ©rdida4
Racha Promedio de PΓ©rdida2.1Promedio de Operaciones por Mes0.9Promedio de Operaciones por DΓ­a0.0
Desv. Est. del Retorno5.7Desv. Est. de la PΓ©rdida1.2Desv. Est. de la Ganancia5.5
Expectativa0.5Beta0.66

Todos los backtests para 50/200 SMA cross

common.strategyexposiciΓ³nrendimiento vs activodrawdown vs activotasa de gananciarecompensa/ riesgo
BTCUSDT β€’ 1 Minute
57%(5.4%/8.9%) 0.61x(-2.0%/-1.9%) 1.05x395.4
EURUSD β€’ 1 Minute
61%(-1.1%/-1.0%) 1.10x(-1.2%/-1.2%) 1.00x201.1
GLD β€’ 1 Minute
52%(1.7%/0.0%) Infinityx(-2.5%/-5.5%) 0.45x362.5
NVDA β€’ 1 Minute
61%(1.2%/16.7%) 0.07x(-7.9%/-4.4%) 1.80x282.9
SPY β€’ 1 Minute
60%(0.5%/4.6%) 0.11x(-2.5%/-2.1%) 1.19x332.3
TSLA β€’ 1 Minute
47%(6.6%/-10.3%) -0.64x(-11.2%/-21.4%) 0.52x392.1
WMT β€’ 1 Minute
41%(-0.5%/-5.4%) 0.09x(-3.9%/-6.4%) 0.61x292.4
BTCUSDT β€’ 10 Minutes
57%(18.2%/22.4%) 0.81x(-8.6%/-12.1%) 0.71x413.1
EURUSD β€’ 10 Minutes
55%(2.5%/5.8%) 0.43x(-2.2%/-4.3%) 0.51x382.4
GLD β€’ 10 Minutes
58%(26.1%/43.7%) 0.60x(-5.9%/-8.3%) 0.71x543.1
NVDA β€’ 10 Minutes
57%(5.0%/32.9%) 0.15x(-33.4%/-42.8%) 0.78x441.4
SPY β€’ 10 Minutes
60%(6.6%/14.3%) 0.46x(-13.4%/-20.7%) 0.65x411.9
TSLA β€’ 10 Minutes
47%(18.4%/59.0%) 0.31x(-34.8%/-55.3%) 0.63x411.9
WMT β€’ 10 Minutes
60%(37.4%/40.1%) 0.93x(-10.3%/-23.8%) 0.43x621.8
BTCUSDT β€’ 1 Hour
56%(36.4%/68.2%) 0.53x(-31.3%/-30.6%) 1.02x432.2
EURUSD β€’ 1 Hour
50%(6.9%/6.8%) 1.01x(-5.7%/-9.0%) 0.63x422.4
GLD β€’ 1 Hour
60%(35.8%/117.6%) 0.30x(-26.6%/-22.2%) 1.20x363.0
NVDA β€’ 1 Hour
61%(783.4%/3126.3%) 0.25x(-51.4%/-68.0%) 0.76x523.5
SPY β€’ 1 Hour
64%(85.7%/106.7%) 0.80x(-19.0%/-35.1%) 0.54x612.3
TSLA β€’ 1 Hour
55%(2930.2%/1395.5%) 2.10x(-38.7%/-75.1%) 0.52x566.0
WMT β€’ 1 Hour
60%(33.6%/138.2%) 0.24x(-28.4%/-26.9%) 1.06x501.6
BTCUSDT β€’ Daily
59%(638.7%/1337.5%) 0.48x(-61.1%/-76.6%) 0.80x837.3
EURUSD β€’ Daily
35%(4.8%/10.8%) 0.44x(-12.2%/-23.3%) 0.52x710.7
GLD β€’ Daily
61%(242.9%/595.1%) 0.41x(-36.4%/-45.3%) 0.80x466.4
NVDA β€’ Daily
65%(83183.3%/373678.5%) 0.22x(-57.1%/-90.0%) 0.63x7716.0
SPY β€’ Daily
72%(1127.3%/1316.3%) 0.86x(-32.5%/-56.7%) 0.57x873.8
TSLA β€’ Daily
57%(3139.0%/24185.2%) 0.13x(-65.4%/-75.0%) 0.87x3825.3
WMT β€’ Daily
64%(1143.9%/13022.2%) 0.09x(-57.1%/-50.6%) 1.13x398.1