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

Re: [amibroker] limit trades to one per week



PureBytes Links

Trading Reference Links



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@xxxxxxxxxxxx> 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


__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___