HPotter

Positive Volume Index (PVI)

3743浏览
1038
3743 2
The theory behind the indexes is as follows: On days of increasing volume ,
you can expect prices to increase, and on days of decreasing volume , you can
expect prices to decrease. This goes with the idea of the market being in-gear
and out-of-gear. Both PVI and NVI work in similar fashions: Both are a running
cumulative of values, which means you either keep adding or subtracting price
rate of change each day to the previous day`s sum. In the case of PVI, if today`s
volume is less than yesterday`s, don`t add anything; if today`s volume is greater,
then add today`s price rate of change . For NVI , add today`s price rate of change
only if today`s volume is less than yesterday`s.
从常用的脚本中删除 添加到常用的脚本
////////////////////////////////////////////////////////////
//  Copyright by HPotter v1.0 11/06/2014
// The theory behind the indexes is as follows: On days of increasing volume, 
// you can expect prices to increase, and on days of decreasing volume, you can 
// expect prices to decrease. This goes with the idea of the market being in-gear 
// and out-of-gear. Both PVI and NVI work in similar fashions: Both are a running 
// cumulative of values, which means you either keep adding or subtracting price 
// rate of change each day to the previous day`s sum. In the case of PVI, if today`s 
// volume is less than yesterday`s, don`t add anything; if today`s volume is greater, 
// then add today`s price rate of change. For NVI, add today`s price rate of change 
// only if today`s volume is less than yesterday`s.
////////////////////////////////////////////////////////////
study(title="Positive Volume Index", shorttitle="Positive Volume Index")
EMA_Len = input(255, minval=1)
xROC = roc(close, 1)
nRes = iff(volume > volume[1], nz(nRes[1], 0) + xROC, nz(nRes[1], 0))
nResEMA = ema(nRes, EMA_Len)
plot(nRes, color=red, title="PVI")
plot(nResEMA, color=blue, title="EMA")
DONATE/TIP

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
Hi, I do not know if this the right place to post such a query, but I am really not able to understand how to read this indicator. What do positive and negative values mean in this case? What is the range of this indicator? What does it mean to have a negative NVI value? and similarly a positive NVI value? Some of the other sites record values like 1.1 or 0.98 on the y scale of PVI and NVI, what is the meaning of those values and how do your values differ from those?
回复
HPotter comp1810
@comp1810, This can be a trend indicator. If values going up then market "go up"
回复
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 网站规则 版主 网站 & 经纪商解决方案 插件 图表解决方案 帮助中心 功能请求 博客 & 新闻 常见问题 维基百科 Twitter
概述 个人资料设置 账号和账单 TradingView代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 聊天 退出