Hi Tim, I am also just getting
to know Amibroker and AFL, the .dll was not written by me. I would like to ask
more experienced users to help a hand here. I can tell you the logic in the code
but implementing it and getting nothing but green (no errors ) is a bridge to
far for me now. the logic to be used could be : determine the highest high of a
period the lowest low and the close. calculate your
pivots
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@xxxxxxxxxps.com, "Tim" <timkthung@xx.>
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@xxxxxxxxxps.com
>
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@xxxxxxxxxps.com, "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
>
>
>