Thats true I forgot every one has different local time in my place start 3 oclock .sorry
At 02:00 AM 24-09-2008 24-09-2008, you wrote: >Because the time straddles midnight you need to change the conditions > >Japanesetime = TimeNum() >= JapaneseOpen OR TimeNum() <= JapaneseClose; > >-- >Cheers >Graham Kav >AFL Writing Service ><http://www.aflwriting.com>http://www.aflwriting.com > >2008/9/24 Panos Boufardeas ><<mailto:panosbouf%40freemail.gr>[EMAIL PROTECTED]>: > > try that > > JapaneseOpen = 030000; > > JapaneseClose = 190000; > > > > > > At 01:38 AM 24-09-2008 24-09-2008, you wrote: > > > >>I'm trying to highlight the area where each market open and close, > >>With Mr: Edward Pottasch assistance I got the start point, I coded > >>the following code. > >> > >>The problem in "Japanesetime" it is not showing the area color. > >> > >>SetChartOptions(0, chartShowDates); > >>Plot(C,"C",colorBlack,64); > >> > >>NewYorkOpen = 070000; > >>NewYorkClose = 160000; > >> > >>JapaneseOpen = 190000; > >>JapaneseClose = 030000; > >> > >>LondonOpen = 030000; > >>LondonClose = 110000; > >> > >>NewYorktime = TimeNum() >= NewYorkOpen AND TimeNum() <= > >>NewYorkClose; > >>Japanesetime = TimeNum() >= JapaneseOpen AND TimeNum() <= > >>JapaneseClose; > >>Londontime = TimeNum() >= LondonOpen AND TimeNum() <= > >>LondonClose; > >> > >>Plot( NewYorktime, "N", colorLightOrange, > >>styleOwnScale|styleArea|styleNoLabel, - 0.0, 10 ); > >>Plot( Japanesetime, "J", colorRose, > >>styleOwnScale|styleArea|styleNoLabel, - 0.0, 9 ); > >>Plot( Londontime, "L", colorPaleTurquoise, > >>styleOwnScale|styleArea|styleNoLabel, - 0.0, 7 ); > >> > >>Please help. > >> > >>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/>http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > > <http://www.amibroker.com/support.html>http://www.amibroker.com/support.html > > Yahoo! Groups Links > > > > > > > > >
