Graham,

How about a more general case?  Try this in Explore with the To date
as 6/30/2006 on Alcoa Aluminum (AA).

I must be missing something (maybe my brain).

Best,
Whitney

///////////////////////////////////////////////////////////
Buy=Sell=Short=Cover=0;
Filter = 1;
bi = BarIndex();
dn = DateNum();

mybi = ValueWhen( dn == 1060630, bi, 0 );

AddColumn( dn, "dn", 1.0, colorDefault, colorDefault );
AddColumn( mybi, "mybi", 1.0, colorDefault, colorDefault );
///////////////////////////////////////////////////////////

Reply via email to