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 PowerPivot Plus Add-on for this expert to work
Highlights
Long
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long Entry
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short Entry
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long Exit
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short Exit
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=H>Ref(HHV(H,20),-1) AND (SAR(.02,.2)<C) AND TD=1;
LX:=(SAR(.02,.2)>C) OR (Ref(H>Ref(HHV(H,20),-1),-1) AND SAR(.02,.2)>C);
SE:=L<Ref(LLV(L,20),-1) AND (SAR(.02,.2)>C) AND TD=-1;
SX:=((SAR(.02,.2)<C)) OR (Ref(L<Ref(LLV(L,20),-1),-1) AND SAR(.02,.2)<C);
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|