Skip to content

v7.14 — Signal and statistics consistency / 信号与统计一致性

Latest

Choose a tag to compare

@aaajiao aaajiao released this 12 Sep 11:46

English

v7.14 aligns signal filtering, alert context and statistics, and makes unavailable data and confirmation timing explicit.

  • Share setup gates across chart signals, dashboard states and confirmed alerts. Missing required or enabled optional data blocks signals; unavailable trend data blocks trend-filtered BUY DIP. Rejected BUY DIP setups no longer consume display cooldown.
  • With Confirmed Signals Only ON, intraday Score, Z, volume, contango and signal gates use the previous completed structure day. On 1D and higher charts, signals wait for chart close. Existing defaults are preserved. Safe Mode prevents historical future leaks but does not freeze developing daily values.
  • Use matching daily context in volume displays and alert messages. Score tooltips show factor contributions and the structure date.
  • Allow confirmed alerts on the first regular-session bar; explicitly enforce a shared Once Per Bar dispatch quota. Preserve the documented discarded-event policy.
  • Count only closed, valid positive-price return endpoints using one reference instrument. Statistics use signal-date windows on eligible New York stock/fund/index 1D charts; empty tiers show N/A. Remove the per-bar manual-reference fallback to SPX.
  • Match explicit ETF/index families and futures roots, avoiding false Nasdaq routing for CNQ. Add bounded history inputs, warmup guards and regression coverage.

中文

v7.14 统一信号过滤、提醒上下文与统计,并明确数据不足和确认时序。

  • 图表信号、面板状态与确认提醒共用过滤规则。必需数据或已启用可选因子缺失时暂停信号;趋势缺失时阻止需要趋势过滤的 BUY DIP。未通过过滤的 BUY DIP 不再消耗显示冷却。
  • 开启 Confirmed Signals Only 后,盘中 Score、Z、成交量、升水和信号门控使用上一完整结构日;日线及以上信号等待图表收盘。保留原有默认值。Safe Mode 避免历史未来数据,但不会冻结发展中的日线值。
  • 成交量显示与提醒消息使用匹配的日线上下文;分数 tooltip 展示因子贡献和结构日期。
  • 确认提醒可在首根常规时段发送;Once Per Bar 显式使用共用发送配额。保留已说明的事件丢弃规则。
  • 统计仅纳入已收盘、有效正价格且参考标的一致的收益样本。符合条件的纽约时区股票、基金、指数 1D 图表按信号日期计算窗口;零样本显示 N/A。移除手动参考逐根回退到 SPX 的行为。
  • 明确匹配 ETF/指数家族与期货根代码,避免将 CNQ 误归入纳斯达克;补充历史长度边界、预热保护和回归检查。

Validation / 验证

  • 50 Python standard-library regression checks passed; git diff --check passed.
  • 50 项 Python 标准库回归检查通过;git diff --check 通过。
  • These checks do not compile Pine or verify TradingView's expanded request budget and live-session behavior. The TradingView validation matrix is included in both READMEs.
  • 上述检查不编译 Pine,也不验证 TradingView 的嵌套请求预算和实时交易时段行为;双语 README 提供 TradingView 验证清单。

Upgrade notes / 升级说明

Replace the full script with the attached vix.pine and recreate TradingView alerts after updating. Keep Trading Safe Mode ON when enabling weekly MTF. Custom source calendars and developing higher-timeframe values retain the documented limitations.

使用附件 vix.pine 整份替换旧脚本,更新后重新创建 TradingView 提醒。开启周线 MTF 时请保持 Trading Safe Mode 开启。自定义数据日历及发展中的高周期数据仍受文档所列限制。