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)
|
On another forum, someone asked about using the MACD w Bollinger bands as a system here is the long only chart the code Code:
A:=Mov(C,12,S)-Mov(C,26,S);
A2:=Mov(A,5,S);
BBT:=BBandTop(A2,10,S,1);
BBB:=BBandBot(A2,10,S,1);
Sys:=If(A>BBT,1,If(A<BBB,-1,0));
entry:= {<-- Do not change entry parameter name}
Sys=1 AND Ref(Sys,-1)<>1;
exit:= {<-- Do not change exit parameter name}
Sys<>1 AND Ref(Sys,-1)=1;
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.