This intraday breakout strategy seeks to enter once price breads above the opening candle High, at any stage of a day. It takes profit on Opening Range High+Opening Range Size, and it has a stop loss at Opening Range Low. It never carries a position overnight; it always exits at the last candle of a day in case if no other exit conditions were met.
Backtest covers 3.1 years of GLD β’ 30 Minutes (SPDR Gold Trust) data, from July 5, 2022 to August 1, 2025.
Equity curve is the strategy's performance over time. You should compare it to the asset's Buy & Hold performance. In general, you want the blue area to be well above the gray area.
Drawdown is how much losses (realized or unrealized) the strategy has had if compared to the highest equity peak. Compare this to the asset's drawdown to see whether your strategy does a decent job of isolating you from downside volatility. In general, the red area must be well within the gray area.
So, we have backtested Buy at opening candle range breakout on 3.1 years of GLD β’ 30 Minutes candles.Β This backtest resulted in 354 positions, with the average win rate of 55% and reward-risk ratio of 1.00.Β If you assume that 1.00 reward-to-risk ratio holds, you need a minimum win rate of 50.0 to be profitable. So you're looking good so far.Β The key metrics are as follows:
With that exposure in mind, you can tell that for 34% time-in-market, you get 12.71% of the asset upside potential, and 58.47% of the asset downside potential.
All of the following: # Papa 30min Opening range JS, Entry Signal emerged
All of the following: # X-ray 30min Opening range JS, Exit Signal emerged
The backtest results show some serious problems from a mathematical perspective. The strategy significantly underperforms buy & hold (11.1% vs 87.3% over 3.1 years), which is the first red flag.
The win rate of 55% with a 1.0 risk/reward ratio gives us a positive expectancy of 0.1, which is technically profitable but extremely thin. With transaction costs and slippage in real trading, this edge would likely disappear completely. The strategy also shows high exposure to drawdowns relative to its returns - a 6.9% max drawdown for only 11.1% total gain is not optimal from a risk-adjusted perspective.
What concerns me most is the degrading performance over time periods. While 1M shows 58.5% CAGR, this drops dramatically to 3.8% over 3Y. This pattern suggests the strategy might be overfitted to recent data and lacks robustness. The low Sharpe ratio of 0.26 and negative Sortino ratio of -0.06 confirm the poor risk-adjusted performance.
I would not recommend trading this strategy in its current form. The mathematical evidence suggests it lacks statistical edge when accounting for real-world friction costs. One would need significantly better metrics - perhaps a risk/reward ratio of at least 1.5 while maintaining the current win rate - to make this worthwhile.
Yo fam, let me break down this GLD strategy for you! π
Looking at these numbers, we've got a pretty solid base with that 55% win rate and balanced Risk/Reward ratio of 1.0. That 5450% win rate leeway is straight fire π₯ - means we've got some serious cushion above what we need to stay profitable. Plus, averaging about 19 trades per month means we're not sitting on our hands waiting forever for signals.
But here's the thing bros - while we're making money (11.1% total gain), we're seriously underperforming the buy & hold (87.3%). That's kind of a bummer π . The max drawdown of -6.9% isn't too scary though, and I've definitely seen worse in my Wendy's portfolio lol. The strategy seems to work better in shorter timeframes - check out that 58.5% CAGR in the last month! π
Overall, this looks like a decent base strategy that could use some tweaking to juice up those returns. Maybe we could add some extra confirmation signals or optimize the exit strategy? I'd probably throw a small position at this while working on improvements. Not exactly YOLO material yet, but definitely has potential! ππ
Madre mΓa, this strategy is a complete disaster! Let me tell you why you should throw this piece of garbage where it belongs - in the trash.
First of all, look at that pathetic 11.1% net profit over 3.1 years while the market made 87.3%! You would have made almost 8 times more money by simply buying and holding like a lazy person. What's even worse, your market exposure is only 34.3% - meaning you're missing most of the actual market moves while probably sitting there staring at your screen like an idiot.
The risk metrics are absolutely horrible, amigo. A Sharpe ratio of 0.26 and a negative Sortino ratio of -0.06? This tells me your strategy is taking stupid risks without proper compensation. Your max drawdown of -6.9% might look "not so bad" but considering the tiny returns, it's actually terrible!
The only slightly positive thing I can see is your win rate being 5% above the minimal required - but honestly, who cares when your average win and loss sizes are exactly the same (0.34%)? This means you're basically running in place like a hamster in a wheel, making your broker rich with commissions while achieving nothing.
Mi consejo? Delete this strategy and start over. Or better yet, just buy and hold if you can't come up with something actually profitable.
Total Trades | 354 | Net Profit | 11.1% | Buy & Hold Profit | 87.3% |
Win Rate | 55% | Reward/Risk Ratio | 1.00 | Max Drawdown | -6.9% |
Asset Max Drawdown | -11.8% | Exposure | 34.3% | Avg Candles in Position | 8.7 |
Sharpe Ratio | 0.26 | Sortino Ratio | -0.06 | Realized Volatility | 5.91% |
Max Winning Streak | 10 | Avg Winning Streak | 2.3 | Max Losing Streak | 7 |
Avg Losing Streak | 1.8 | Avg Trades per Month | 18.9 | Avg Trades per Day | 0.6 |
Return Std Dev | 0.6 | Loss Std Dev | 0.5 | Win Std Dev | 0.4 |
Expectancy | 0.1 | Beta | 0.17 |
backtest | exposure | peformance vs asset | drawdown vs asset | win% | reward/risk |
---|---|---|---|---|---|
BTCUSDT β’ 10 Minutes | 15% | (1.0%/4.2%) 0.24x | (-4.6%/-11.1%) 0.41x | 56 | 0.9 |
EURUSD β’ 10 Minutes | 22% | (0.8%/2.1%) 0.38x | (-1.7%/-3.6%) 0.47x | 87 | 0.2 |
GLD β’ 10 Minutes | 24% | (0.8%/39.2%) 0.02x | (-2.6%/-8.3%) 0.31x | 60 | 0.7 |
NVDA β’ 10 Minutes | 32% | (25.9%/41.7%) 0.62x | (-15.6%/-42.8%) 0.36x | 54 | 1.1 |
PLTR β’ 10 Minutes | 33% | (38.1%/439.0%) 0.09x | (-25.4%/-46.5%) 0.55x | 58 | 1.0 |
SPY β’ 10 Minutes | 22% | (16.4%/12.3%) 1.33x | (-5.5%/-20.7%) 0.27x | 68 | 0.8 |
TSLA β’ 10 Minutes | 29% | (-7.9%/23.0%) -0.34x | (-34.7%/-55.3%) 0.63x | 60 | 0.7 |
WMT β’ 10 Minutes | 32% | (13.3%/40.0%) 0.33x | (-9.1%/-23.8%) 0.38x | 63 | 0.8 |
BTCUSDT β’ 15 Minutes | 20% | (2.3%/33.4%) 0.07x | (-7.2%/-12.0%) 0.60x | 52 | 1.1 |
EURUSD β’ 15 Minutes | 27% | (3.9%/8.2%) 0.48x | (-1.4%/-4.3%) 0.33x | 83 | 0.3 |
GLD β’ 15 Minutes | 31% | (4.0%/66.4%) 0.06x | (-4.4%/-8.3%) 0.53x | 59 | 0.8 |
NVDA β’ 15 Minutes | 34% | (69.7%/211.7%) 0.33x | (-10.1%/-42.8%) 0.24x | 57 | 1.2 |
PLTR β’ 15 Minutes | 33% | (124.3%/846.9%) 0.15x | (-14.3%/-46.5%) 0.31x | 56 | 1.4 |
SPY β’ 15 Minutes | 24% | (13.3%/31.8%) 0.42x | (-4.4%/-21.1%) 0.21x | 62 | 0.8 |
TSLA β’ 15 Minutes | 27% | (16.3%/41.6%) 0.39x | (-20.0%/-55.6%) 0.36x | 56 | 0.9 |
WMT β’ 15 Minutes | 33% | (27.2%/83.0%) 0.33x | (-4.9%/-23.8%) 0.21x | 64 | 0.9 |
BTCUSDT β’ 30 Minutes | 21% | (-3.7%/14.3%) -0.26x | (-20.8%/-31.2%) 0.67x | 57 | 0.7 |
EURUSD β’ 30 Minutes | 35% | (-1.1%/5.7%) -0.19x | (-5.2%/-7.4%) 0.70x | 75 | 0.3 |
GLD β’ 30 Minutes | 34% | (11.1%/87.3%) 0.13x | (-6.9%/-11.8%) 0.58x | 55 | 1.0 |
NVDA β’ 30 Minutes | 34% | (58.6%/1089.5%) 0.05x | (-29.2%/-42.9%) 0.68x | 54 | 1.1 |
PLTR β’ 30 Minutes | 30% | (19.4%/1516.1%) 0.01x | (-41.6%/-48.4%) 0.86x | 54 | 0.9 |
SPY β’ 30 Minutes | 35% | (18.1%/65.6%) 0.28x | (-6.8%/-20.2%) 0.34x | 63 | 0.7 |
TSLA β’ 30 Minutes | 29% | (62.0%/33.8%) 1.83x | (-20.9%/-67.1%) 0.31x | 56 | 1.0 |
WMT β’ 30 Minutes | 32% | (32.0%/138.6%) 0.23x | (-6.5%/-23.8%) 0.27x | 58 | 1.1 |
BTCUSDT β’ 5 Minutes | 18% | (2.2%/5.7%) 0.39x | (-2.1%/-8.9%) 0.24x | 64 | 1.0 |
EURUSD β’ 5 Minutes | 23% | (0.7%/0.8%) 0.87x | (-0.7%/-3.7%) 0.19x | 88 | 0.2 |
GLD β’ 5 Minutes | 23% | (-3.0%/21.5%) -0.14x | (-7.3%/-8.0%) 0.91x | 61 | 0.5 |
NVDA β’ 5 Minutes | 29% | (14.6%/42.5%) 0.34x | (-9.3%/-38.8%) 0.24x | 61 | 0.9 |
PLTR β’ 5 Minutes | 26% | (18.3%/95.6%) 0.19x | (-14.7%/-46.6%) 0.32x | 55 | 1.1 |
SPY β’ 5 Minutes | 14% | (5.4%/3.4%) 1.59x | (-4.0%/-21.1%) 0.19x | 61 | 0.9 |
TSLA β’ 5 Minutes | 21% | (47.4%/-22.2%) -2.14x | (-7.1%/-48.5%) 0.15x | 68 | 0.9 |
WMT β’ 5 Minutes | 27% | (12.5%/1.2%) 10.42x | (-4.8%/-23.8%) 0.20x | 63 | 0.9 |