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

RE: [amibroker] force sale/cover at end of day



PureBytes Links

Trading Reference Links

Would it be better to use this in case your quote time was not exactly
160000 ?
Sell = Sell OR Cross( TimeNum() , 160000 );
Cover = Cover Or Cross( TimeNum() , 160000 );

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia

-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx] 
Sent: Thursday, 5 June 2003 8:54 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] force sale/cover at end of day

Hello,

When using intraday data use this:

Sell = Sell OR TimeNum() == 160000;
Cover = Cover Or TimeNum() == 160000;

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Arthur Sawilejskij" <arthur@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, June 05, 2003 2:25 PM
Subject: [amibroker] force sale/cover at end of day


> I need to force a sell/cover signal at the end of the day - say any trade 
> after 1600hours - so that I can start each day fresh for intraday trading.
> 
> If I don't do this - I can have buy/short signals running from the
previous 
> day and not get an entry signal from my scans that day - hence missing 
> profitable trades.
> 
> Searching through the message base I saw a message suggesting:
> 
> Sell = Sell OR Status("lastbarintest");
> Cover = Cover OR Status("lastbarintest");
> 
> But when I insert that into AA it seemingly makes no difference to the
scan.
> 
> 
> 
> 
> 
> 
> 
> --
> Arthur Sawilejskij
> 
> 
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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