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

Re: [EquisMetaStock Group] Automatically closing positions in a certain number of days



PureBytes Links

Trading Reference Links

------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.

To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5094
------------------------------------------------------------------------

Andrew

> I am writing explorations but wonder if anyone knows how to write a 
> statement that will close a position 30 days after a signal is taken?
> 
> (Automatically doing this after each signal is found).
> 
> Are there any other good Metastock user groups that anyone likes?

Adapted from 'Trade Stop LE'

Roy 

Pd:=30;
Tr:=If(PREV=0,
  If( Fml( "Your Entry signal" ),1,0),
  If(BarsSince(PREV=0)=Pd,0,PREV));
Tr=0 AND Alert(Tr,2);



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Home Selling? Try Us!
http://us.click.yahoo.com/QrPZMC/iTmEAA/MVfIAA/BefplB/TM
---------------------------------------------------------------------~->

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/