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

[EquisMetaStock Group] Re: High - Low Monthly



PureBytes Links

Trading Reference Links


Try this MS indicator:

==============================
Hi/Lo/Close of selected period
==============================
---8<-------------------------

{ Hi/Lo/Close of specified date }
{ http://www.metastocktools.com }

{ Date inputs }
StDay:=Input("start Day",1,31,1);
StMnth:=Input("start Month",1,12,12);
StYear:=Input("start Year",1800,2200,2004);
EnDay:=Input("end Day",1,31,31);
EnMnth:=Input("end Month",1,12,12);
EnYear:=Input("end Year",1800,2200,2004);

{ Selected date period }
start:=Year()>StYear
 OR (Year()=StYear AND (Month()>StMnth
  OR Month()=StMnth AND DayOfMonth()>=StDay));
end:=Year()<EnYear
 OR (Year()=EnYear AND (Month()<EnMnth
  OR Month()=EnMnth AND DayOfMonth()<=EnDay));
date:=
start AND (end OR (start AND Alert(start=0,2)));

{ Hi/Lo/Close for date period }
Hi:=Highest(ValueWhen(1,date,H));
Lo:=Lowest(ValueWhen(1,date,L));
Cl:=
ValueWhen(1,date=0 AND Alert(date,2),Ref(C,-1));

{ Plot on price chart }
Hi;Lo;Cl

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

jose '-)


--- In equismetastock@xxxxxxxxxxxxxxx, "Vincenzo Pace" <vyncy68@xxxx> 
wrote:
> Hello  
> exists a formula  for being able to find which has been the maximum
> value, the closing or the minimal value of a precise month (es. the
> maximum of the month of December 2004)?
> 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/