PureBytes Links
Trading Reference Links
|
Hi,
I am trying to see all weekly close price from Nov-4-2007.
This means five weeks.
I tested the following simple code:
TimeFrameSet(inWeekly);
A = DateNum()<1071104;
B = BarsSince(A);
Filter=B;
AddColumn(C, "WC");
AddTextColumn(FullName(), "Name");
When I run the code in daily mode I get all the dates and thier
closing price.
But in weekly I get incorrect dates as follows:
Ticker Date/Time WC Name
AAPL 11/29/2007 165.37 Apple Inc
AAPL 11/30/2007 166.39 Apple Inc
AAPL 12/3/2007 171.54 Apple Inc
AAPL 12/4/2007 182.22 Apple Inc
AAPL 12/5/2007 185.50 Apple Inc
The dates are the last five days, while the closing price are indeed
the close of each week.
Can any one explain what am I doing wrong?
Thanks,
Eitan
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|