Dear Graham,
 
Any way to put in the latest date automatically in this afl, rather  
  than changing this value in afl ???

 Filter = DateNum()==1061227 AND Close/Lowvalue*100 <= 110;

 regards.
 drk_411
 

>
> You have already done this, just make small change to what you have
> 
> LVDate = ValueWhen(L==Lowvalue,DateTime());
> AddColumn(LVDate,"LV Date",formatDateTime);
> 
> 
> -- 
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
> 
> 
> On 28/12/06, drk_411 <[EMAIL PROTECTED]> wrote:
> >
> > Lowvalue=LLV(L,220);
> > Filter = DateNum()==1061227 AND Close/Lowvalue*100 <= 110;
> > // this filter is to get only active securities and also only those
> > // which are close to year's lows ie within 10%.
> > AddColumn(Lowvalue,"Lowest",1.2);
> > AddColumn(C," Today'sclose",1.2);
> > AddColumn((Close/Lowvalue*100)-100," %  Change",1.2);
> > // this column is for sorting the results.
> >
> > LowDate = ValueWhen(L < Ref(LLV(L,200),-1),DateTime());
> > AddColumn(LowDate,"",formatDateTime);
> > // now this is where i want help.. I want to know the date of the
> > lowvalue.  Any kind soul ???
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
>


Reply via email to