Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 6/20/2012(UTC) Posts: 1
|
Hi,
Came across a piece of coding by wabbit written way back in 2007.... been trying to get to work on short trades too . Pls Help.
Code:
x:=C>Mov(C,50,S);
signal:=x and Alert(x=0,2);
count:=H>ValueWhen(1,signal,H);
count:=cum(count);
tr:=(count-valuewhen(1,signal,count))=1;
tr:=tr and Alert(Tr=0,2);
{plot}
tr;
The above code works for a bullish breakout of the signal bar . I need the code for a breakdown of the signal bar.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
The code is all there for you to read and understand, simply turn it around for the break low.
wabbit [:D]
|
|
|
|
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.