logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
gruvtune  
#1 Posted : Tuesday, June 19, 2007 10:26:01 PM(UTC)
gruvtune

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/6/2006(UTC)
Posts: 11

The July 2007 TASC has an article called "Between Price and Volume", by Buff Dormeier CMT,
on page 21. The MS code for the VPCI(Volume Price Confirmation Indicator) was on page 75.

I plotted it on some of the charts used in the article. The resulting plot(s) didn't look the same
as the chart on pg 74(AA, daily). (I had to use a magnifying glass to see that!!) The chart in
fig. 4, on pg 26, for TM (weekly) also looked different than was I was seeing with the MS code
from pg 75.
___________________________________________________________________________
{Volume Price Confirmation Indicator - Buff Dormeier - July 2007 TASC..pg 75}

x:= Input("long term periods", 30,200,50);
y:= Input("short term periods", 5,30,10);

(Mov(C,x,VOL) - Mov(C,x,S))* (Mov(C,y,VOL)/Mov(C,y,S))* (Mov(V,y,S)/Mov(V,x,S))
___________________________________________________________________________

So, I decided to see if I could get something closer, as least to my eye.

Here is what I came up with, which I think is very close to the chart on pg 74 and fig 4, on pg 26.
______________________________________________________________________________
{Volume Price Confirmation Indicator - Buff Dormeier - July 2007 TASC, adapted by gruvtune
from TASC TS code, pg 74 }

p1:= Input("Short Term Periods", 3,30,5);
p2:= Input("Long Term Periods", 10,200,20);
SmthLgth:= Input("SmthLgth",5,200,20);

VolSum1:= Sum(V, p1);
VWMA1:= Sum(C * V, p1)/VolSum1;
VolSum2:= Sum(V, p2);
VWMA2:= Sum(C * V, p2)/VolSum2;

VP:= VWMA2 - Mov(C,p2,S);

VPR:= VWMA1/Mov(L,p1,S);

VM:= Mov(V,p1,S)/ Mov(V,p2,S);

VPCI:= VP * VPR * VM;

AvgVPCI:= Mov(VPCI,SmthLgth,S);

VPCI;
AvgVPCI;
_____________________________________________________________________________

I make no claims for the usefulness of this indicator, just noticed something was different.
Also plotted on intraday ES and ER2 bars. MS didn't complain.

gruvtune



wabbit  
#2 Posted : Tuesday, June 19, 2007 11:06:11 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
gruvtune,

A possible explanation for the differences might lie in the implementation of the moving averages employed. MetaStock uses a volume adjusted moving average when some other packages employ a volume weighted moving average (like you build in your code). I don't subscribe to TASC so don't have access to the article or the charts, so I will guess the package used by the author to create the charts employed a VWMA in lieu of MetaStock's VAMA?

What's the difference?

MS Bible wrote:
><img src=Code:

{Volume Price Confirmation Indicator - Buff Dormeier - July 2007 TASC, adapted by gruvtune
from TASC TS code, pg 74 }

p1:= Input("Short Term Periods", 3,30,5);
p2:= Input("Long Term Periods", 10,200,20);

VAMA1:=Mov(C,p1,VOL);

VAMA2:=Mov(C,p2,VOL);


VWMA1:=Sum(C*V,p1)/Sum(V,p1);
VWMA2:=Sum(C*V,p2)/Sum(V,p2);

old:=(VAMA2-Mov(C,p2,S))*(VAMA1/Mov(C,p1,S))*(Mov(V,p1,S)/Mov(V,p2,S));
new:=(VWMA2-Mov(C,p2,S))*(VWMA1/Mov(C,p1,S))*(Mov(V,p1,S)/Mov(V,p2,S));

{plot}
new;
old;




Hope this helps.

wabbit [:D]


amory  
#3 Posted : Wednesday, June 20, 2007 6:34:05 PM(UTC)
amory

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/18/2007(UTC)
Posts: 99
Location: sydney australia

tried it out on chart, it must have some use: if I understand it correctly, it shows when Volume leads the shareprice upwards & then levels off & down to normal. of course you need to color the two lines differently, yes I quite like this indicator.
minnamor  
#4 Posted : Friday, June 22, 2007 3:42:30 AM(UTC)
minnamor

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/27/2005(UTC)
Posts: 126
Location: Italy

if you look at Traders' Tips at http://www.traders.com/Documentation/FEEDbk_docs/TradersTips/TradersTips.html

you will se different models for the vpci indicator: a) indicator and its signal line, b) cross over above/ below zero line, c) filter for MACD and OBV signals with ADX confirmation, d) VPCI with Bollinger bands, e) histogram of 5 and 10 SMA of vpci. As often, the MS information was the least informative. My own testing shows no great advantage over similar indicators such as Intraday intensity, MFI, Twigg's money Flow and Accumulation Distribution %.

Regards.

billtrudeau  
#5 Posted : Wednesday, June 27, 2007 2:59:25 PM(UTC)
billtrudeau

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 4/27/2005(UTC)
Posts: 132
Location: Manchester, NH

Buff has a previous article published in TAS&C titled "Buff Up Your Moving Averages"

There also is an interview with John Bollinger in a previous edition of TAS&C in which he sings the praises of Buff's VWMACD, volume weighted MACD.

Buff previously had two articles published in Active Trader Magazine, which are available for purchase on their website.

The original paper, for which Buff received the Charles Dow Award, can be read and downloaded from the following website.

https://www.mta.org/eweb/DynamicPage.aspx?webcode=CharlesDowAward

Jose  
#6 Posted : Wednesday, June 27, 2007 10:32:48 PM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
As mentioned in this Traders' Consortium post on the VPCI, one should take a closer look at MetaStock's Volume-adjust MA, as it definitely doesn't look or feel "right". Also take a look at the EMA-volume indicator from MetaStockTools.com - "improved volume-adjusted, dynamic-period EMA with multiple output choices." jose '-)
pumrysh  
#7 Posted : Thursday, June 28, 2007 10:52:44 AM(UTC)
pumrysh

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 110

Bill, All,

In 2005 I posted the original code from Trader's Mag

http://finance.groups.yahoo.com/group/equismetastock/message/15932

At the time I didn't feel the code had any merit and even advised using only part of it(VPR). The reason is that the code from the magazine used the short lookback periods rather than the longer periods to calculate the VPC. The correct code should be:

{VPCI}
{Vol Price Confirmation Index}
{Active Trader March 2005}
Pds:=input("periods",1,500,12);
Pdsa:=input("longterm vol periods",1,500,50);
VPC:=mov(c,pdsa,vol)-mov(c,pdsa,s);
VPR:= (mov(c,pds,vol)/mov(c,pds,s))*VPC;
VM:= mov(v,pds,s)/mov(v,pdsa,s);
VPCI:=(VPC*VPR)*VM;
VPCI

I realized this after reading Wabbit's code and the pdf from the Charles Dow Award site. Bill, the pdf was a great find and helps to explain the idea that Buff had behind the indicator. Thanks for posting it.

Preston

Jose  
#8 Posted : Friday, June 29, 2007 6:08:44 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
pumrysh wrote:
In 2005 I posted the original code from Trader's Mag
Plotting MetaStock's Volume-adjusted MA on a price chart with some decent volume shows how the moving average reacts unnaturally to price movements - the concept behind it is clearly flawed. The VPCI as it stands now with a flawed (and obviously untested) major component is a perfect example of the disconnect between hobbyist TA programming and actual real-world trading conditions - garbage in, garbage out. I guess members of Pumrysh's private mailing list will never know though, as any kind of dissenting views are definitely not tolerated there... ;) jose '-)
pumrysh  
#9 Posted : Friday, June 29, 2007 9:48:08 AM(UTC)
pumrysh

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/28/2004(UTC)
Posts: 110

Speaking of garbage, thank you Jose for your kind words! You're just jealous because you are not allowed the privilege of being a member of the group. Ahhhh, poor baby!

Preston

Jose  
#10 Posted : Friday, June 29, 2007 12:01:01 PM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Privilege? Pfff... Pal, were you to be so fortunate as to have a true professional post in your private mailing list, the privilege would be all yours indeed. In any case, since my busy custom MetaStock workload does not leave me with any time to waste on a self-delusional's shrinking mailing list, I guess you can only dream of the group's heyday, when a new and fresh concept was introduced on an almost weekly basis. As for the 100 or so remaining active members of the dying public list you've hijacked as your own, it's only a matter of time before they too grow tired of reading your contentless & banal posts. For forum members who may not be familiar with the mailing list in question, please take a look at this recent gem of a post allowed by the "moderator" there: [EquisMetaStock Group] Metastock Crack v10 EOD jose '-)
Zig95  
#11 Posted : Sunday, July 1, 2007 5:09:35 AM(UTC)
Zig95

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/1/2007(UTC)
Posts: 1

For forum members who may not be familiar with the mailing list in question, please take a look at this recent gem of a post allowed by the "moderator" there:

[EquisMetaStock Group] Metastock Crack v10 EOD


jose '-)
--------------------------------------------------------------------------------
MetaStockTools.com

It's Equis problem to handle ,Not your's.
Can also be used to control the piracy if they posts the link,may be
Helping equis to control the piracy,What is wrong in it?
BTW, http://tradersconsortium.../index.php?showtopic=689
and to your site
http://www.metastocktools.com/MetaStock/Elliot.txt, your own words
"Error in between the keyboard and chair."? {You dont like elliott, your posts in this forum}?

And seems you wont "practice what you says" in your own words
"please - let's try and keep TC free from personal issues, specially those originating outside.
Please help keep TC a cut above the rest - a civil
meeting place for professional and casual traders alike."
{http://tradersconsortium.com/community/index.php?showtopic=638&pid=1306&st=0&#entry1306}
Why not to this forum and the others.

I am watching those forums for the last 6 months, wasted my time.
Those forums always destroys the truth {i dont know the right word}, and enjoys.


Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.