PureBytes Links
Trading Reference Links
|
I am new to AFL code and have failed at getting the following formula
to work. I am trying to create a ribbon that will change colors
determined by the Trin reading. I can get it to work with two colors
but am having problems with multi colors. I appreciate any help you
can give.
David K.
//Trin Barometer//
Val1 = Foreign("$Trin","c");
Plot( 100, Ribbon",
IIf( val1>.60, colorDarkGreen,
IIf( Val1>.80, colorBrightGreen,
IIf( Val1>.95, colorYellow ,
IIf(val1>1.05,colorOrange,
IIf( Val1>1.10, colorRed,
) ) ) ) )) ,
styleOwnScale|styleArea|styleNoLabel, -0.5, 100 );
------------------------ 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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|