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

Notification

Icon
Error

Options
Go to last post Go to first unread
henry1224  
#1 Posted : Sunday, August 7, 2005 12:34:03 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
you need the powerpivots plus add-on for this expert to work Highlights Long TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 Short TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 out TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 Symbols Long entry TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 AND Ref(B,-1)<=0 Short entry TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 AND Ref(B,-1)>=0 Long Exit TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)>0 Short exit TD:=ExtFml("PowerPivots.TrendDirection",1,2); A:=Mov(PVI(),5,S)/Ref(Mov(PVI(),15,S),-5); LE:=Cross(A,Ref(A,-1)) and SAR(.02,.2)<C AND TD=1; LX:=Cross(Ref(A,-1),A) or SAR(.02,.2)>C; SE:=Cross(Ref(A,-1),A) and SAR(.02,.2)>C and TD=-1; SX:=Cross(A,Ref(A,-1)) or SAR(.02,.2)<C; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)<0
mmghani  
#2 Posted : Friday, August 12, 2005 11:03:12 PM(UTC)
mmghani

Rank: Newbie

Groups: Registered, Registered Users
Joined: 8/12/2005(UTC)
Posts: 1
Location: Seremban,Malaysia

:( How do you add a formula? I am new to metastock MMGhani
henry1224  
#3 Posted : Saturday, August 13, 2005 3:57:51 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
I would read the chapter on experts more than once, then click on the expert icon{The man with the hat} click new, type in the correct name of the expert you are copying, under the highlights tab, click new, name it long, cut and paste the formula under highlights long into the blank box and change the color to green, click ok and do the same for the rest of the formulas
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.