TradingView
JohnMuchow
2021年4月8日午後7時59分

Volume Positive Negative (VPN) 

Tesla, Inc.NASDAQ

詳細

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).
コメント
Thinkologist
such a great indicator. what period would you suggest on smaller timeframes such as M5 or M15 ?
JohnMuchow
I generally experiment with various values based on the type of stocks that I am trading and the overall market condition.
filthyrich1000
Hi John. This is a great indicator, thanks. Is it possible to set an alert for a red to green event? Thanks
JohnMuchow
The code is open source, you are welcome to add alerts for your own use.
KenniFX
It's all blank when I added to my chart, pleases help.
JohnMuchow
Can you share the symbol and timeframe?
KenniFX
@JohnMuchow, yes it's all timeframe on the EURUSD all of forex pairs doesn't show the indicator. but it shows on the stocks and crypto.
JohnMuchow
Can you send a couple of example of forex pairs that you are looking at? Thanks.
KenniFX
@JohnMuchow, It says VPN n/a n/a not sure why it only does that on forex.
aktifgirisimci
i cannot see style part of indicator
i want to change line colors etc
詳細