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

[amibroker] Re: FibCMO Strangeness



PureBytes Links

Trading Reference Links

Yuki,
FibCMO may also be reduced in complexity from:
FibCMO=
(100*((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),3))-(Sum(IIf(C<Ref(C,-1),(Ref(C,
-1)-C),0),3)))/((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),3)+(Sum(IIf(C<Ref(C,-1
),(Ref(C,-1)-C),0),3))))+
100*((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),5))-(Sum(IIf(C<Ref(C,-1),(Ref(C,-
1)-C),0),5)))/((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),5)+(Sum(IIf(C<Ref(C,-1)
,(Ref(C,-1)-C),0),5))))+
100*((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),8))-(Sum(IIf(C<Ref(C,-1),(Ref(C,-
1)-C),0),8)))/((Sum(IIf(C>Ref(C,-1),(C-Ref(C,-1)),0),8)+(Sum(IIf(C<Ref(C,-1)
,(Ref(C,-1)-C),0),8)))))/3;

To:
FibCMO=(100*(C-Ref(C,-3))/Sum(abs(C- Ref(C,-1)),3)+
100*(C-Ref(C,-5))/Sum(abs(C- Ref(C,-1)),5)+
100*(C-Ref(C,-8))/Sum(abs(C- Ref(C,-1)),8))/3;

-CS


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/