@pgnio/helios-mcp 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-UHFLF3UG.mjs +3051 -0
- package/dist/cli.js +2 -2
- package/dist/cli.mjs +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/docs/ai-agent-indicators/00_columns.txt +74 -0
- package/docs/ai-agent-indicators/00_index.txt +4 -19
- package/package.json +1 -1
- package/docs/ai-agent-indicators/squeeze_duration.txt +0 -115
- package/docs/ai-agent-indicators/squeeze_energy.txt +0 -128
- package/docs/ai-agent-indicators/tf_alignment.txt +0 -165
- package/docs/ai-agent-indicators/volatility_squeeze.txt +0 -169
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
================================================================================
|
|
2
|
-
INDICATOR: VOLATILITY_SQUEEZE — GARCH VOLATILITY RATIO (SQUEEZE)
|
|
3
|
-
================================================================================
|
|
4
|
-
id: volatility_squeeze
|
|
5
|
-
data_field: indicators.volatility_squeeze
|
|
6
|
-
type: NUMERIC
|
|
7
|
-
range: [0, ∞) — practically [0.1, 1.5] in most conditions
|
|
8
|
-
precision: 3 decimal places
|
|
9
|
-
update_rate: per_tick
|
|
10
|
-
latency_profile: COINCIDENT
|
|
11
|
-
|
|
12
|
-
--------------------------------------------------------------------------------
|
|
13
|
-
CONSTRUCT
|
|
14
|
-
--------------------------------------------------------------------------------
|
|
15
|
-
volatility_squeeze measures the ratio of short-window to long-window GARCH
|
|
16
|
-
conditional volatility. It detects when volatility has compressed below historical
|
|
17
|
-
norms (a "squeeze") — indicating stored directional energy.
|
|
18
|
-
|
|
19
|
-
GARCH(1,1) model:
|
|
20
|
-
omega = 0.00001
|
|
21
|
-
alpha = 0.10 (weight on recent squared return)
|
|
22
|
-
beta = 0.88 (weight on prior conditional variance)
|
|
23
|
-
h[t] = omega + alpha × r[t-1]² + beta × h[t-1]
|
|
24
|
-
where r[t] = log return at time t
|
|
25
|
-
|
|
26
|
-
Two GARCH variance series computed:
|
|
27
|
-
short_window = 14 ticks → h_short (14-period GARCH conditional variance)
|
|
28
|
-
long_window = 50 ticks → h_long (50-period GARCH conditional variance)
|
|
29
|
-
|
|
30
|
-
Ratio:
|
|
31
|
-
value = sqrt(h_short / h_long)
|
|
32
|
-
|
|
33
|
-
This ratio compares current short-term GARCH volatility to the recent long-term
|
|
34
|
-
GARCH baseline. A value of 1.0 means current volatility is at its long-run norm.
|
|
35
|
-
|
|
36
|
-
CRITICAL: LOWER VALUES MEAN MORE COMPRESSION (MORE ENERGY STORED)
|
|
37
|
-
value < 0.8 → SHORT_TERM VOLATILITY IS COMPRESSED BELOW BASELINE
|
|
38
|
-
value >= 0.8 → NORMAL OR EXPANDING VOLATILITY
|
|
39
|
-
|
|
40
|
-
--------------------------------------------------------------------------------
|
|
41
|
-
RANGE INTERPRETATION — SQUEEZE STATES (BELOW 0.8)
|
|
42
|
-
--------------------------------------------------------------------------------
|
|
43
|
-
IMPORTANT: These are SQUEEZE conditions. The LOWER the value, the more
|
|
44
|
-
compressed the volatility. This is counterintuitive: a "lower squeeze value"
|
|
45
|
-
means MORE stored energy, not less.
|
|
46
|
-
|
|
47
|
-
value < 0.3 [EXTREME SQUEEZE]
|
|
48
|
-
Short-term GARCH volatility is less than 30% of the long-term norm.
|
|
49
|
-
Maximum compression. Historical breakouts after extreme squeeze are
|
|
50
|
-
often the most violent, as stored directional energy releases suddenly.
|
|
51
|
-
squeeze_duration and squeeze_energy will be at high values here.
|
|
52
|
-
|
|
53
|
-
value >= 0.3 AND value < 0.4 [ACTIVE SQUEEZE]
|
|
54
|
-
Short-term volatility is severely compressed. Still very significant
|
|
55
|
-
energy buildup. Price is in a tight consolidation with little realized
|
|
56
|
-
volatility. The market is coiling before a move.
|
|
57
|
-
|
|
58
|
-
value >= 0.4 AND value < 0.6 [MILD-ACTIVE SQUEEZE]
|
|
59
|
-
Meaningful compression. Volatility is building toward normal levels.
|
|
60
|
-
Not extreme but notable — this level typically precedes larger moves.
|
|
61
|
-
|
|
62
|
-
value >= 0.6 AND value < 0.8 [MILD SQUEEZE]
|
|
63
|
-
Light compression. Volume and volatility are slightly below the baseline.
|
|
64
|
-
Pre-squeeze signal or normal pullback in oscillation.
|
|
65
|
-
|
|
66
|
-
value >= 0.8 [EXPANSION / NO SQUEEZE]
|
|
67
|
-
Short-term volatility at or above its long-term GARCH norm. This is the
|
|
68
|
-
normal or expanding state. Price is realizing its typical or above-typical
|
|
69
|
-
movement. No stored energy condition.
|
|
70
|
-
|
|
71
|
-
value >> 1.0 (significantly above 1.0)
|
|
72
|
-
Current volatility is substantially above the long-run GARCH baseline.
|
|
73
|
-
Post-squeeze expansion or a volatility shock event.
|
|
74
|
-
|
|
75
|
-
--------------------------------------------------------------------------------
|
|
76
|
-
TRAJECTORY MATTERS
|
|
77
|
-
--------------------------------------------------------------------------------
|
|
78
|
-
# The direction of squeeze_value change is as important as the absolute level.
|
|
79
|
-
|
|
80
|
-
value moving from 0.8 → 0.5 → 0.3 (declining over multiple ticks)
|
|
81
|
-
Active compression building. Energy is accumulating. The lower it gets
|
|
82
|
-
and the longer it stays low, the more likely the breakout is material.
|
|
83
|
-
Monitor squeeze_duration and squeeze_energy for quantified buildup.
|
|
84
|
-
|
|
85
|
-
value moving from 0.3 → 0.6 → 0.9 (rising after a squeeze)
|
|
86
|
-
Squeeze is RELEASING. Energy is being converted to realized movement.
|
|
87
|
-
This is the expected transition AFTER the breakout move initiates.
|
|
88
|
-
By the time value is above 0.8, the acute breakout phase has begun.
|
|
89
|
-
|
|
90
|
-
value hovering near 0.5 for many ticks
|
|
91
|
-
Prolonged squeeze. Market is in sustained compression. Combined with
|
|
92
|
-
low squeeze_energy increase, this may indicate an information void
|
|
93
|
-
period. High-conviction break likely when catalyst arrives.
|
|
94
|
-
|
|
95
|
-
--------------------------------------------------------------------------------
|
|
96
|
-
INDICATOR RELATIONSHIPS
|
|
97
|
-
--------------------------------------------------------------------------------
|
|
98
|
-
indicators.squeeze_duration | REQUIRED_COMPANION
|
|
99
|
-
squeeze_duration counts consecutive ticks where value < 0.8.
|
|
100
|
-
Low squeeze_value + high squeeze_duration = sustained compression.
|
|
101
|
-
The combination is more meaningful than either alone.
|
|
102
|
-
|
|
103
|
-
indicators.squeeze_energy | REQUIRED_COMPANION
|
|
104
|
-
squeeze_energy = squeeze_duration × (0.8 - value) = compressionDepth × time.
|
|
105
|
-
This is the integrated measure of compression buildup.
|
|
106
|
-
High squeeze_energy = the most significant potential release.
|
|
107
|
-
|
|
108
|
-
indicators.regime | CONTEXT
|
|
109
|
-
IF regime = CONSOL AND volatility_squeeze < 0.5
|
|
110
|
-
→ Regime confirms consolidation AND volatility confirms compression.
|
|
111
|
-
Dual confirmation of coiling condition.
|
|
112
|
-
IF volatility_squeeze transitions above 0.8 AND regime shifts to BREAKOUT
|
|
113
|
-
→ The squeeze is releasing AND regime has confirmed direction.
|
|
114
|
-
Highest confidence breakout signal.
|
|
115
|
-
|
|
116
|
-
indicators.market_structure | CONTEXT
|
|
117
|
-
market_structure = CONSOL or BREAKING_UP after a squeeze period confirms
|
|
118
|
-
the structural context of both compression and release.
|
|
119
|
-
|
|
120
|
-
indicators.activity_ratio | CONTEXT
|
|
121
|
-
IF activity_ratio < 0.5 AND volatility_squeeze < 0.5
|
|
122
|
-
→ Compression in both volume AND GARCH volatility. Not just a quiet
|
|
123
|
-
period — both volume and price movement are compressed simultaneously.
|
|
124
|
-
|
|
125
|
-
indicators.hmi | CONTEXT
|
|
126
|
-
After a squeeze release, the direction of the hmi move (positive or negative)
|
|
127
|
-
provides the directional interpretation of the energy release.
|
|
128
|
-
volatility_squeeze confirms compression existed; hmi tells you which way
|
|
129
|
-
the energy released.
|
|
130
|
-
|
|
131
|
-
--------------------------------------------------------------------------------
|
|
132
|
-
DEPENDENCY ORDER
|
|
133
|
-
--------------------------------------------------------------------------------
|
|
134
|
-
1 Read value; classify SQUEEZE (< 0.8) vs EXPANSION (>= 0.8).
|
|
135
|
-
2 In squeeze: classify depth (EXTREME < 0.3, ACTIVE < 0.4, MILD < 0.6).
|
|
136
|
-
3 Read squeeze_duration and squeeze_energy for magnitude of buildup.
|
|
137
|
-
4 Regime for compression/breakout confirmation.
|
|
138
|
-
5 Post-release: read hmi for direction of energy release.
|
|
139
|
-
|
|
140
|
-
--------------------------------------------------------------------------------
|
|
141
|
-
INVALIDATION CONDITIONS
|
|
142
|
-
--------------------------------------------------------------------------------
|
|
143
|
-
IF fewer than 50 ticks of return history
|
|
144
|
-
→ Long GARCH window (50) has not converged. Value is unreliable.
|
|
145
|
-
Treat first 50-60 ticks after start/reset as warm-up.
|
|
146
|
-
|
|
147
|
-
IF a sudden extreme price move occurs (> 5% in 1 tick)
|
|
148
|
-
→ GARCH may spike sharply. One outlier return inflates h_short significantly.
|
|
149
|
-
Value may jump to >> 1.0 transiently. Wait for GARCH to stabilize.
|
|
150
|
-
|
|
151
|
-
--------------------------------------------------------------------------------
|
|
152
|
-
ANTI-PATTERNS — DETECTABLE MISUSE CONDITIONS
|
|
153
|
-
--------------------------------------------------------------------------------
|
|
154
|
-
IF value < 0.3 is treated as a trade signal on its own
|
|
155
|
-
→ INCORRECT. Extreme squeeze tells you compression exists but says
|
|
156
|
-
NOTHING about direction. Directional confirmation (hmi, regime shift,
|
|
157
|
-
market_structure breakout) is required before acting.
|
|
158
|
-
|
|
159
|
-
IF value > 0.8 is treated as "safe to trade"
|
|
160
|
-
→ INCORRECT INTERPRETATION. Value > 0.8 means volatility is expanding.
|
|
161
|
-
This is the RELEASE phase of a squeeze — often the most volatile
|
|
162
|
-
and fastest-moving period. This is when positions face highest
|
|
163
|
-
whipsaw risk, not least.
|
|
164
|
-
|
|
165
|
-
IF the relationship between value and compression is treated as "higher = more squeeze"
|
|
166
|
-
→ INVERTING THE SCALE. Lower value = more compressed. value = 0.2
|
|
167
|
-
is maximum squeeze, NOT a minimum. This is a common error with
|
|
168
|
-
ratio-based indicators. Remember: value compares short GARCH to
|
|
169
|
-
long GARCH — below 1.0 means short is below long.
|