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 dll from
http://forum.equis.com/viewtopic.php?t=1529
and the powerpivots plus add-on for this expert to work
Highlights
Long
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0
Short
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0
Out
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0
Symbols
Long Entry
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B>0 AND Ref(B,-1)<=0
Short entry
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B<0 AND Ref(B,-1)>=0
Long Exit
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)>0
Short exit
Periods:=ExtFml( "ASI.CyclePeriod", C, .18, .1, 1.1);
D:= ExtFml( "ASI.AroonDown",C,periods);
U:= ExtFml( "ASI.AroonUp",C,periods);
TD:=ExtFml("PowerPivots.TrendDirection",1,2);
LE:=U>D AND TD=1;
LX:=U<D;
SE:=U<D AND TD=-1;
SX:=U>D;
B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");
B=0 AND Ref(B,-1)<0
|