[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Time Coding Help Please....



PureBytes Links

Trading Reference Links

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
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 amibroker@xxxxxxxxxps.com, "Edward Pottasch" <empottasch@...>
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: amibroker@xxxxxxxxxps.com
> 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,
>

__._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___