dogabot dogabot

Estrategia

Filtro de razón de varianza

Filtro de razón de varianza: deja pasar o bloquea por la VR de Lo–MacKinlay. Prueba en modo simulado.

strategyfiltersvariance-ratiostatistics

The Variance Ratio Gate filter is a pass/block gate on the Lo–MacKinlay variance ratio of simple returns with q=2: variance of two-bar returns divided by twice the variance of one-bar returns, over a rolling window. When VR meets your compare condition against a threshold, the filter passes; otherwise it blocks. It never fires a buy or sell by itself.

VR near 1 is consistent with a random walk. Above 1 favors persistence/momentum; below 1 favors mean-reversion. Default VR > 1.0 pairs with trend stacks; flip to VR < for mean-reversion stacks.

When to use it

What you’ll set in the app

Add Variance ratio gate under filters.

Warm-up history or near-zero return variance blocks the gate. Disabled passes.

Tips

Example

Entry filters: Variance ratio gate, window 64, VR > 1.0. A momentum long only passes when recent returns look persistent rather than mean-reverting.

Relacionado en la app

¿Listo para ponerlo en práctica?

Crea una cuenta gratis y explora dogabot con paper trading.

Probar backtest