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)
|
Highlight
Long
A:= Mov((Mov((((CLOSE-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100),3,S)), 3,S);
D:=Mov(Typ(),3,S);
B:=Ref(D,-1);
Buy:=Cross(D,B) AND A<=50;
Sell:=Cross(B,D) AND A>=50;
i:=Cum(Buy>-1 AND Sell>-1)=1;
x:=BarsSince(i OR Buy)>=BarsSince(i OR Sell)=0;
X=0
Short
A:= Mov((Mov((((CLOSE-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100),3,S)), 3,S);
D:=Mov(Typ(),3,S);
B:=Ref(D,-1);
Buy:=Cross(D,B) AND A<=50;
Sell:=Cross(B,D) AND A>=50;
i:=Cum(Buy>-1 AND Sell>-1)=1;
x:=BarsSince(i OR Buy)<=BarsSince(i OR Sell)=0;
X=0
Symbols
Long Entry
A:= Mov((Mov((((CLOSE-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100),3,S)), 3,S);
D:=Mov(Typ(),3,S);
B:=Ref(D,-1);
Buy:=Cross(D,B) AND A<=50;
Sell:=Cross(B,D) AND A>=50;
i:=Cum(Buy>-1 AND Sell>-1)=1;
x:=BarsSince(i OR Buy)>=BarsSince(i OR Sell)=0;
X=0 AND Ref(X,-1)>0
Short entry
A:= Mov((Mov((((CLOSE-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100),3,S)), 3,S);
D:=Mov(Typ(),3,S);
B:=Ref(D,-1);
Buy:=Cross(D,B) AND A<=50;
Sell:=Cross(B,D) AND A>=50;
i:=Cum(Buy>-1 AND Sell>-1)=1;
x:=BarsSince(i OR Buy)<=BarsSince(i OR Sell)=0;
X=0 AND Ref(X,-1)>0
|