31.07.2021 Views

Ultimate Algorithmic Trading System

Using automated systems for trading in stock markets

Using automated systems for trading in stock markets

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4. Divide the 14-day smoothed plus directional movement (+DM) by the 14-day

smoothed true range to find the 14-day plus directional indicator (+DI14).

Multiply by 100 to move the decimal point two places. This +DI14 is the plus

directional indicator that is plotted along with ADX.

5. Divide the 14-day smoothed minus directional movement (−DM) by the 14-day

smoothed true range to find the 14-day minus directional indicator (−DI14.

Multiply by 100 to move the decimal point two places. This −DI14 is the minus

directional indicator that is plotted along with ADX.

6. The Directional Movement Index (DX) equals the absolute value of +DI14 less

−DI14 divided by the sum of +DI14 and −DI14.

7. After all these steps, it is time to calculate the Average Directional Index (ADX).

The ADX value is initially simply a 14-day average of DX.

8. Wilder went one step further and created the ADXR, which is simply the average

of an N-day differential of the ADX. Continuing with our 14-day example, the

ADXR would be calculated by applying the following formula:

ADXR = ADX[1]+ADX[14]

14

Figure 2.2 illustrates how the ADX can be used to help determine the trendiness

of a market. A rising ADX, as shown in the early part of the price chart, demonstrates

29

STOCHASTICS AND AVERAGES AND RSI! OH, MY!

FIGURE 2.2 ADX as a trend detector.

Source: TradeStation

www.rasabourse.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!