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)
|
This expert needs the PowerPivots Add-on to work
Highlights
long
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long Entry
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short Entry
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long Exit
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short Exit
Pds:=5;
Vidya:= Mov(C,Pds,VAR);
UB:=Vidya*1.01;
LB:=(2*Vidya)-UB;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=Cross(C,UB) AND TD=1;
SE:=Cross(LB,C) AND TD=-1;
LX:=Cross(Vidya,C) AND TD>=0;
SX:=Cross(C,Vidya) AND TD<=0;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|