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

[EquisMetaStock Group] Re: Create 2 indicators showing normal range of stock per week & range of stock now?



PureBytes Links

Trading Reference Links



Hi

Thank you for your function.

Why 2 indicators?

Because I am trying to see if there is a relationship between the 
weekly range of a stock and where the stock is within the week 
currently.

Say the weekly range of the stock is $0.20 and it is currently at 
$0.18 range on Wednesday - Which means to say under its past 
volatility, it will move another $0.02 to $0.04 

Is there a function that will show me these info?

--- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" 
<josesilva22@xxxx> wrote:
> 
> There's an error in that formula - try this version:
> 
> =============
> Range - basic
> =============
> ---8<--------------------------
> 
> { Avg of Hi/Lo range over x periods }
> { http://www.metastocktools.com }
> 
> { User inputs }
> pds1:=Input("Lookback periods",1,2600,5);
> pds2:=Input("Average over x periods",1,260,35);
> type:=Input("type:  [1]Points,  [2]%",1,2,1);
> 
> { Range }
> hi:=HHV(H,pds1);
> lo:=LLV(L,pds1);
> range:=If(type=1,hi-lo,(hi-lo)/hi*100);
> SmRange:=Mov(range,pds2,S);
> avg:=Cum(SmRange)/Cum(IsDefined(SmRange));
> 
> { Plot in own window }
> avg;SmRange
> 
> ---8<--------------------------
> 
> 
> jose '-)
> http://www.metastocktools.com
> 
> 
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" 
<josesilva22@xxxx> 
> wrote:
> > 
> > Why two indicators?  Try this:
> > 
> > =============
> > Range - basic
> > =============
> > ---8<--------------------------
> > 
> > { Avg of Hi/Lo range over x periods }
> > { http://www.metastocktools.com }
> > 
> > { User inputs }
> > pds1:=Input("Lookback periods",1,260,5);
> > pds2:=Input("Average over x periods",1,260,35);
> > type:=Input("type:  [1]Points,  [2]%",1,2,1);
> > 
> > { Range }
> > hi:=HHV(H,pds1);
> > lo:=LLV(L,pds1);
> > range:=If(type=1,hi-lo,(hi-lo)/hi)*100;
> > SmRange:=Mov(range,pds2,S);
> > avg:=Cum(SmRange)/Cum(IsDefined(SmRange));
> > 
> > { Plot in own window }
> > avg;SmRange
> > 
> > ---8<--------------------------
> > 
> > 
> > jose '-)
> > http://www.metastocktools.com
> > 
> > 
> > 
> > --- In equismetastock@xxxxxxxxxxxxxxx, "wetrade2002" 
<wetrade2002@xx
> ..
> > wrote:
> > 
> > Hi
> > 
> > I am trying to create 2 indicators that shows a stock
> > movement(Range) per week and where the range of the stock is
> > currently?
> > 
> > I find that ATR does not work that well.
> > 
> > I want to see the average of the HIGH - LOW for the week for 
maybe 7 
> > weeks.
> > 
> > Thanks








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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/