PROTECTED SOURCE SCRIPT

Volume Trailing Integral

About
This indicator is an attempt to quantify the volume of buying vs. selling in the last N bars. The hypothesis is that on upticks, there was more bull volume than bull volume, and vice versa. "Trailing Integral" refers to the fact that this indicator shows the sum of bear and bull volume in the last N bars, which is akin to an integral of money flow.

Method
To compute the bear vs. bull volume on a given day, the Z score of a price change is mapped to the volume. For example, for upticks, a highly negative Z score results in a ~50/50 bull/bear volume, while a highly positive Z score results in a ~(Max weighting)/(1-Max weighting) bull/bear volume (if max weighting is 0.8, then a large uptick results in 0.8V bull and 0.2V bear volume). Volume is then summed over the last N bars, where N is the length. EMAs are applied at various points to smooth things. Stdevs are calculated for upticks and downticks independently.

Usage
I like to use this like an enhanced OBV, with a smarter bias towards bull/bear ticks. Look first at the total volume and then look for follow through by bear/bull volume. For example, a rally on low volume, with bias towards bear volume is sellable; a bottom with more bull volume on consolidation is buyable, etc.
Volume

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항