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

Notification

Icon
Error

Options
Go to last post Go to first unread
KTP2  
#1 Posted : Wednesday, November 12, 2008 4:59:02 PM(UTC)
KTP2

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 2/2/2007(UTC)
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

The formulas discussed by Gordon Gustafson; in his article, "Average True Range Or Standard Deviation," can be created in MetaStock 6.52 or higher.

To create these indicators, in MetaStock, select the Indicator Builder from the Tools menu. Then click New and enter the formulas as listed below:

Standard Deviation Bands

stdh := Mov(C,20,E)+2*(Stdev(C,20));
stdl := Mov(C,20,E)-2*(Stdev(C,20));

stdh;
stdl

Average True Range Bands

stdha := Mov(C,20,E)+2*(ATR(20));
stdla := Mov(C,20,E)-2*(ATR(20));

stdha;
stdla

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.