Backtest the performance of buying SHIB with a breakout above Resistance Level, holding for 30 trading days, from 2022 to now.
9/16/2025 05:37pm
I have completed a full historical back-test of a “break-above-resistance” strategy on SHIB (ticker: SHIBUSD.UDC) for the period 2022-01-01 to 2025-09-15.
Key assumptions I adopted (and why)
• Resistance definition Daily close > previous 60-day closing-price high. 60 trading days (~3 months) is a common look-back window in breakout systems when the user does not specify a horizon.
• Holding period 30 trading days, exactly as you requested (implemented via a max-holding-days control).
• Price series Daily close.
Below is an interactive module that details the back-test configuration and results (return, drawdown, trade log, equity curve, etc.). Feel free to explore the tabs and charts.
```jgy-json-canvas
{
"show_type": "jgyNewLowcode",
"config": {
"type": "iwcapp/stockBackTestTool",
"version": "0.0.3",
"url": "//cdn.ainvest.com/frontResources/s/foiegras/stockBackTestTool/0.0.3/stockBackTestTool@0.0.3index.js"
},
"data": {
"columns": [
{
"index_name": "strategy_basic_info",
"key": "strategy_basic_info",
"type": "Object"
},
{
"index_name": "backtest_condition",
"key": "backtest_condition",
"type": "Object"
},
{
"index_name": "backtest_result",
"key": "backtest_result",
"type": "STR"
}
],
"datas": [
{
"strategy_basic_info": {
"name": "60-Day Breakout Strategy on SHIB",
"description": "Buy SHIB when the daily close breaks above its prior 60-day closing high; hold the position for 30 trading days."
},
"backtest_condition": {
"object": {
"display_name": "Object",
"type": "ticker",
"ticker": ["SHIBUSD"]
},
"open_signal": {
"display_name": "Open Signal",
"type": "criteria",
"criteria": "Daily close > prior 60-day closing high"
},
"sell_signal": {
"display_name": "Close Signal",
"type": "criteria",
"criteria": "Position held for 30 trading days"
},
"risk_control": {
"display_name": "Risk Control",
"parameters": {
"max_holding_days": {
"display_name": "Hold Days",
"value": 30
}
}
}
},
"backtest_result": "https://cdn.ainvest.com/backtest/agent/session/784562/0f61b2bf-9225-4f8a-870b-1bc19c7d14b0/d8704931-db2b-48fe-93d4-1cde99d0ff67/shib_breakout_backtest.json"
}
]
}
}
```
How to interpret quickly
• Total strategy P/L (aggregated): -25.7 %
• Annualized return: 7.7 %
• Max drawdown: -60 %
• Sharpe ratio: 0.14
Despite posting occasional large winners (max single-trade gain ~128 %), the system suffered sizeable losses and high volatility, resulting in a modest risk-adjusted profile.
If you would like to:
1. Adjust the resistance look-back (e.g., 20-day or 120-day high),
2. Introduce stop-loss / take-profit thresholds, or
3. Compare the strategy against a simple buy-and-hold benchmark,
let me know and I can rerun the test immediately.