TradersEdgeSystems.com

Consulting | Custom Trading Systems
Built-In Indicators | Custom Indicators

November 2015 Stocks and Commodities Traders Tips


Average Percentage True Range

AIQ Version:

Original article by Vitali Apirine
AIQ Code by Richard Denning

The code provided is used as an indicator, PATR, which is shown in Figure 1 on a chart of Apple, Inc (AAPL) compared to the same indicator on the S&P 500 index (SPX).

Captions:
Figure 1 – PATR on a chart of AAPL compared to the SPX index.

EDS Code:
Pct ATR.EDS
(right click and choose Save As)


 

Traders Studio Version :

Original article by Vitali Apirine
Traders Studio Code by Richard Denning

The following code files are contained in the download are linked below:

  • Function APTR – computes the average percentage true range values
  • Indicator plot APTR_IND – for plotting the APTR indicator on a chart for the mom data series
  • Indicator plot APTRdata1_IND – for plotting the APTR indicator on a chart for the first child data series

Figure 1 shows the APTR indicator on a chart of the Apple Inc. compared to the same indicator on the S&P 500 Index.

Captions:
Figure 1 – APTR indicator on a chart of the Apple Inc. compared to the same indicator on the S&P 500 Index

Traders Studio Code:
APTR_TSZ.zip
(right click and choose Save As)

 

 

 

 

 

 

 

 

 

 

 

 

 

Disclaimer | Privacy Policy | Contact Us | Spam Blocker | ©2013 Traders Edge Systems