箱体 支撑/阻力 回测(2026-08-24)
2026-08-26 · 回测 · 验证
箱体 支撑/阻力 回测(2026-08-24)
问题:
之前箱体→突破上涨→回踩箱体上沿止跌(支撑)/上涨至前箱体上沿止涨(阻力)是否成立?方法同§22.7:ahead 10d分层,CN liquid1500聚合2023-01~2026-08,n≥500采信。
口径
- 箱体:
n=20 / 60日box_high = max(high,n)/box_low = min(low,n)(shift(1)前视隔离)。is_narrow = (box_high-box_low)/close < 20%分位(挤压箱体)。 - 突破:
close > box_high(上破)/close < box_low(下破)。 - 支撑回踩:上破后
20d内close ∈ [box_high*0.98, box_high*1.02](support_any)且前箱 narrow(support_narrow);另测 无突破过滤的close ∈ [box_high, box_high*1.02](支撑)vs[0.98*box_high, box_high)(阻力)。 - base:
CN 1500全票-日10d均值+0.76% win47.5%(up 0.54% / down 0.94%)
支撑(上破→回踩)
| 箱体 | 条件 | n | mean | median | win | vs base |
|---|---|---|---|---|---|---|
| 20d | up_support_any 上破后20d内回踩 |
46,950 | +0.86% | -0.20% | 48.6% | +0.10% |
| 20d | up_support_narrow 窄箱 |
12,821 | +1.64% | +0.48% | 53.6% | +0.88% |
| 60d | up_support_any |
23,459 | +0.90% | -0.18% | 48.8% | +0.14% |
| 60d | up_support_narrow |
7,235 | +2.15% | +0.44% | 53.5% | +1.39% |
解读:
any箱体回踩≈base(+0.1%),窄箱回踩才+0.88~1.39%excess、median>0、win53-54%略优,但 未达win>70%杠杆线,且median 0.44%远小于mean 2.15%(厚尾)。
阻力/支撑(无突破过滤,纯位置)
| 箱体 | 条件 | n | mean | median | win | vs base |
|---|---|---|---|---|---|---|
| 20d | resist_any 接近上沿下方 0.98-1.00 |
88,702 | +0.87% | 0.00% | 49.5% | +0.11% |
| 20d | resist_narrow 窄箱 |
37,123 | +1.46% | +0.39% | 52.9% | +0.70% |
| 20d | support_any 站上沿上方 1.00-1.02 |
35,307 | +1.21% | 0.00% | 49.6% | +0.45% |
| 20d | support_narrow 窄箱 |
11,974 | +2.17% | +0.63% | 54.8% | +1.41% |
| 60d | resist_any |
32,448 | +1.16% | +0.08% | 51.1% | +0.40% |
| 60d | resist_narrow |
14,219 | +1.77% | +0.32% | 53.2% | +1.01% |
| 60d | support_any |
14,962 | +1.23% | +0.02% | 50.2% | +0.47% |
| 60d | support_narrow |
5,383 | +2.21% | +0.22% | 53.1% | +1.45% |
| 20d | break_up 上破当日 |
60,227 | +1.35% | -0.48% | 47.4% | +0.59% |
| 20d | break_down 下破 |
81,035 | +1.03% | 0.00% | 49.7% | +0.27% |
解读:
- 支撑成立但弱:窄箱支撑
+2.17~2.21%为全场最强 Excess+1.4%,但win53-54% median 0.2-0.6%,未达70%高置信,且any箱仅+0.4%。- 阻力不成立:
上涨至前箱体上沿本应mean<0(止涨下跌),实测resist_any +0.87%~1.16% win49-51%仍为正,窄箱亦+1.46~1.77%正向 — 价格并未在前高压制,继续上涨,与直觉相反。break_up +1.35%亦正向,说明突破延续而非假突破。
结论(记录)
- “箱体支撑”有
+1.4%弱 edge,仅窄箱:60d narrow support +2.15% (+1.39% excess) win53.5% n7k与20d +2.17% win54.8%为CN上箱体最强,但mean-median 1.7%、win≈53%,属厚尾小样本偏态,非win>70%可杠杆天平,作提示层可以。 - “箱体阻力”证伪:
上涨至前箱体止涨在20d/60d均mean>0(+0.87~1.77%),阻力并未阻止上涨,n32-88k大样本下仍正向,不可用作止盈/止涨依据。 - 不进系统:不纳入
S-3参数表、不改sleeve择优;窄箱支撑可作holdings提示(“回踩窄箱上沿+2.1%弱支撑”),但excess<2% win≈53%不加仓。箱体本质是MA20±2σ的bw窄化版,与bollinger squeeze +0.93%同量级。
脚本:box_high/low n=20/60 + 20d回踩窗口 + ahead10d + daily 1500 liquid 聚合;数据 daily 2023-01~2026-08;cost 未扣不改结论。