Indicators

Average True Range (ATR)

What is it?

The Average True Range (ATR) measures how much an asset’s price moves over a period, giving you a sense of its volatility. Think of it as a gauge of how wild or calm the price swings are.

How is it used?

  • Volatility assessment: Higher ATR means more volatility, which can signal breakout opportunities or warn of risky conditions.
  • Stop-loss placement: Traders often set stop-losses at 1-2x the ATR below/above entry points to account for normal price swings.
  • Position sizing: In algo trading, ATR can adjust position sizes based on volatility—smaller positions for high ATR, larger for low ATR.

How is it calculated?

ATR is based on the “true range,” which is the greatest of:

  • The current high minus the current low.
  • The absolute value of the current high minus the previous close.
  • The absolute value of the current low minus the previous close.

The ATR is then the average of the true ranges over a specified period (commonly 14 days):

TR = Max[(High - Low), |High - Previous Close|, |Low - Previous Close|]  

ATR = (Previous ATR × (n-1) + Current TR) / n  

Where n is the period (e.g., 14).

The above content is designed for informational purposes only, and is explicitly not investment advice. Algo Pilot is a US based technology company and not a bank, broker-dealer, or RIA. As such, Algo Pilot LLC does not provide investment advice and is not a member, SIPC. Brokerage services offered by 3rd parties are not directly affiliated with Algo Pilot LLC, and Algo Pilot users may choose the broker relationship that they desire.

Algo Pilot Icon LogoX LogoLinkedIn Logo

Algo PilotTM is a US based technology company and not a bank, broker-dealer, or RIA. As such, Algo Pilot LLC does not provide investment advice and is not a member, SIPC. Brokerage services offered by 3rd parties are not directly affiliated with Algo Pilot LLC, and Algo PilotTM users may choose the broker relationship that they desire. Algo Pilot's Algo Builder is Patent Pending with the USPTO.

Past performance, whether actual or indicated by historical tests of strategies, is not a guarantee of future performance or success. Investing in stocks, futures, options, currencies, cryptocurrencies, and other financial vehicles involves risk. Investing in securities involves potential loss of principal. Trading in options or security futures involves a high degree of risk and investors may lose more than their initial investment; options trading is not suitable for all investors. Before trading, please read all applicable risk disclosures such as Characteristics and Risks of Standardized Options disclosure from your broker.

Algo Pilot software is proudly made in America  
Close Cookie Popup
We value your privacy
By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and for marketing as outlined in our privacy policy.
Strictly Necessary (Always Active)
Cookies required to enable basic website functionality.
Cookies helping us understand how this website performs, how visitors interact with the site, and whether there may be technical issues.
Cookies used to deliver advertising that is more relevant to you and your interests.
Cookies allowing the website to remember choices you make (such as your user name, language, or the region you are in).