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 > >
