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)
|
here is an example of an expert
You will need the PowerPivot Plus Add-on for this expert to work
Pring DMI w trend direction
Highlights
Long
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0
Short
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0
Out
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0
Symbols
Long entry
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B>0 AND Ref(B,-1)<=0
Short entry
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B<0 AND Ref(B,-1)>=0
Long exit
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)>0
Short exit
{DMI SYSTEM } A:= PDI(14); B:= MDI(14); TD:=ExtFml("PowerPivots.TrendDirection",1,2); LE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A) and TD=1; SE:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A) and TD=-1; LX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B>A); SX:= (ADX(14)<25 ) AND (ADX(14)>Mov(ADX(14),10,S)) AND (Ref(ADX(14),-1)<Ref(Mov(ADX(14),10,S),-1)) AND (B<A); B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!"); B=0 AND Ref(B,-1)<0
|