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

[EquisMetaStock Group] Re: Help Needed



PureBytes Links

Trading Reference Links

Khalid, the indicator code for Volume % change has already been 
posted (again below).  Now it's time for you to get the manual out, 
and learn some MetaStock basics... ;)

===============
Volume % change
===============
---8<--------------------------
{ Volume % change v1.0
  http://www.metastocktools.com }

{ Indicator inputs }
pds:=Input("Volume lookback periods",1,2520,21);
type:=Input("% type:  [1]Standard,  [2]Normalized",1,2,1);

{ Volume % change }
Vper:=(V/Ref(V,-pds)-1)*100;

{ Normalized Vol change to +-100% }
norm:=If(V<Ref(V,-pds),Vper,(1-Ref(V,-pds)/V)*100);

{ Choose Std/Norm plot }
Volper:=If(type=1,Vper,norm);

{ Historical average }
avg:=Cum(VolPer)/Cum(IsDefined(VolPer));

{ Plot in own window }
avg;VolPer

---8<--------------------------


Hint:
Reference the Indicator above in Column A of your exploration.


jose '-)
http://www.metastocktools.com



> Hi Jose,
> 
> Actually I want an exploration which can scan about 100 stocks 
> showing value of volume in % (increase or decrease) from previous 
> day,in a column. I use it in my daily free analysis report. For the 
> time being I calculate it manually, which is very time consuming.
>  To sum up I need code for "today's volume is </> yesterday's 
> volume". I donot know how to write a code for % increase or
> decrease.
> I will be obliged if you provide me a code.
> 
> Thanks & Regards.
> 
> Khalid





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/