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 plus Add-on
Highlights
Long
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long Entry
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short Entry
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long Exit
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short Exit
A1:=Mov(C,3,E);
A2:=Mov(C,5,E);
A3:=Mov(C,8,E);
A4:=Mov(C,10,E);
A5:=Mov(C,12,E);
A6:=Mov(C,15,E);
B1:=Mov(C,30,E);
B2:=Mov(C,35,E);
B3:=Mov(C,40,E);
B4:=Mov(C,45,E);
B5:=Mov(C,50,E);
B6:=Mov(C,60,E);
up:=If(A1>B1 AND A2>B2 AND A3>B3 AND A4>B4 AND A5>B5 AND A6>B6,True,False);
dn:=If(A1<B1 AND A2<B2 AND A3<B3 AND A4<B4 AND A5<B5 AND A6<B6,True,False);
LE:=up=true AND Ref(up,-1)=False;
SE:=dn=true AND Ref(dn,-1)=False;
LX:=Ref(up,-1)=true AND up=False;
SX:=Ref(dn,-1)=true AND Dn=False;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|