AccumDistr is the classical Accumulation/Distribution indicator.
Use :
1 |
AccumDistr(price) |
The accumulation/distribution of price is calculate that way :
1 |
myAD = sum[volume*((Close-Low) - (High-Close)) / (High-Low)] |
The indicator balances volumes using the closing price reported at the extreme points of the trading day.
It must confirm the stock trend in progress by moving in the same direction as the stock trend. A divergence between prices and Accumulation/Distribution is often a signal that the current trend may reverse. These volume indicator can be very useful in showing phases of accumulation or distribution.
Example :
1 2 3 4 5 |
//Accumulation Distribution of the last 30 Bar Open values ind1 = AccumDistr(Open)[30] RETURN ind1 |