PureBytes Links
Trading Reference Links
|
All,
I am writing an intraday system (works on hourly data) that takes
yesterday's H/L/C as inputs. However, I am having a problem getting
those daily values from my intraday code. Here is what I have so
far, but I'm not getting the values I expect (for any of the values):
w_high = HighestSince(DateNum()>Ref(DateNum(),-1),H,1);
w_low = LowestSince(DateNum()>Ref(DateNum(),-1),L,1);
w_close = ValueWhen(DateNum()>Ref(DateNum(),-1),C,1);
Any ideas of what I might be doing wrong?
Thanks,
Sheldon
------------------------ 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/sO0ANB/LIdGAA/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/
|