Rank: Member
Groups: Registered, Registered Users Joined: 5/17/2005(UTC) Posts: 14
|
Hello
From Memory i once noticed a method of bypassing the multiple alert problem when in RT mode with the use of a latch that recognised only the first buy and alerted....And then only alerted on the next signal change...And not alert every tick or bar....
I want to keep the Recalculate expert live on Each tick as i use small time frames.....
Thankyou
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 1/19/2005(UTC) Posts: 1,065 Location: Koh Pha-Ngan, Earth
Was thanked: 2 time(s) in 2 post(s)
|
[code:1:340742e0e4]{ Signals reference example }
entry:=C>Mov(C,21,E);
exit:=C<Mov(C,10,E);
{ Initialize signals }
init:=Cum(IsDefined(entry+exit))=1;
{ Trade binary - ignores entry/exit on same bar }
bin:=ValueWhen(1,entry-exit<>0 OR init,entry);
{ Clean signals }
long:=bin*(Alert(bin=0,2) OR entry*Cum(entry)=1);
short:=(bin=0)*(Alert(bin,2) OR exit*Cum(exit)=1);
long-short
[/code:1:340742e0e4]
jose '-)
|
|
|
|
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.