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

Re: [amibroker] Close stops EOD



PureBytes Links

Trading Reference Links

this could work

sell = conditions or cross(timenum(),155900); //160000 is close time
short = conditions and timenum()<1600000; //or what time limit you like


On Mon, 14 Mar 2005 02:53:09 -0000, cs22trader <stangor@xxxxxxxxxxxx> wrote:
> 
> 
> Let me echo the kudos for this group -- you've saved me mucho time!
> Thanks.
> 
> Is there an easy way to cleanly close all open positions at the end
> of the trading day when working intraday?  Sometimes the backtester
> treats my code to close my open positions as overnight shorts.  More
> generally, how does the backtester treat open positions at EOD?
> 
> thanks
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

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

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