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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
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 TD=1;
LX:=Cross(Ref(A,-1),A);
SE:=Cross(Ref(A,-1),A) and TD=-1;
SX:=Cross(A,Ref(A,-1));
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|