use deFlagTimeRange( starttime, endtime) to mark your market open and you market close
then something like
openmarket=deFlagTimeRange( starttime, endtime);
highofmarket=null;//initialisation
lowofmarket=null;//initialisation
if (openmarket)
{
highofmarket=iif(h>highofmarket,h,highofmarket);
lowofmarket=iif(l<lowofmarket,l,lowofmarket);
marketpivot= (highofmarket+ lowofmarket+c)/3;
suport1=(marketpivot*2)-highofmarket;
resistance1=(marketpivot*2)-lowofmarket;
/* and so on */
}
this is just of the top of my head, i haven't tested this code ( i doubt it works but maybe you get the idea and can take it further.
Kind regards
Marc
--- In amibroker@xxxxxxxxxxxxxxx, "Tim" <timkthung@xxx> wrote:
>
> Thanks de. I had downloaded it. Would you please show me how to use it.
>
>
> From: de_techneut
> Sent: Thursday, December 03, 2009 11:29 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: SUPER PIVOT POINTS
>
>
>
> Hi Tim, it is possible to do that with the use of a plugin called deDATETIME. it has functions which enables you to define your own time interval hope this helps. Marc
> --- In amibroker@xxxxxxxxxxxxxxx, "Tim" timkthung@ wrote:
> >
> > Hello everybody,
> > Would anyone please tell me whether we could define the cutting time in calculating the daily pivots for the next day.
> > I raise this issue because of my time-zone difference from the NY stock exchange.
> > Much appreciate if anyone could help.
> >
> > Tim
> >
>