dogabot dogabot

Strategy

Return Z-Score Rule

How dogabot’s Return Z-Score rule fires buy or sell when an N-bar return is extreme versus its trailing window—usable as a signal or filter.

strategystatisticsreturnsfilters

The Return Z-Score rule scores the latest N-bar simple return against the trailing mean and standard deviation of those returns. When the z-score is at or below −threshold, it fires buy; at or above +threshold, it fires sell.

Use it to react to crash or spike bars without tying the signal to the absolute price level. Prefer Price Z-Score when you care about how stretched the close is versus recent closes.

When to use it

What you’ll set in the app

Add Return Z-Score under signal sections or under filters.

Needs enough closes for lookback + return bars before it can fire.

Tips

Example

Entry rules: Return Z-Score lookback 20, return bars 1, threshold 2. Buy after an unusually large down bar; sell after an unusually large up bar.

Related in the app

Ready to put this into practice?

Create a free account and explore dogabot with paper trading.

Try Backtest