Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Views messages in topic : 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
Highlights
Long
A1:=Mov(BuyP(),5,VAR)*.9382; A2:=Mov(SellP(),5,VAR)*1.0618;
Buy:=Cross(A1,A2);
Sell:=Cross(A2,A1);
B:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
B=-1
Short
A1:=Mov(BuyP(),5,VAR)*.9382; A2:=Mov(SellP(),5,VAR)*1.0618;
Buy:=Cross(A1,A2);
Sell:=Cross(A2,A1);
B:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
B=1
Symbol tab
Long
A1:=Mov(BuyP(),5,VAR)*.9382; A2:=Mov(SellP(),5,VAR)*1.0618;
Buy:=Cross(A1,A2);
Sell:=Cross(A2,A1);
B:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
B=-1 AND Ref(B,-1)>-1
Short
A1:=Mov(BuyP(),5,VAR)*.9382; A2:=Mov(SellP(),5,VAR)*1.0618;
Buy:=Cross(A1,A2);
Sell:=Cross(A2,A1);
B:=If(BarsSince(Buy)<BarsSince(Sell),-1,If(BarsSince(Buy)>BarsSince(Sell),1,0));
B=1 AND Ref(B,-1)<1
|