有货哟 发表于 2013-7-22 11:08:37

价量趋势指标 (PVT)源代码


Name:
Price and Volume Trend - PVT [ ru ]

Author:MetaQuotes (2008.06.16 10:18)
Downloaded:4797
Download:
http://www.mql4.com/i/ico/mq4.gif PVT.mq4 (3.3 Kb) View

Indicator Price and Volume Trend (PVT), like On Balance Volume (OBV), represents the cumulative sum of trade volumes calculated considering close price changes.

The calculation algorithm is close to that of the indicator OBV. But in OBV we add the whole daily volume to the current indicator value when close prices are higher, and detract the whole volume when close prices are lower, while in PVT we add or detract just a part of daily volume. The exact part of the volume to be added to PVT is determined by the value of price change relatively to the close price of the previous day.
In OBV, the cumulative total volumes for each period are summed. However, in PVT, the volume is multiplied by the coefficient that depends on the difference between the current close price and the previous one. The picture below shows that the behaviors of both indicators are quite correlated:




家园论坛 发表于 2014-3-31 10:19:35

kokoye 发表于 2014-9-7 16:37:03

价量趋势指标 (PVT)源代码

kokoye 发表于 2014-9-8 08:38:42

lovezyq 发表于 2014-11-6 00:50:56

看看吧,谢谢分享

linjunhua 发表于 2014-11-7 21:00:49

看看是什么东西啊

郁闷小甜甜 发表于 2014-11-7 22:45:52

看看,看看。谢谢。你要发,我也要发。

tsqqfohm 发表于 2015-1-10 22:32:28

支持楼主

hapy389 发表于 2017-7-2 19:31:35

Change_Wxx50 发表于 2017-8-30 18:57:51

楼主幸苦33333333
页: [1] 2
查看完整版本: 价量趋势指标 (PVT)源代码