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 : Thursday, May 19, 2005 10:42:52 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 will need the PowerPivots Plus Add-on for this expert to work Highlights long a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 Short a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 Out a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 Symbols Long Entry a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 AND Ref(B,-1)<=0 Short Entry a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 AND Ref(B,-1)>=0 Long Exit a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)>0 Short exit a:=If(PREV=1,If(CLOSE<HighestSince(1,PREV<>1,CLOSE)*.96,-1,PREV),If(PREV=-1,If(CLOSE>LowestSince(1,PREV<>-1,CLOSE)*1.04,+1,PREV),If(PREV=0,If(CLOSE>Lowest(CLOSE)*1.04,+1,If(CLOSE<Highest(CLOSE)*.96,-1,PREV)),PREV))); D:=If(A=1,1,0); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:=D=1 AND Sum(TD>0,2)>1; SE:=D=0 AND Sum(TD<0,2)>1; LX:=D=0; SX:=D=1; B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)<0
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.