PureBytes Links
Trading Reference Links
|
Arthur, I believe AB keeps moving forward from one period to
another irrespective of dates, unless you specify an end of range. Even a sell
at the last time of the day would stop any carry over to next day.
Perhaps try, in addition to your normal condition
Sell = valuewhen(hour()>ref(hour(),1),c) or
YourSellCondition;
<font size=3 color=teal
face="Times New Roman">Cheers,
Graham
<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading
<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia
<span
>-----Original Message-----
From: Arthur Sawilejskij
[mailto:arthur@xxxxxxxxxxxxxxx]
Sent: Thursday, 10 April 2003
11:42 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Intraday
testing
<font size=2
face="Times New Roman">
<font size=3
face="Times New Roman">I'm running some scripts
in AA on an intraday basis - I have periodicity set to 3 minutes and the same
date specified in the test period.
When doing so - I naturally want AB to confine the test to the one trading day.
However, if I set it to only test yesterday, for example, it jumps the day and
continues to today - so that I get buy signals yesterday and sell today - which
is not what is intended or wanted.
Is this correct - or am I missing a setting somewhere?
<span
>--
Arthur Sawilejskij
<font size=2
face="Times New Roman">
Send BUG REPORTS to
bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|