Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

In this article, I will illustrate the creation of an indicator in Easylanguage to measure the volatility to be used as a filter for various systems.

The Welles Wilder Average True Range is the most commonly used indicator for measuring the volatility of an instrument.

In practice, it is a moving average (Average) of the Range of the last “N” periods (by default 14 days).

The range is calculated as the difference between:

The maximum and the minimum of today

Today’s high and yesterday’s closing

Today’s minimum and yesterday’s closing

What you get is a line that goes up when the range of the instrument increases, if we use it in discretionary is a straightforward indicator, but in an automatic system how do we determine if the volatility is high or low?


I thought of various solutions, for example, you could use a double ATR or a moving average, but in this article, I want to illustrate the idea of ​​Bollinger Bands applied to the ATR.

I used only one standard deviation, leaving the average at 20, you could also add two more bands with the classic two standard deviations to indicate a real excess of volatility. Similarly, depending on the instrument, you could also add two bands of 1.5 standard deviations.

The indicator turns red when volatility rises, green when volatility is normal and yellow when volatility is low.


Creating a function with the three levels of volatility will be extremely simple to provide an automatic system with precise indications on the volatility.

In the next articles, we will use this indicator to filter some inputs to see how much the performance of a strategy can increase.


Subscribe To Our Newsletter

Get updates and learn from the best

Recent Posts

Eurusd Chart Technical Analysis || 2020

In this page, we study Eurusd using a lot of technical analysis indicators and strategies. Eurusd Analysis using RSI Indicator Today we analyze the Eurusd


My name is Luca. I grew up in Italy. I have a degree in law and I’m an independent trader since 2007. 

I’m a systematic trader and sometimes, I trade using options strategies with US ETFs and Stocks.

I have built hundreds of automated trading systems and indicators for TradeStation, MultiCharts and MetaTrader.

I started this blog in 2017 to share what I learned in the financial market.

Follow us on :-

WhatsApp us whatsapp