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 PowerPivot plus Add-on and needs to be applied to Daily Charts
Highlights
Long
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long entry
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short entry
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long exit
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short exit
Piv:=1;
Per1:=21;
TF:=1;
A1:=ExtFml("PowerPivots.NthPivotPrice",Piv,1,TF);
A2:=ExtFml("PowerPivots.NthPivotPrice",Piv,2,TF);
B1:=ExtFml("PowerPivots.NthPivotPrice",-Piv,1,TF);
B2:=ExtFml("PowerPivots.NthPivotPrice",-Piv,2,TF);
K:=Sum(((C-Min(B1,B2)-(Max(A1,A2)-C))/(Max(A1,A2)-Min(B1,B2))*V),Per1)/Sum(V,Per1);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=K>0 AND K>Mov(K,7,S) AND TD=1;
LX:=K>0 AND K<Mov(K,7,S);
SE:=K<0 AND K<Mov(K,7,S) AND TD=-1;
SX:=K<0 AND K>Mov(K,7,S);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|