dogabot dogabot

Strategy

Price Z-Score 规则

dogabot 的 Price Z-Score 规则:相对 lookback 收盘价异常偏低时 buy、偏高时 sell — 可作信号或过滤器。

strategystatisticsmean-reversionfilters

Price Z-Score 规则衡量最新 close 相对 trailing 均值偏离多少,以 lookback 内标准差为单位。z-score ≤ −threshold 触发 buy;≥ +threshold 触发 sell。

用于价格层面的经典 mean-reversion(fade 极端)。与 Bollinger Bands(固定 σ 带)和 Return Z-Score(对 bar 收益打分,非价格水平)不同。

适用场景

在应用中的设置

在 entry、exit、increase、decrease、reversal 或对应 filters 中添加 Price Z-Score。

历史不足或 σ 为 0 时不触发。

提示

示例

Entry rules: Price Z-Score lookback 20、threshold 2,配合 RSI 超卖。价格异常低且 RSI 一致时 buy。

延伸阅读

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest