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

[amibroker] Re: How to Fix This Time Code.



PureBytes Links

Trading Reference Links

Hi Panos,

Thank you for your reply, Yes that right when I change the time it is 
plot the area color, 

But the Japanesetime market time is (open 7:00 PM to 3:00 AM whish 
means we have to use the correct open and closed time.

Regards,



--- In amibroker@xxxxxxxxxxxxxxx, Panos Boufardeas <panosbouf@xxx> 
wrote:
>
> 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/

For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/