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

RE: [amibroker] FibCMO strangeness



PureBytes Links

Trading Reference Links

A suggestion because there are too many sums to work in detail for me, but I
have found with some indicators that if you get a period of no change to the
price, the indicator lines will go to the top or bottom of the range. 

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx] 
Sent: Sunday, 24 August 2003 5:23 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] FibCMO strangeness


Every once in a while the following formula:

Title="FibCMO";

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;

Plot(FibCMO,"",1,1);

Plot(TEMA(FibCMO,11),"",7,1);

PlotGrid(60, Color = colorDefault );
PlotGrid(-20, Color = colorDefault);

. . . produces what you see on the hard right edge of the screen shot.

Can anyone suggest a remedy?

Yuki ^_^
------------------------ 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/ 



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