try this plot to compare
Plot(C,"daily",colorWhite,styleLine);
Plot(TimeFrameGetPrice( "C", inWeekly, 0 ), "weekly", colorGreen, styleLine );
Plot(TimeFrameGetPrice( "C", inMonthly, 0 ), "monthly", colorRed, styleLine );
On 6/19/05, Khamsina11 <Khamsina11@xxxxxxxx> wrote:
Hi Graham,
Ok, I'am going to check.
But try that :
Display a weekly chart, pick randomly a candlestick and open the commentary
: the results do not match up.
You can select other candlesticks in your weekly chart, the figures are
never the same.
It is to be feared that there is a big bug somewhere.
Regards,
Khamsina
Graham a écrit :
I have used and checked the function against daily charts and it is
correct
Try checking against the monthly chart and the getprice is
correct
On 6/19/05, Khamsina11 <Khamsina11@xxxxxxxx> wrote:
Graham,
I both used "ExpandFirst" and "ExpandLast" but the results do not
match up.
You can do it, it's very easy to check
I hope I am wrong
otherwise there is no use using multiple time frame
analysis with Amibroker.
Regards,
Khamsina
Graham a écrit :
It could be that you are using
expandfirst which will change the close
price
each bar as it progresses through the month. From help
"Caveat: expandFirst
used on price different than open may look into
the future. For example if
you create weekly HIGH series, expanding it
to daily interval using
expandFirst will enable you to know on MONDAY
what was the high for entire
week. "
On 6/19/05, Khamsina11 <Khamsina11@xxxxxxxx> wrote:
Hi,
I wrote this code in a commentary :
va1 = TimeFrameGetPrice( "C",
inMonthly, -7, expandFirst );
" Month - 7 = " + WriteVal( va1, 0.2);
In
order to check if everything was ok, I tiled vertically 2 windows (a
weekly
graph and a monthly graph).
In the weekly window, I randomly displaced the
vertical selection line
while checking if the close returned in the
commentary and the close of
the appropriate month ( in the monthy graph)
were the same : and what a
surprize, they are different !!!!!!
Is TJ aware
of this big issue
?
Khamsina
___________________________________________________________________________
Appel
audio GRATUIT partout dans le monde avec le nouveau Yahoo!
Messenger
Téléchargez cette version sur
http://fr.messenger.yahoo.com
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 other support material
please check
also:
http://www.amibroker.com/support.html
Yahoo! Groups
Links
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 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/
To
unsubscribe from this group, send an email
to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of
Yahoo! Groups is subject to the Yahoo! Terms of Service.
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 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/
To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.