PureBytes Links
Trading Reference Links
|
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@xxxx
> 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 --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/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/
|