Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 91 times Was thanked: 155 time(s) in 150 post(s)
|
Markos Katsanos’ article, “Detecting High-Volume Breakouts”, introduced his Volume Positive Negative (VPN) indicator. Here is the formula to add that indicator to MetaStock.
Volume Positive Negative: Code:pds:= Input( "Periods", 5, 100, 30);
apr:= Typical();
at:= ATR(pds) * 0.1;
vpd:= If( apr >= Ref(apr, -1) + at, V, 0);
vnd:= If( apr <= Ref(apr, -1) - at, V, 0);
VP:= Sum(vpd, pds);
VN:= Sum(vnd, pds);
VPN:= (((VP - VN)/Mov(V, pds, S))/pds) * 100;
VPN;
Mov(VPN, 3, E)
|
|
|
|
Users browsing this topic |
|
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.