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

[EquisMetaStock Group] RSI...no ifs



PureBytes Links

Trading Reference Links

Mormax,


Here's a RSI that does not use if statements. 
It uses MAX instead:

{RSI}
Q:=Input("Time Periods",1,1000,14);
UP:=MAX(0{zero},C-ref(C,-1));
UPMA:=Wilders(UP,Q);
DWN:=MAX(0{zero},Ref(C,-1)-C);
DWNMA:=Wilders(DWN,Q);
RS:=UPMA/DWNMA;
100-(100/(1+RS))
{end}


Preston





------------------------ 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/