dogabot dogabot

Стратегия

Фильтр отношения дисперсий

Фильтр отношения дисперсий: пропускает или блокирует по VR Lo–MacKinlay. Проверьте в режиме симуляции.

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.

Связанное в приложении

Готовы применить на практике?

Создайте бесплатный аккаунт и изучайте dogabot с бумажной торговлей.

Попробовать бэктест