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

Re: [EquisMetaStock Group] GannAngle indicator for All Charts Modified-28/12/2005-Ver 1.0.5



PureBytes Links

Trading Reference Links

Thank you for your reply.
I mean any month of the year eg:
x1:=Input("Month1",1,12,5);
y1:=Input("Year1",1900,2010,2004);
time1:=L=HHV(L,21);
dateA:=Year()=y1 AND Month()=x1;
LoValA:=Lowest(ValueWhen(1,dateA,L));
timeA:=dateA AND L=LastValue(LoValA);
 
 
Best regards,
Ray Ho
----- Original Message -----
Sent: Saturday, December 31, 2005 8:59 PM
Subject: Re: [EquisMetaStock Group] GannAngle indicator for All Charts Modified-28/12/2005-Ver 1.0.5

Hi Ray,

I have assume that you are asking for the current month's low. I have modified the indicator as per current month's  low.

With regards,

Rakesh

{-------------Code Starts Here-------------}

{Up Angle For 4x1,3x1,2x1,1x1,1x2,1x3,1x4 -}
{This is a GannAngle indicator for All Charts.}
{Last Modified-28/12/2005-Ver 1.0.5}

Dm:=If(DayOfMonth()<=Ref(DayOfMonth(),-1),1,0);

{Monthly Low}
Ml1:=LowestSince(1,Dm=1,L);
Dm2:=valuewhen(1,L=ML1,cum(1));

SDay:=valuewhen(1,cum(1)=Dm2,dayofmonth());
SMonth:=Valuewhen(1,cum(1)=Dm2,month());
Syear:=Valuewhen(1,cum(1)=Dm2,year());

{


YAHOO! GROUPS LINKS