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

Re: [amibroker] Sell next day at certain time



PureBytes Links

Trading Reference Links

try something like

Buy = conditions;
sell = !hhv(buy, barssince(cross(timenum(), 230001))) and cross(Timenum(), 
230000);

----- Original Message ----- 
From: "Andrew Z" <wizard@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, September 28, 2005 6:31 AM
Subject: [amibroker] Sell next day at certain time


> G'day all,
>
> I check the prices at 11pm and wait for my buy conditions to be met
> before entering a trade. If I'm in a trade I want to exit at 11pm the
> next day (unless I'm stopped out, of course).
>
> I check the prices at 11pm via
>
> RefPrice = deValueWhenTime(C,230000);
>
> But then how do I code a Sell for tomorrow at 11pm if I've taken a trade
> and haven't been stopped out?
>
> Thanks,
> Andrew.
>
>
>
>
>
>
> 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
>
>
>
>
>
> 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/