Bollinger/Keltner squeezelong
Resultados de Backtest @ WMT • 10 Minutes

Esta estrategia compra cuando las Bandas de Bollinger están comprimidas en el Canal de Keltner. Esto normalmente indica que el mercado está moviéndose lateralmente. Esta estrategia luego vende cuando el precio va por debajo de la línea media de las Bandas de Bollinger. La idea es comprar durante el mercado obviamente lateral, esperando que estalle.

Curva de Equidad

El backtest cubre 12.6 months de datos WMT • 10 Minutes (Walmart Inc.), desde June 28, 2024 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 Bollinger/Keltner squeeze en 12.6 months de velas WMT • 10 Minutes. Este backtest resultó en 175 posiciones, con una tasa de ganancia promedio de 44% y una relación riesgo-recompensa de 1.85. Si asumes que la relación riesgo-recompensa de 1.85 se mantiene, necesitas una tasa de ganancia mínima de 35.1 para ser rentable. Así que vas bien hasta ahora. Las métricas clave son las siguientes:

  1. Retorno Total: Retorno Total: 17.30% vs 40.10% para el activo
  2. Máximo Drawdown: Máximo Drawdown: -6.20% vs -23.80% para el activo
  3. Exposición: Exposición: 27.20% tiempo en el mercado
  4. Tasa de Ganancia: Tasa de Ganancia: 44.0%, vs 35.1% mínimo
  5. Relación Riesgo/Recompensa: Relación Riesgo/Recompensa: 1.85

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

Bollinger/Keltner squeeze: entrar en una posición cuando

All of the following: # Whiskey
  10min Chart(close) (2 candles ago) < 10min Bollinger Bands ® (20, 2, 2, 0, close), Up (2 candles ago)
  10min Chart(close) (1 candles ago) > 10min Bollinger Bands ® (20, 2, 2, 0, close), Up (1 candles ago)
  10min Bollinger Bands ® (20, 2, 2, 0, close), Up (1 candles ago) < 10min Keltner Channel (20, SMA, 10, 2, 0, close), Up (1 candles ago)
  10min BB (20, 2, 2, 0, close) (1 candles ago) > 10min Keltner (20, SMA, 10, 2, 0, close) (1 candles ago)

Bollinger/Keltner squeeze: salir de una posición cuando

Any of the following: # Papa
  10min Chart(close) < 10min Bollinger Bands ® (20, 2, 2, 0, close), Middle

Bollinger/Keltner squeeze @ WMT • 10 Minutes (17.3%) explicado por Alex C, Mike, Sarah

Alex C

Autor

The numbers look quite interesting but also raise some concerns. The win rate of 44% combined with the 1.85 risk/reward ratio makes mathematical sense - that's why the strategy is profitable. The minimal required win rate of 35.1% gives good safety margin, which is positive.

What worries me is the high amount of trades per month - 27.8 is quite high for this timeframe. This could make the strategy sensible to spreads and slippage which are not included in backtest. Also the maximum drawdown of 6.2% is not bad, but the 10-trade losing streak is concerning. With leverage, this could be psychologically challenging to trade.

The market exposure of 27.2% suggests this is rather conservative strategy, which explains why it underperformed buy & hold (17.3% vs 40.1%). But the Sharpe ratio of 1.93 is quite good, although Sortino of 0.49 suggests some fat tails in the negative returns distribution. I would recommend running more tests with different time periods to verify the stability of these metrics.

Mike

Autor

Yo fam, this Bollinger/Keltner squeeze strategy on WMT is looking pretty interesting! 🚀 Not gonna lie, that 17.3% net profit isn't matching the buy & hold, but check out those risk metrics!

The strategy is giving us some sweet risk management vibes with that 1.85 R/R ratio and only 27.2% market exposure. That's like working the Wendy's drive-thru - you're not there all day, but when you are, you're making those tendies count! 💪 The max drawdown is only -6.2% compared to the asset's -23.8%, which means we're keeping our account safer than my paycheck in a savings account.

What's really got me hyped is that win rate leeway - we're crushing the minimal required win rate by over 4000%! 🔥 Sure, the 44% win rate might not look amazing at first, but with those juicy average wins being almost twice the size of average losses, we're playing this smart. The only thing that makes me a bit nervous is that 10-trade losing streak - that could be rough on the mental game, ngl. But hey, if you can handle working the fryer during rush hour, you can handle this! 🍟

Sarah

Autor

Madre mía, this strategy is like a mediocre student who somehow manages to pass the class - barely functioning but nothing to be proud of.

Let's be real here - a 17.3% return when the market gave you 40.1%? That's pathetic! You're basically paying money to underperform. The win rate of 44% is technically above your minimal required rate, but it's like bragging about getting a D- when you needed an F to fail. And that 10-trade losing streak? Dios mío, that's enough to make any sane trader throw their laptop out the window!

The only somewhat decent thing here is your risk management - the 1.85 risk/reward ratio isn't complete garbage, and the -6.2% max drawdown is manageable compared to the asset's -23.8%. But let's not throw a fiesta just yet - your market exposure is only 27.2%, meaning you're sitting on the sidelines most of the time while the market is making real money without you.

I wouldn't touch this strategy with a 10-foot pole. Either fix it or throw it in the basura where it belongs. The market is giving you a beautiful 40% return, and you're choosing to make less than half of that? That's not trading, that's self-sabotage!

Métricas tabulares de Bollinger/Keltner squeeze sometido a backtest en WMT • 10 Minutes

Total de Operaciones175Beneficio Neto17.3%Beneficio Compra y Mantén40.1%
Tasa de Ganancia44%Ratio Riesgo/Recompensa1.85Máximo Drawdown-6.2%
Máximo Drawdown del Activo-23.8%Exposición27.2%Promedio de Velas en Posición14.6
Ratio de Sharpe1.93Ratio de Sortino0.49Volatilidad Realizada8.63%
Racha Máxima de Ganancia5Racha Promedio de Ganancia1.9Racha Máxima de Pérdida10
Racha Promedio de Pérdida2.3Promedio de Operaciones por Mes27.8Promedio de Operaciones por Día0.9
Desv. Est. del Retorno0.7Desv. Est. de la Pérdida0.3Desv. Est. de la Ganancia0.8
Expectativa0.3Beta0.17

Todos los backtests para Bollinger/Keltner squeeze

common.strategyexposiciónrendimiento vs activodrawdown vs activotasa de gananciarecompensa/ riesgo
BTCUSD • 1 Minute
13%(0.2%/9.8%) 0.02x(-0.4%/-1.6%) 0.25x491.2
EURUSD • 1 Minute
17%(-0.1%/-0.9%) 0.11x(-0.5%/-1.2%) 0.42x282.4
GLD • 1 Minute
18%(3.6%/0.0%) Infinityx(-1.0%/-5.5%) 0.18x354.0
NVDA • 1 Minute
24%(8.1%/16.7%) 0.49x(-1.8%/-4.4%) 0.41x432.4
SPY • 1 Minute
23%(1.0%/4.6%) 0.22x(-1.6%/-2.1%) 0.76x332.4
TSLA • 1 Minute
23%(-14.5%/-10.3%) 1.41x(-15.5%/-21.4%) 0.72x281.3
WMT • 1 Minute
18%(-3.8%/-5.4%) 0.70x(-3.9%/-6.4%) 0.61x311.4
BTCUSD • 10 Minutes
19%(1.0%/27.2%) 0.04x(-6.3%/-12.1%) 0.52x351.9
EURUSD • 10 Minutes
24%(-0.3%/6.5%) -0.05x(-4.3%/-4.3%) 1.00x302.3
GLD • 10 Minutes
19%(-4.0%/43.7%) -0.09x(-8.0%/-8.3%) 0.96x371.4
NVDA • 10 Minutes
25%(-12.1%/32.9%) -0.37x(-24.9%/-42.8%) 0.58x361.6
SPY • 10 Minutes
26%(-0.3%/14.3%) -0.02x(-5.6%/-20.7%) 0.27x381.6
TSLA • 10 Minutes
24%(4.7%/59.0%) 0.08x(-32.8%/-55.3%) 0.59x401.6
WMT • 10 Minutes
27%(17.3%/40.1%) 0.43x(-6.2%/-23.8%) 0.26x441.9
BTCUSD • 1 Hour
25%(19.1%/71.4%) 0.27x(-21.5%/-31.0%) 0.69x421.7
EURUSD • 1 Hour
26%(4.9%/8.2%) 0.60x(-2.8%/-9.0%) 0.31x411.9
GLD • 1 Hour
16%(6.2%/117.6%) 0.05x(-18.6%/-22.2%) 0.84x421.6
NVDA • 1 Hour
26%(364.4%/3126.3%) 0.12x(-34.2%/-68.0%) 0.50x492.5
SPY • 1 Hour
22%(8.9%/106.7%) 0.08x(-12.4%/-35.1%) 0.35x411.7
TSLA • 1 Hour
21%(505.6%/1395.5%) 0.36x(-34.5%/-75.1%) 0.46x433.1
WMT • 1 Hour
25%(25.8%/138.2%) 0.19x(-9.3%/-26.9%) 0.35x461.6
BTCUSD • Daily
28%(2515.4%/67440.2%) 0.04x(-51.5%/-83.8%) 0.61x454.2
EURUSD • Daily
25%(5.2%/10.8%) 0.48x(-9.1%/-23.3%) 0.39x391.9
GLD • Daily
17%(13.2%/595.1%) 0.02x(-21.1%/-45.3%) 0.47x391.9
NVDA • Daily
26%(577.6%/373678.5%) 0.00x(-51.4%/-90.0%) 0.57x432.5
SPY • Daily
22%(14.1%/1316.3%) 0.01x(-39.4%/-56.7%) 0.69x391.9
TSLA • Daily
24%(1451.6%/24185.2%) 0.06x(-38.8%/-75.0%) 0.52x473.9
WMT • Daily
26%(-44.0%/9978.0%) -0.00x(-74.7%/-50.6%) 1.48x361.6