PureBytes Links
Trading Reference Links
|
At 12:14 PM 10/04/2003 +0800, you wrote:
:
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;
Ah, ok - thanks for that.
I see also I will have to do the same for the buy - as it's also
taking the price from the pre-open - which is
unrealistic.
Arthur
Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: Arthur Sawilejskij
[mailto:arthur@xxxxxxxxxxxxxxx]
Sent: Thursday, 10 April 2003 11:42 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Intraday testing
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?
--
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 the 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.
Yahoo! Groups Sponsor
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.
Attachment:
Description: ""
Attachment:
Description: ""
|