[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

Thank you very much Graham. And I would like to know your outlook 
about this code.

All the best,


--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> 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
> 
> 
> 
> 2008/9/24 Panos Boufardeas <panosbouf@xxx>:
> > 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
> >
> >
> >
> >
>



------------------------------------

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/