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 <[EMAIL PROTECTED]>:
>
>
> So far no response
>
> To put it simply: can we get closing prices for two or more
> nonconsecutive days in the exploration window?
>
> --- In [email protected], "meenhal" <[EMAIL PROTECTED]> 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
>>