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 : Tuesday, November 11, 2008 4:45:06 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)

In the November 1999 issue of S&C, Benjamin L. Cotton introduces the Target Price indicator, in his article "Triggering Your Trading System." To create this indicator in MetaStock 6.52 or higher, select Indicator Builder, from the Tools menu, click New, and enter the following formula:

For the BogiePX, enter:

x:=Input("length of 1st moving average",2,200,5);
y:=Input("length of 2nd moving average",2,200,10);
((y* Sum(C,x-1))-(x*Sum(C,y-1)))/ (x-y)

For the Percent Change, enter:

x:=Input("length of 1st moving average",2,200,5);
y:=Input("length of 2nd moving average",2,200,10);

((((y* (Sum(C,x-1))-(x*Sum(C,y-1)))/(x-y))/Close)-1)*100

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.