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

Notification

Icon
Error

Options
Go to last post Go to first unread
MS Support  
#1 Posted : Wednesday, June 15, 2022 5:12:41 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,934

Thanks: 85 times
Was thanked: 154 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
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.