Use this
Addcolumn(IIF(RSI()>45, ASC("Y"), ASC("N")), "RSI", formatchar,......)
> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Vinay Gakkhar.
> Sent: Saturday, 26 July 2008 2:14 PM
> To: Amibroker
> Subject: [amibroker] Need help
> 
> When I use the following, and Explore in Automatic Analysis, 
> I get the result as 'B' or 'S'.
> 
> AddColumn (IIf( RSI() ,66,83),"RSI", formatChar, IIf( RSI() 
> >= 45 OR MFI()> = 75 , colorGreen, colorRed ) ) ;
> 
> Can anyone guide me how to get 'Y' in place of 'B' and 'N' in 
> place of 'S' ?
> 
> Thanks,
> 
> gakkhar
> 
> 
> ------------------------------------
> 
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
> 
> 
> 

Reply via email to