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)
|
Highlights tab
Long
maxH:=HHVBars(H,8);
minL:=LLVBars(L,8);
Sell:=Cross(maxH>2
AND ValueWhen(1,maxH=0,L)>LLV(L,8)
AND maxH>BarsSince(LLV(L,8))
AND BarsSince(H>Ref(H,-1))<maxH
AND L<Ref(L,-1) AND C<Ref(C,-1) AND C<O,0.5);
Buy:=Cross(minL>2
AND ValueWhen(1,minL=0,H)<HHV(H,8)
AND minL>BarsSince(HHV(H,8))
AND BarsSince(L>Ref(L,-1))<minL
AND H>Ref(H,-1) AND C>Ref(C,-1) AND C>O,0.5);
D:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
D=-1
Short
maxH:=HHVBars(H,8);
minL:=LLVBars(L,8);
Sell:=Cross(maxH>2
AND ValueWhen(1,maxH=0,L)>LLV(L,8)
AND maxH>BarsSince(LLV(L,8))
AND BarsSince(H>Ref(H,-1))<maxH
AND L<Ref(L,-1) AND C<Ref(C,-1) AND C<O,0.5);
Buy:=Cross(minL>2
AND ValueWhen(1,minL=0,H)<HHV(H,8)
AND minL>BarsSince(HHV(H,8))
AND BarsSince(L>Ref(L,-1))<minL
AND H>Ref(H,-1) AND C>Ref(C,-1) AND C>O,0.5);
D:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
D=1
Symbol tab
Long
maxH:=HHVBars(H,8);
minL:=LLVBars(L,8);
Sell:=Cross(maxH>2
AND ValueWhen(1,maxH=0,L)>LLV(L,8)
AND maxH>BarsSince(LLV(L,8))
AND BarsSince(H>Ref(H,-1))<maxH
AND L<Ref(L,-1) AND C<Ref(C,-1) AND C<O,0.5);
Buy:=Cross(minL>2
AND ValueWhen(1,minL=0,H)<HHV(H,8)
AND minL>BarsSince(HHV(H,8))
AND BarsSince(L>Ref(L,-1))<minL
AND H>Ref(H,-1) AND C>Ref(C,-1) AND C>O,0.5);
D:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
D=-1 AND Ref(D,-1)>-1
short
maxH:=HHVBars(H,8);
minL:=LLVBars(L,8);
Sell:=Cross(maxH>2
AND ValueWhen(1,maxH=0,L)>LLV(L,8)
AND maxH>BarsSince(LLV(L,8))
AND BarsSince(H>Ref(H,-1))<maxH
AND L<Ref(L,-1) AND C<Ref(C,-1) AND C<O,0.5);
Buy:=Cross(minL>2
AND ValueWhen(1,minL=0,H)<HHV(H,8)
AND minL>BarsSince(HHV(H,8))
AND BarsSince(L>Ref(L,-1))<minL
AND H>Ref(H,-1) AND C>Ref(C,-1) AND C>O,0.5);
D:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
D=1 AND Ref(D,-1)<1
|