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
Long:
Buy:=C>(Ref(HHV(H,1),-1)*(1.005));
Sell:=C<(Ref(LLV(L,1),-1)*(1.005));
A:=If(BarsSince(Buy)<BarsSince(Sell),1,If(BarsSince(Buy)>BarsSince(Sell),0,1));
A=1
Short:
Buy:=C>(Ref(HHV(H,1),-1)*(1.005));
Sell:=C<(Ref(LLV(L,1),-1)*(1.005));
A:=If(BarsSince(Buy)<BarsSince(Sell),1,If(BarsSince(Buy)>BarsSince(Sell),0,1));
A=0
Symbols
EL:
Buy:=C>(Ref(HHV(H,1),-1)*(1.005));
Sell:=C<(Ref(LLV(L,1),-1)*(1.005));
A:=If(BarsSince(Buy)<BarsSince(Sell),1,If(BarsSince(Buy)>BarsSince(Sell),0,1));
A=1 and Ref(A,-1)=0
ES:
Buy:=C>(Ref(HHV(H,1),-1)*(1.005));
Sell:=C<(Ref(LLV(L,1),-1)*(1.005));
A:=If(BarsSince(Buy)<BarsSince(Sell),1,If(BarsSince(Buy)>BarsSince(Sell),0,1));
A=0 and Ref(A,-1)=1
|