PureBytes Links
Trading Reference Links
|
--- In amibroker@xxxxxxxxxxxxxxx, "sharps_45_70" <sharps_45_70@xxxx>
wrote:
> Thanks, but "ev=ValueWhen(C==EndValue( C) ,Year(),1);" returns 2003
> as the last value in the array even when the range is set to 1/1/95
> to 12/31/2002.
>
> Ed
>
>
>
>
> > Could you use EndValue(Array), BeginValue(Array), and ValueWhen to
> > accomplish this? You'd still be passing all the elements of the
> > arrays, but at least you could easily identify the start and end
> > values (say of Cum(1)) associated with the selected range.
> >
> > a
Maybe the close at the end of the array is equal to that value at the
end of the range. Try
ev=ValueWhen(cum(1)==EndValue(cum(1),Year());
a
If that doesn't work sorry.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Special Sale: 50% off ReplayTV
Easily record your favorite shows!
CNet Ranked #1 over Tivo!
http://us.click.yahoo.com/WUMW7B/85qGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|