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

[EquisMetaStock Group] Help needed!



PureBytes Links

Trading Reference Links

Hi,
Can someone help me to solve this indicator?
Many thanks in advance.

Regards
Colin
{ Input for the followig date }

Day2 := Input("Following date: Day",1,31,4);
Month2 := Input("Following date: Month",1,12,1);
Year2 := Input("Following date: Year",1900,2400,2007); 

{ Input for preceding date }

Day1 := Input("Preceding date: Day",1,31,4);
Month1 := Input("Preceding date: Month",1,12,1);
Year1 := Input("Preceding date: Year",1900,2400,2007)

{ Variable assignment }

x:=ValueWhen( 1, DayOfMonth() = Day2 AND Month() = Month2 AND Year() 
= Year2, CLOSE );
y:=ValueWhen( 1, DayOfMonth() = Day1 AND Month() = Month1 AND Year() 
= Year1, CLOSE );

{ % Rate of change - price }

a:=100*(x-y)/y;

{ Plot in own window }



 
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/