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

[amibroker] Re: limit trades to one per week



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, malcolm Crouch <malcolm.croucher@xxx> wrote:
>
> Put a count in Place
> 
> 
> 
> If count>1 Then
> 
> dont trade
> 
> Else
> 
> Trade
> Count ++
> 
> 
> On Mon, Jun 8, 2009 at 9:59 AM, foxblade2000invest <foxblade@xxx>wrote:
> 
> >
> >
> > Can anyone help?
> >
> > I have a system that trades a portfolio of stocks from the weeks open. I
> > would like to limit it so that once a trade has been hit within each week,
> > no other trades can be placed until the next week for each stock being
> > traded(as part of the rules, positions are closed out on Friday's).
> >
> > Can anyone suggest any code that can be used to do this type of thing, or
> > point me in the right direction?
> >
> > Thanks to all,
> > Rich
> >
> >  
> >
> 
> 
> 
> -- 
> Malcolm A.B Croucher



Thanks malcolm,

If I'm trading 10 stocks, I'm happy to hold 10 positions. I just want to take the first trade only, for each stock, each week. Does this allow for that?

Thanks again,
Rich
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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

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