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

Re: [amibroker] Re: How to do this................NO RESPONSE SO FAR..lemme try again



PureBytes Links

Trading Reference Links

to get price at a certain date, you could use what has been provided
in some other posts made today

dt = datetime;
Price = lastvalue( valuewhen(dt==StrToDateTime("2005-Mar-05"), C ) );


"2005-Mar-05" to match the normal datetime format string output that you use

-- 
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com



2008/7/11 meenhal <meenhal@xxxxxxxxx>:
>
>
> So far no response
>
> To put it simply: can we get closing prices for two or more
> nonconsecutive days in the exploration window?
>
> --- In amibroker@xxxxxxxxxxxxxxx, "meenhal" <meenhal@xxx> wrote:
>>
>> I need to list in the same analysis window closing prices of all
>> shares trades on 3 differnt dates
>>
>> header for the window shouldlook like
>>
>> Ticker | Dec 5, 2005 | Jan 6, 2006  |   Feb 7, 2007
>>
>> XYZ    |     1.02    |      0.97    |         2.1
>>
>>
>>
>> How can I tell mibroker to give me closing prices on three dates
> of
>> those scripts traded on those dates
>>
>> I have tried date conversions, barcount and barindex........can
> not do
>> it
>> Help please  and Thanks in advance
>>

------------------------------------

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/