PureBytes Links
Trading Reference Links
|
Hi Scott
I'm not sure what you mean with your question about dynamic mode. Possibly you're referring to both
plots being the same initial value (on my test chart of MRE). If that's the case then change
UL;
LL;
to
ValueWhen(1,UL<>LL,UL);
ValueWhen(1,UL<>LL,LL);
If I've got it wrong, no problem.
Regards
Roy
> I offered this formula in a another forum, but have had no
> feedback...
>
> I now offer it to you. If this is what you are looking for, great!
> If not, let me know and I will modify it to suit.
>
> --8><------------------------
> {Pivots v1.02}
> {©Copyright 2004 Scott Bunny}
>
> {Dynamics:}
> { 1 - counts from first bar forward}
> { 2 - counts from last bar backwards}
>
> prd:=Input("Periods...[1-260]",1,260,30);
> multiplier:=Input("Multiplier...[0.1-2.0]",0.1,2,0.5);
> dynamic:=Input("1-Static, 2-Dynamic...",1,2,2);
>
> prds:=If(dynamic=1,Frac(Cum(1)/prd),Frac((LastValue(Cum(1))-Cum(1)
> +1)/prd));
>
> hi:=If(prds=0,HHV(H,prd),PREV);
> lo:=If(prds=0,LLV(L,prd),PREV);
> cl:=If(prds=0,C,PREV);
>
> pivot:=(hi+lo+cl)/3;
> range:=(hi-lo)*multiplier;
>
> UL:=pivot+range;
> LL:=pivot-range;
>
> UL;
> LL;
> --8><------------------------
>
> Hope this helps.
>
> wabbit :D
>
> P.S. Roy/Jose/Henry etc. Is there a neat way to deal with the first
> prd bars on the chart when in dynamic mode?
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Fulvio" <fulami@xxxx> wrote:
> > hi,
> >
> > is it possible to calculate pivot point with a metastock
> exploration?
> >
> > Thanks,
> > Fulvio
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|