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

Re: [EquisMetaStock Group] Resistence and volume



PureBytes Links

Trading Reference Links

Vincenzo

This needs a date filter of some sort to be true during the specified dates. Once you have that it
is simple to calculate the volume during that period. I am sure there are other methods also if this
is not suitable.

> MessageI have a resistance from 11/17/2033 to 12/2/2003. I want to add the volume in that period.
How to make?
Thanks.

  {Date Filter}
  {Copyright© 2003 Roy Larsen}
  {rlarsen@xxxxxxxxxxxxxx}
Sd:=Input("Start day"  ,1,31,17);
Sm:=Input("Start month",1,12,11);
Sy:=Input("Start year" ,1980,2010,2003);
Ed:=Input("End day"    ,1,31,2);
Em:=Input("End month"  ,1,12,12);
Ey:=Input("End year"   ,1980,2010,2003);
Start:=(DayOfMonth()>=Sd AND Month()=Sm AND
Year()=Sy) OR Year()>Sy OR (Year()=Sy AND Month()>Sm);
End:=(DayOfMonth()<=Ed AND Month()=Em AND
Year()=Ey) OR Year()<Ey OR (Year()=Ey AND Month()<Em);
Filter:=Start AND (End OR (Start AND Alert(Start=0,2)));

Cum(Filter*V);

You might possibly want

Cum(Filter*V)*Filter;

Roy





 
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/