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

[EquisMetaStock Group] TrendScore



PureBytes Links

Trading Reference Links


In Stock & Commgities V. 11:9 (382-386):Rating Trend Strenth by Tushar S.
Chande I found the Metastock Formula 
--------------------------------------
TrendScore:=
(If(C>=Ref(C,-11),1,-1)+
If(C>=Ref(C,-12),1,-1)+
If(C>=Ref(C,-13),1,-1)+
If(C>=Ref(C,-14),1,-1)+
If(C>=Ref(C,-15),1,-1)+
If(C>=Ref(C,-16),1,-1)+
If(C>=Ref(C,-17),1,-1)+
If(C>=Ref(C,-18),1,-1)+
If(C>=Ref(C,-19),1,-1)+
If(C>=Ref(C,-20),1,-1));
TrendScore;
0
-----------------------------------
If it is posible the code for the formula If

A) The starting day (in the above example  x=10) is a variable (in exam
Input.... (5,100,10)) and
B) The Range days (in the above example  y=10 Days) is also a variable (in
exam Input....(5,100,10)) 

Thanks






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/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/