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:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
A:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
A:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long entry
A:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short entry
A:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long exit
A:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short exit
A:=(Mov(ROC(C,10,%),10,S))+(2*(Mov(ROC(C,15,%),10,S)))+(3*(Mov(ROC(C,20,%),10,S)))+(4*(Mov(ROC(C,30,%),15,S)))/10;
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=A>Mov(A,15,S) and TD=1;
SE:=A<Mov(A,15,S) and TD=-1;
LX:= A<Mov(A,15,S);
SX:= A>Mov(A,15,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|