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 PowerPivots plus and the Adaptive Trading Solutions Add-ons for this expert to work
Highlight
Long
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long entry
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short entry
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long exit
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short exit
x:=20;
am:= Abs(C-Ref(C,-(x-1)));
td:= Sum(C-Ref(C,-(x-1)),x);
tdi:= (Abs(td)+Sum(am,x))-Sum(am,(2*x));
Loss:= ExtFml("tsaequis1.eodlso");
Win:= ExtFml("tsaequis1.eodwso");
LE:=If(td>0 AND tdi>0 AND td>tdi ,true,false) and win > Loss;
SE:=If(td<0 AND tdi<0 AND td<tdi,true,false) and Win < Loss;
LX:= If(td<0 AND tdi<0 AND td<tdi,true,false);
SX:= If(td>0 AND tdi>0 AND td>tdi ,true,false);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|