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

[amibroker] Help with Boll B Commentary



PureBytes Links

Trading Reference Links

The commentary on the Bollinger Bands says this:


btop = BBandTop( C, Prefs( 4 ), Prefs(8)/100 );
bbot = BBandBot( C, Prefs(4), Prefs(8)/100 );
width = btop - bbot;

mawidth = MA( width, 100 );
relwidth = 100*(width - mawidth)/mawidth;

		 "Bollinger Bands are " )+	  
WriteVal( abs( relwidth ), 1.1 ) + "% " +
WriteIf( relwidth > 0, "wider" , "narrower" ) +
" than normal.";

This is printed in the commentary:

Bollinger Bands are{EMPTY}% narrower than normal.

I can't figure out where the problem is...

Thanks
Carolyn
		 


------------------------ 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/mOAaAA/3exGAA/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/