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