[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EquisMetaStock Group] How to Get Only one Buy and Sell signal?



PureBytes Links

Trading Reference Links

I'm building an Expert system and I would like to restrict or limit my
expert to only publishing one buy, or one sell until the trade turns
over.  Meaning, If I have a buy on the 4th, I don't want to see
another buy until first a sell has occured.  Or if I have a sell on
the 5th, I don't want to see another sell signal until first a buy has
occured.

It would be nice if I could enter something simple that checks and
does not allow me to publish a second buy if the last signal was a
buy?  But I'm looking at the Metastock code and not sure how that can
be done.

Often after a buy, I may get more buys down the line when my buy
conditions occure again, I don't want those buys published.

In the expert I have buy variable defined and a sell variable defined.
 So I can refer to my buy conditions by calling on >buy< and my sell
conditions by calling on >sell<

I've got to believe there is a simple bit of code you insert routinely
to limit the number of signals you get in your experts.







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/