logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
johnnic  
#1 Posted : Thursday, November 23, 2006 5:40:44 PM(UTC)
johnnic

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/20/2006(UTC)
Posts: 21

Is it possible to code an Expert Advisor such that when a signal is generated and plotted on the stock, it is not repeated until after an exit is signalled? One of my systems produces a large number of buy signals but it is only the first one that I am interested in. After that, the subsequent buy signals just create noise.

Thanks

John

wabbit  
#2 Posted : Thursday, November 23, 2006 8:34:20 PM(UTC)
wabbit

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)
John,

You need to code a latch, or binary latch, to trigger on the first event and then remian silent until a reset condition is met.

Use the search function to look for posts contain "latch" and see what you find. You will find a whole pile of notices about trade latches, they are useful as examples, but there are better examples dealing precisely with your predicament if you look....

If you get stuck, post your best attempt at the code and I am sure someone will come to your aid...


Hope this helps.

wabbit [:D]


johnnic  
#3 Posted : Thursday, November 23, 2006 9:54:10 PM(UTC)
johnnic

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/20/2006(UTC)
Posts: 21

thanks wabbit, I'll give it a go.

John

knorthington  
#4 Posted : Wednesday, January 3, 2007 8:57:30 AM(UTC)
knorthington

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 4/30/2006(UTC)
Posts: 15
Location: North Carolina

John

I just finished putting my trading system into a Plugin format. I'm interrested in feedback if you're interrested in trying it.

Thanks,

K

johnnic  
#5 Posted : Sunday, January 7, 2007 7:06:15 PM(UTC)
johnnic

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/20/2006(UTC)
Posts: 21

K

Yes, I am certainly interested in trying it. My email is johnnic@bigpond.net.au

Cheers

John

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.