| 
 Hello, 
  
I want to use encodecolor function with a 
variable parameter 
  
:encodecolor(colorEMA) 
  
where colorEMA = iif(a>b, 
colorgreen,colorred); 
  
but ihave a syntax error 
Is there a way to code it properly 
? 
  
  
Thanks 
  
Check AmiBroker web page at: 
http://www.amibroker.com/ 
 
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
  
 
 
 
Yahoo! Groups Links 
 |