PureBytes Links
Trading Reference Links
|
I am working with 1 min intraday data. I wish to use the prior day's
close throughout the day for calculations. Below I have created an
array "PDC" to accomplish this:
PDC = ValueWhen(Day()!=Ref(Day(),-1),Ref(C,-1));
WriteVal(PDC);
WriteVal(Day());
It works fine until 3:00, at which time the array returns {empty} in
the interpretation window. I have turned off "Align bars to regular
market hours," and I have changed the trading hours setting in the
database settings (the filter is not on so I don't know if this
should have any effect) - neither changes the PDC array being
{empty}. The Day() array is consistent through the morning and
beyond 3:00 - so what is happening?
I did some searches here and with the downloadable archive and found
no direct address of this problem.
Thankyou,
RLB
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/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/
|