hi,
I just used time I had set. Your times need to be:
starttime = 090000;
endtime = 170000;
see help Timenum(), rgds, Ed
SYNTAX timenum()
RETURNS ARRAY
FUNCTION Returns the array with numbers that represent quotation time
coded as follows:
10000 * hour + 100 * minute + second, so 12:37:15 becomes 123715
----- Original Message -----
From: Mohammed
To: [email protected]
Sent: Tuesday, September 23, 2008 7:11 PM
Subject: [amibroker] Re: Time Coding Help Please....
Dear Edward Pottasch,
Thank you very much for your nice help, and could you please explain
how this number (093000) represent (09:00 AM ) and (160000) represent
(05:00 PM )
How you calculate this?
All the best.
--- In [email protected], "Edward Pottasch" <[EMAIL PROTECTED]>
wrote:
>
> here's a way, rgds, Ed
>
> starttime = 093000;
> endtime = 160000;
>
> timecond = TimeNum() >= starttime AND TimeNum() <= endtime;
>
> SetChartOptions(0, chartShowDates);
> Plot(C,"C",colorWhite,64);
> Plot( timecond, "", colorDarkGrey, styleArea|styleOwnScale,0,1);
>
>
>
>
> ----- Original Message -----
> From: Mohammed
> To: [email protected]
> Sent: Tuesday, September 23, 2008 6:56 PM
> Subject: [amibroker] Time Coding Help Please....
>
>
> Hi all
>
> I would like to highlight the chart background between (09:00 AM
and
> 05:00 PM)?
>
> Any One can help Please ..
>
> Regards,
>