[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] The "TimeFrameGetPrice" function is FALSE !!!!!



PureBytes Links

Trading Reference Links

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
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


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:
    http://docs.yahoo.com/info/terms/