PureBytes Links
Trading Reference Links
|
Try the MS code at:
http://www.metastocktools.com/#metastock
"System/signal indicators" section, "Trade signals" link.
"latch function. Limits multiple entry & exit system signals to
distinct single buy/sell trade signals."
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, "metstocktrader"
<disposable10@xxxx> wrote:
> 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 --------------------~-->
Make a difference. Find and fund world-changing projects at GlobalGiving.
http://us.click.yahoo.com/PcNrnD/PbOLAA/cosFAA/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/
|