- Katılım
- 23 Eki 2020
- Mesajlar
- 1,826
The interpretation of the Accumulation/Distribution Line is similar tothe interpretation of On Balance Volume wherein the indicator displays the flow ofvolume into or out of a security. The discussion on the Chaikin Oscillator (see Chaikin A/D Oscillator) explains the principles behind the Accumulation/Distribution Line. An example custom indicator shows how to calculate the Accumulation/Distribution line.Please don't confuse the volume Accumulation/Distribution indicator with Williams' price Accumulation/Distribution indicator. The Chaikin Oscillator can reference the predefined Accumulation/Distribution indicator using the ad() function as shown below. |
|
Accumulation/Distribution ShortMA:= input("Enter shorter moving average periods",3,10,3); LongMA:= input("Enter longer moving average periods",10,30,10); mov( ad(), ShortMA, E) - mov( ad(), LongMA,E); |
Or, it can include the actual Accumulation/Distribution formula as shown below. |
|
Actual Accumulation/Distribution mov(cum((((C-L)-(H-C))/(H-L))*V),3,E)-mov(cum((((C-L)-(H-C))/(H-L))*V),10,E) |
Source / From:
??