The simple way is through the AFL function datenum()[see the syntax 
in AFL help]
For example:

Cond1=DateNum()==1071205;
Cond2=DateNum()==1080609;
Filter=Cond1 OR Cond2;
AddColumn(IIf(cond1,C,Null),"5 Dec 2007");
AddColumn(IIf(cond2,C,Null),"9 June 2008");

DT

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


Reply via email to