PINE LIBRARY
업데이트됨 [VWMA] Net Volume Library

Library "[VWMA] Net Volume Library"
TODO: The underlying logic and function that calculates the net volume for the [VWMA] Net Volume indicator. Exposes the nv function and nvPoint fields for use.
nv(src, length, useVwma, offset, sigma, multHigh, multMed, multLow)
Parameters:
src: (float) The source price value
length: (int) The lookback length
useVwma: (bool) To use VWMA in the calculation or not
offset: (float) The ALMA offset value
sigma: (int) The ALMA sigma value
multHigh: (float) The multiplier high band
multMed: (float) The multiplier medium band
multLow: (float) The multiplier low band
Returns: Returns the calculated net volume for each band in an nvPoint object
nvPoint
Fields:
h2
h1
h
n
l
l1
l2
TODO: The underlying logic and function that calculates the net volume for the [VWMA] Net Volume indicator. Exposes the nv function and nvPoint fields for use.
nv(src, length, useVwma, offset, sigma, multHigh, multMed, multLow)
Parameters:
src: (float) The source price value
length: (int) The lookback length
useVwma: (bool) To use VWMA in the calculation or not
offset: (float) The ALMA offset value
sigma: (int) The ALMA sigma value
multHigh: (float) The multiplier high band
multMed: (float) The multiplier medium band
multLow: (float) The multiplier low band
Returns: Returns the calculated net volume for each band in an nvPoint object
nvPoint
Fields:
h2
h1
h
n
l
l1
l2
릴리즈 노트
Publish #2- Exposed getBandColor to allow same band coloring as Indicator
- Added nvPoint type documentation
Added:
getBandColor(value, transp, negative, positive)
Gets the band color based on a positive or negative alma value
Parameters:
value: (float) The value to pass in to check against
transp: (int) The transparency value. Ex: 0 = solid, 100 = fully opaque
negative: (color) The color to show when result is below but not equal to 0
positive: (color) The color to show when result is above but not equal to 0
Returns: (color) The color that matches the result of being above or below 0
Updated:
nvPoint
Contains 7 bands of net volume data points
Fields:
h2
h1
h
n
l
l1
l2
릴리즈 노트
v3Updated exported method positions in code
릴리즈 노트
Updated formatting for library method parameters릴리즈 노트
Revision: 5Small formatting fix
릴리즈 노트
Revision: 6Formatting got out of whack again. Fixed.
릴리즈 노트
v7Added:
method getNv(src, length, useVwma)
Namespace types: series float, simple float, input float, const float
Parameters:
src (float)
length (int)
useVwma (bool)
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
파인 라이브러리
진정한 트레이딩뷰 정신에 따라 작성자는 이 파인 코드를 오픈 소스 라이브러리로 공개하여 커뮤니티의 다른 파인 프로그래머들이 재사용할 수 있도록 했습니다. 작성자에게 건배! 이 라이브러리는 개인적으로 또는 다른 오픈 소스 출판물에서 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰의 적용을 받습니다.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.