--- In [email protected], "hetal_mba" <[EMAIL PROTECTED]> wrote:
>
>  Hello,
> I am new to Amibroker and a student exploring it
> Could any one help me in this code
> Actually what i want is the hhv till 31-12-2002 i tried hard but
> still learning . I dont know how to define the range with date.

> Thanks in advance


hetu,

Here is a way to study this and work out the result you want. I will
leave it to you to get the results into the column format you desire.
Good luck with your study of AmiBroker.

Bill

----------------------

inrange = DateNum() <= 1021231;

Closeinrange = Close*inrange;

HiVal = Highest(Closeinrange);

HighestVal = LastValue(HiVal);


Plot(inrange, "In Range", colorLightBlue, styleOwnScale, 0, 4);

Plot(Closeinrange, "Close", colorRed);

Plot(HiVal, "High in Range", colorYellow);

Plot(HighestVal, "Highest in Range", colorBrightGreen);






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 other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




Reply via email to