| 
 PureBytes Links 
Trading Reference Links 
 | 
You can use the WriteIf() function when returning a string. An example exploration.
sig = WriteIf( PDI( 14 ) > MDI( 14 ), "Bullish", "Bearish" );
Filter = 1;
AddTextColumn( sig, "Status");
Regards,
William Peters
www.amitools.com
Sunday, May 15, 2005, 3:56:19 PM, you wrote:
m>    How do we compare array values
m>  sig=IIf(PDI(14)>MDI(14),"Bullish","Bearish");
m>  pl help
  
------------------------ 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/GHeqlB/TM
--------------------------------------------------------------------~-> 
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
 
 |