Contents 

Technical Analysis functions library for .NET
Trend Indicators
Advance/Decline Line
Aroon Down
Aroon Oscillator
Aroon Up
Bill Williams Profitunity
DEMA
Exponential Moving Average
Exponential Moving Average Difference
Exponential Moving Average Factor
Exponential Moving Average Factor Difference
Line Weighted Moving Average
Line Weighted Moving Average Difference
MACD
Moving Average
Moving Average Difference
Nicoski
Positive Negative Changes Difference
Qstick Indicator
TEMA
Volatility Indicators
Average True Range
Bollinger Band
Bollinger Band Percent
Breadth Advance/Decline
Bollinger Band Width
True Range
Volatility
Volatility Chaikin
Momentum Indicators
Acceleration
Accumulation/Distribution
Balance Of Power
CCI
Fosback Unchanged Issues
Hughes Breadth Index
McClellan Oscillator
McClellan Summation Index
Momentum
Morris Daily Pressure
OBV Oscillator
OBV with Average Volume
On Balance Volume
Performance
Price Oscillator Percent Difference
Price Oscillator Points Difference
RSI
Stochastic Oscillator
Weighted Close
Wilder RSI
Williams R
Market Strength Indicators
Average Of Volume ROC
Chaikin A/D Oscillator
Chaikin Money Flow
Ease Of Movement
Market Facilitation Index
Volume Oscillator Percent Difference
Volume Oscillator Points Difference
Support and Resistance Indicators
Envelope
Additional Functions
Basic Functions
Average Changes
Average Negative Changes
Average Positive Changes
Change
Cumulative Sum
High Value
Low Value
Mean
Median Price
Negative Changes
Negative Changes Sum
Percent Change
Positive Changes
Positive Changes Sum
Sum Lag
Typical Price
Statistical Functions
Correlation Coefficient
Covariance
Standard Deviation
Variance
All Functions
Order TA4.NET
System requirements
Contacts

TA4.Net Web Online Help

Prev Page Next Page

Aroon Oscillator

Aroon Oscillator = Aroon Up - Aroon Down

The Aroon indicator was developed by Tushar Chande. Aroon is Sanskrit word “dawn’s early light” or the change from night to day. The Aroon indicator allows you to anticipate changes in security prices from trending to trading range. For more information on the Aroon indicator see the article written by Tushar Chande in the September 1995 issue of Technical Analysis of Stocks and Commodities magazine.
These changes are anticipated by measuring the number of periods that have passed since the most recent x-period high and x-period low. Therefore, the Aroon indicator consists of two plots; one measuring the number of periods since the most recent x-period high (Aroon Up) and the other measuring the number of periods since the most recent x-period low (Aroon Down).

The actual plotted value is a “stochastic” like scale (see Stochastic Oscillator) ranging from 0 to 100. Assuming a default time-period of 14 days, if a security makes a new 14-day high, the Aroon Up = 100; when the security makes a new 14-day low, the Aroon Down = 100. When the security has not made a new high for 14 days, the Aroon Up = 0; when the security has not made a new low for 14 days, the Aroon Down = 0.
The age-old problem for many trading systems is their inability to determine if a trending or trading range market is at hand. Trend-following indicators such as MACD and moving averages, tend to be whipsawed as markets enter a non-trending congestion phase. On the other hand, overbought/oversold oscillators (which work well during trading range markets) tend to overreact to price pullbacks during trending markets — thereby closing a position prematurely. The Aroon indicator attempts to remedy this by helping you determine when trend-following or overbought/oversold indicators are likely to succeed.

There are basically three conditions that you look for when interpreting the Aroon indicator: extremes at 0 and 100, parallel movement between Aroon Up and Aroon Down, and crossovers between Aroon Up and Aroon Down.

Extremes. When the Aroon Up line reaches 100, strength is indicated. If the Aroon Up remains persistently between 70 and 100, a new uptrend is indicated. Likewise if the Aroon Down line reaches 0, potential weakness is indicated. If the Aroon Down remains persistently between 0 and 30, a new downtrend is indicated.

A strong uptrend is indicated when the Aroon Up line persistently remains between 70 and 100 while the Aroon Down line persistently remains between 0 and 30. Likewise a strong downtrend is indicated when the Aroon Down line persistently remains between 70 and 100 while the Aroon Up line persistently remains between 0 and 30.

Parallel Movement. When the Aroon Up and Aroon Down Lines move parallel with each other (are roughly at the same level), then consolidation is indicated. Expect further consolidation until a directional move is indicated by an extreme level or a crossover.

Crossovers. When the Aroon Down line crosses above the Aroon Up line, potential weakness is indicated. Expect prices to begin trending lower. When the Aroon Up line crosses above the Aroon Down line, potential strength is indicated. Expect prices to begin trending higher.

Syntax:

Public Function AroonOscillator(ByVal HLOCV()() As Double, ByVal Lag As Long) As Double

Parameters:

  • ByVal HLOCV()() As Double
  • ByVal Lag As Long

Back to list

 

Example:

 

    Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")

    Dim Result() As Double

    Dim HLOCV(,) As Double

 

    ' loading values to array

    HLOCV = GetHLOCVValues()

    ' calculating Technical Analysis function

    Result = TA4Net.AroonOscillator(HLOCV, 14)