JohnMuchow

Volume Positive Negative (VPN)

JohnMuchow 已更新   
The idea and calculations for the Volume Positive Negative (VPN) indicator were created by Markos Katsanos. Markos wrote about the indicator in the article Detecting High-Volume Breakouts, published in Technical Analysis of Stocks & Commodities April, 2021 (Vol. 39, Issue 5).

The goal of the VPN indicator is to detect breakouts using only volume. The basic idea is to compare volume on up days versus volume on down days. The indicator can oscillate between the range of -100 and 100. Values between 0 and 20 are generally considered bullish, negative are bearish.

When the plotted VPN crosses over what Markos refers to as the critical value, that may indicate a high volume breakout. The critical value can be adjusted between 0 to 20, 10 is the default,

Volume Positive Negative Calculation (VPN)

VPN = (VP - VN) / MAV / Period * 100

VP - sum of positive volume
VN - sum of negative volume
MAV - moving average of volume

Volume is considered positive when the average price is higher than the previous day's price by more than .1 of the ATR (average true range).

版本注释:
version 2.0

From Markos Katsanos - "Each trading day the volume is classified as positive if the average stock price is higher than yesterday’s average price by more than 1/10 ATR (average true range) and the opposite for negative volume. If the average price difference is between +/- 0.10 ATR the volume is ignored."

■ Allow configuration of the fractional amount of ATR.
版本注释:
Publish a new chart to show Volume Positive Negative (VPN) examples.
版本注释:
version 3.0

■ Additional configuration options for the VPN moving average, including length and type (SMA or EMA).

LevelUp ▪ Trend Follower Tools: LevelUpTools.net

$30 worth of TradingView Coins: www.tradingview.com/gopro/?share_your_love=johnmuchow

Paypal Donation: is.gd/PayPal_Donation (thank you!)
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?