> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/strategies/trading-view/range-filter-strategy.md).

# Range Filter Strategy

Range Filter is an experimental study designed to filter out minor price action for a clearer view of trends. It is a better trend following strategy with lesser whipsaws

**How Range Filter is Calculated?**

1\)A smooth average price range is calculated for the basis of the filter and multiplied by a specified amount.\
2\)The filter is calculated by gating price movements that do not exceed the specified range.\
3\)The target ranges are plotted to display the prices that will trigger filter movement.

<mark style="color:blue;">Download PineScript here</mark>

{% file src="/files/j8FchXbGWeocMhfDTlkx" %}
