Skip to content

Commit d3dfad5

Browse files
committed
docs: freeze Regime Trend v1 profit protection matrix
1 parent 8faaf39 commit d3dfad5

1 file changed

Lines changed: 122 additions & 0 deletions

File tree

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
# Regime Trend v1 — Frozen Profit Protection Matrix
2+
3+
Status: **Frozen before counterfactual overlay results are viewed**
4+
5+
Purpose: test whether completed-bar profit protection can improve the frozen 4-hour strategy without destroying its large right-tail winners.
6+
7+
This stage is counterfactual research. It does not change the baseline strategy and does not open the final holdout.
8+
9+
## 1. Data boundary
10+
11+
Evaluate the existing partitions separately:
12+
13+
- Development: 2019-01-01 through 2022-12-31 UTC
14+
- Validation/research: 2023-01-01 through 2024-12-31 UTC
15+
16+
The final holdout beginning 2025-01-01 remains closed.
17+
18+
## 2. Activation rule
19+
20+
A protection rule activates only after a completed 4-hour candle closes at or above:
21+
22+
`entry_fill + activation_atr * frozen_entry_atr`
23+
24+
The protection floor becomes active on the next 4-hour candle. It never acts inside the activation candle.
25+
26+
The actual exit candle close is not eligible to activate protection because the baseline position may already have exited before that close.
27+
28+
## 3. Net floor definition
29+
30+
Each floor is specified as a desired net result in frozen entry-ATR units after normal exit slippage and commission when the floor is touched exactly.
31+
32+
The raw stop reference is solved from:
33+
34+
- baseline entry fill,
35+
- baseline quantity,
36+
- already-paid entry commission,
37+
- exit commission of 0.10%,
38+
- exit slippage of 0.05%.
39+
40+
A gap below the floor exits at the actual candle open with adverse slippage; therefore realized net result may be below the desired floor.
41+
42+
## 4. Frozen candidates
43+
44+
Only these seven candidates are allowed:
45+
46+
1. `activate-0.50-lock-0.00`
47+
- activation: +0.50 ATR completed-bar close
48+
- net floor: 0.00 ATR
49+
50+
2. `activate-1.00-lock-0.00`
51+
- activation: +1.00 ATR completed-bar close
52+
- net floor: 0.00 ATR
53+
54+
3. `activate-1.00-lock-0.25`
55+
- activation: +1.00 ATR completed-bar close
56+
- net floor: +0.25 ATR
57+
58+
4. `activate-1.00-lock-0.50`
59+
- activation: +1.00 ATR completed-bar close
60+
- net floor: +0.50 ATR
61+
62+
5. `activate-1.50-lock-0.00`
63+
- activation: +1.50 ATR completed-bar close
64+
- net floor: 0.00 ATR
65+
66+
6. `activate-1.50-lock-0.50`
67+
- activation: +1.50 ATR completed-bar close
68+
- net floor: +0.50 ATR
69+
70+
7. `activate-1.50-lock-1.00`
71+
- activation: +1.50 ATR completed-bar close
72+
- net floor: +1.00 ATR
73+
74+
No additional trigger or floor may be introduced after viewing results.
75+
76+
## 5. Conservative execution policy
77+
78+
For candles after activation and before the baseline exit candle:
79+
80+
- if open is at or below the floor, exit at open with adverse slippage,
81+
- otherwise if low reaches the floor, exit at the floor with adverse slippage.
82+
83+
On the baseline exit candle, only an opening gap through the floor may create an overlay exit. The later high/low path of that candle is not used because baseline exit ordering is already in force and intrabar sequence is unknown.
84+
85+
If the overlay does not produce a provably earlier exit, the original baseline trade is retained unchanged.
86+
87+
## 6. Required outputs
88+
89+
For every candidate and partition report:
90+
91+
- baseline and overlay total net PnL,
92+
- change in total net PnL,
93+
- baseline and overlay profit factor,
94+
- baseline and overlay win rate,
95+
- baseline and overlay maximum drawdown,
96+
- activation count,
97+
- earlier overlay-exit count,
98+
- losing trades converted to winners,
99+
- losing trades improved but still losing,
100+
- winners reduced,
101+
- winners converted to losses,
102+
- unchanged trades,
103+
- median, 90th-percentile and maximum realized net ATR,
104+
- number of baseline winners preserving at least 90% of their original net PnL,
105+
- results by symbol.
106+
107+
## 7. Interpretation discipline
108+
109+
A candidate is not accepted because it has the highest validation result.
110+
111+
A viable profit-protection hypothesis must:
112+
113+
- improve development and validation/research total net PnL,
114+
- not reduce profit factor in either partition,
115+
- not increase maximum drawdown in either partition,
116+
- preserve at least 80% of baseline winning trades at 90% or more of their original net PnL,
117+
- avoid converting more than 5% of baseline winners into losses,
118+
- show improvement across more than one symbol.
119+
120+
If no frozen candidate satisfies these conditions, completed-bar fixed-floor protection is rejected and the next research step becomes a separately specified lower-timeframe exit overlay or entry/no-trade filter.
121+
122+
No final holdout access is allowed during this stage.

0 commit comments

Comments
 (0)