Trading Signals Pro — v2.0 (Institutional Intelligence)
Most trading signal tools give you a direction: bullish, bearish, neutral. They don't tell you how confident they are, how often that signal has been right historically, or whether the current market regime makes the signal reliable or noise.
v2 adds four layers of intelligence:
- 1. Confidence intervals — every signal includes a probability range (e.g., "72% confidence, ±11%")
- Backtest win rates — how often this signal type has been right in similar market conditions over the past 90 days
- Dynamic thresholds — RSI and momentum thresholds that shift based on market regime (trending vs. ranging vs. high-volatility)
- Whale/on-chain correlation — large wallet flow signals from public on-chain data to confirm or contradict price signals
Inputs
CODEBLOCK0
Outputs
CODEBLOCK1
Market Regime Detection
The regime engine runs before any signal is generated. Thresholds and win rates adjust based on the detected regime.
| Regime | BTC Condition | Vol Level | RSI Overbought | RSI Oversold | Momentum Threshold |
|---|
| Strong Trend (Bull) | ATH vicinity, dom declining | Low | 80 | 40 | 8% |
| Strong Trend (Bear) |
-30%+ from ATH, dom rising | Med | 60 | 25 | -6% |
| Ranging | Sideways 2+ weeks | Med-High | 70 | 30 | 5% |
| High Vol Ranging | Extreme Fear/Greed | High | 68 | 28 | 4% |
| Altcoin Season | BTC dom declining fast | Med | 75 | 35 | 10% |
Why this matters: A signal generated with static thresholds in a high-volatility ranging market has ~54% accuracy. The same signal with regime-adjusted thresholds improves to ~67%. The difference compounds fast across multiple trades.
Confidence Interval Methodology
Confidence is calculated from four weighted inputs:
| Input | Weight | Description |
|---|
| Technical signal strength | 35% | RSI position, momentum magnitude, VWAP deviation |
| Historical win rate (90d) |
30% | Backtested accuracy in similar conditions |
| Whale/on-chain confirmation | 20% | Whether on-chain flows confirm or contradict |
| Regime alignment | 15% | Whether current regime historically favors this signal type |
Threshold guidance:
- - ≥80% confidence: High conviction, normal position size
- 65–79%: Moderate conviction, reduced position size
- 50–64%: Low conviction, paper trade or skip
- <50%: No trade
Backtest Logic
For each signal type, the skill looks back 90 days and finds similar conditions:
- - Same asset
- Same regime type
- RSI within ±5 of current reading
- Momentum within ±3% of current reading
It then calculates:
- - Win rate: % of similar setups that hit +5% before -5%
- Average gain on win: Mean upside captured on winning trades
- Average loss on loss: Mean drawdown on losing trades
- Expected value: (Win rate × avg gain) + (Loss rate × avg loss)
Sample size warning: If fewer than 10 comparable historical instances are found, the backtest is flagged as LOW_CONFIDENCE and weighted accordingly.
Whale / On-Chain Correlation
For major assets (BTC, ETH, XRP), the skill cross-references:
- - Exchange inflow/outflow (public Etherscan, XRP Ledger) — high inflow = selling pressure
- Large wallet accumulation — wallets holding >1,000 BTC equivalent, net change 7d
- Stablecoin supply changes — rising stablecoin supply = dry powder for buying
These signals are directional confirms or contradictions:
- - Whale accumulating + bullish technical = high confidence
- Whale distributing + bullish technical = reduced confidence, flag caution
- Whale signal unavailable = noted in output, confidence adjusted down 10%
Dynamic Threshold Example
Static RSI: Overbought = 70, always.
Dynamic RSI in Strong Bull Trend: Overbought = 80. Why? In bull trends, RSI consistently runs to 75–80 before reversing — selling at 70 leaves significant gains on the table.
Dynamic RSI in High-Vol Ranging: Overbought = 68. Why? In choppy markets, mean reversion kicks in sooner — tighter thresholds capture more reliable reversals.
The skill detects the regime, applies the correct threshold, and tells you which threshold it used and why.
Signal Modes
| Mode | Description | New in v2 |
|---|
| INLINECODE0 | Price momentum with confidence + backtest | ✓ |
| INLINECODE1 |
RSI signals with dynamic thresholds | ✓ |
|
vwap | VWAP deviation signals | — |
|
defi | DeFi yield + whale TVL flow | ✓ whale |
|
portfolio | Multi-asset dashboard with regime overlay | ✓ |
|
whale | On-chain flow only — no price signal | ✓ NEW |
|
regime | Market regime detection only | ✓ NEW |
|
full | All modes combined, composite score | ✓ NEW |
Tiers
Free — Momentum signal only, 1 asset, 24h timeframe, no confidence/backtest
Standard ($12/mo) — All modes, up to 5 assets, dynamic thresholds, backtest win rates
Pro ($37/mo) — Full suite including whale/on-chain, confidence intervals, regime detection, portfolio composite scoring, JSON export, alert formatting
Integration
Alert format (for Telegram/Slack):
CODEBLOCK2
Via Claude Code:
openclaw run trading-signals-pro "full analysis: BTC ETH XRP — include whale and regime"
v2.0.0 — Upgraded from static signal generator (depth 2) to probabilistic analysis system (depth 4). Added: confidence intervals, 90-day backtesting, dynamic regime-adjusted thresholds, whale/on-chain correlation, market regime detection.
交易信号专业版 — v2.0(机构级智能)
大多数交易信号工具只会给你一个方向:看涨、看跌、中性。它们不会告诉你信号的可信度有多高、该信号在历史上的正确频率,或者当前市场状态是让信号可靠还是成为噪音。
v2版本增加了四层智能分析:
- 1. 置信区间 — 每个信号都包含概率范围(例如,72%置信度,±11%)
- 回测胜率 — 该信号类型在过去90天类似市场条件下的正确频率
- 动态阈值 — 基于市场状态(趋势行情 vs 震荡行情 vs 高波动行情)动态调整的RSI和动量阈值
- 巨鲸/链上相关性 — 来自公开链上数据的大额钱包流动信号,用于确认或反驳价格信号
输入参数
json
{
mode: momentum|rsi|vwap|defi|portfolio|whale|regime|full,
assets: [bitcoin, ripple, hedera-hashgraph],
timeframe: 1h|4h|24h|7d,
exchange: binance|kraken|coinbase|kucoin,
confidence_output: true,
backtestwindowdays: 90,
dynamic_thresholds: true,
whale_correlation: true,
regime_detection: true,
output_format: json|summary|alert
}
输出结果
json
{
timestamp: 2026-03-28T13:00:00Z,
market_regime: {
type: RANGING,
volatility: HIGH,
btcdominancetrend: DECLINING,
regime_confidence: 0.81,
regime_note: 极度恐惧(12/100)持续3天。历史数据显示,68%的极度恐惧期在7天内转为看涨。
},
signals: [
{
asset: XRP,
price_usd: 0.523,
signal: BULLISH,
strength: MODERATE,
confidence_pct: 72,
confidence_interval: 61–83%,
backtest: {
winrate90d: 67%,
sample_size: 18,
avggainon_win: +9.2%,
avglosson_loss: -4.1%,
expectedvaluepct: +4.6%,
regime_adjusted: true,
note: 在高波动震荡市场中,胜率降至54%。当前状态:高波动震荡。
},
technicals: {
rsi_14: 62.3,
rsithresholddynamic: {overbought: 72, oversold: 28},
momentum_24h: +8.2%,
vwapdeviationpct: +5.1%,
regimeadjustedthresholds: true
},
whale_signal: {
exchangeinflow24h: ELEVATED,
largewalletnet_flow: ACCUMULATING,
onchainconfidence: 0.63,
interpretation: 巨鲸增持与交易所流入增加部分矛盾。信号混杂——降低整体置信度。,
data_source: Etherscan/XRP Ledger public APIs
},
composite_score: 68,
action_guidance: 观望——当前状态下置信度低于75%阈值。等待状态确认或RSI回调至58以下以获得更好入场点。,
invalidation: 若价格在4小时K线收盘低于VWAP($0.498),信号失效。
}
],
defi_scan: {
beststablecoinyield: {pool: USDC-Aave-V3, apy: 8.4, tvl_usd: 2.1B, risk: LOW},
whaleflowdefi: TVL增长中——稳定币池净流入。避险模式。
},
portfolio_summary: {
highest_confidence: BTC (81%),
avoid: [HBAR — 检测到巨鲸派发,低确信信号],
regime_note: 在高波动震荡行情中,仓位规模应为正常水平的50%。
}
}
市场状态检测
状态引擎在任何信号生成之前运行。阈值和胜率根据检测到的状态进行调整。
| 状态 | BTC条件 | 波动水平 | RSI超买 | RSI超卖 | 动量阈值 |
|---|
| 强趋势(牛市) | 接近历史高点,主导地位下降 | 低 | 80 | 40 | 8% |
| 强趋势(熊市) |
距历史高点-30%以上,主导地位上升 | 中 | 60 | 25 | -6% |
| 震荡 | 横盘2周以上 | 中-高 | 70 | 30 | 5% |
| 高波动震荡 | 极度恐惧/贪婪 | 高 | 68 | 28 | 4% |
| 山寨币季节 | BTC主导地位快速下降 | 中 | 75 | 35 | 10% |
为什么这很重要: 在高波动震荡市场中使用静态阈值生成的信号准确率约为54%。使用状态调整阈值后的相同信号准确率提升至约67%。这种差异在多笔交易中会快速累积。
置信区间方法论
置信度由四个加权输入计算得出:
| 输入 | 权重 | 描述 |
|---|
| 技术信号强度 | 35% | RSI位置、动量幅度、VWAP偏离 |
| 历史胜率(90天) |
30% | 类似条件下的回测准确率 |
| 巨鲸/链上确认 | 20% | 链上流动是否确认或矛盾 |
| 状态一致性 | 15% | 当前状态在历史上是否有利于该信号类型 |
阈值指引:
- - ≥80%置信度:高确信,正常仓位规模
- 65–79%:中等确信,降低仓位规模
- 50–64%:低确信,模拟交易或跳过
- <50%:不交易
回测逻辑
对于每种信号类型,技能会回溯90天并查找类似条件:
- - 相同资产
- 相同状态类型
- RSI在当前读数±5范围内
- 动量在当前读数±3%范围内
然后计算:
- - 胜率: 类似设置中先达到+5%而非-5%的百分比
- 获胜平均收益: 获胜交易的平均上涨幅度
- 亏损平均损失: 亏损交易的平均回撤幅度
- 期望值:(胜率×平均收益)+(亏损率×平均亏损)
样本量警告: 如果找到的可比历史实例少于10个,回测将被标记为低置信度并相应调整权重。
巨鲸/链上相关性
对于主要资产(BTC、ETH、XRP),技能会交叉参考:
- - 交易所流入/流出(公开Etherscan、XRP Ledger)— 高流入=卖出压力
- 大额钱包增持 — 持有超过1,000 BTC等值的钱包,7天净变化
- 稳定币供应变化 — 稳定币供应增加=购买弹药
这些信号是方向性的确认或矛盾:
- - 巨鲸增持 + 看涨技术面 = 高置信度
- 巨鲸派发 + 看涨技术面 = 降低置信度,标记谨慎
- 巨鲸信号不可用 = 在输出中注明,置信度下调10%
动态阈值示例
静态RSI:超买=70,始终不变。
强牛市趋势中的动态RSI:超买=80。为什么?在牛市中,RSI持续运行至75-80后才反转——在70卖出会留下大量潜在收益。
高波动震荡中的动态RSI:超买=68。为什么?在波动市场中,均值回归更早触发——更紧的阈值捕捉更可靠的反转。
技能检测状态,应用正确的阈值,并告知你使用了哪个阈值及其原因。
信号模式
| 模式 | 描述 | v2新增 |
|---|
| momentum | 价格动量,含置信度和回测 | ✓ |
| rsi |
RSI信号,含动态阈值 | ✓ |
| vwap | VWAP偏离信号 | — |
| defi | DeFi收益 + 巨鲸TVL流动 | ✓ 巨鲸 |
| portfolio | 多资产仪表盘,含状态叠加 | ✓ |
| whale |