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

[EquisMetaStock Group] Re: pivot point



PureBytes Links

Trading Reference Links

Fulvio,

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 Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

 
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/