OPEN-SOURCE SCRIPT

Heiken Ashi Swing Range Filter

It uses heiken-ashi candles to find swing highs and lows, then check if candles are inside the range of them. This way you can filter out ranging market.
It may be better to use it in higher timeframe than current.

Aviso legal