| 
 I am using version 4.74.6 and have run across 
something that I have not seen before and that I assume is not a 
bug. 
  
Using the simple code below, the plot correctly 
displays the right color depending on the value of the variable diffMa.  
However, the name in Plot() is a constant color (lime) instead of the color 
of the plot which is defined in IIF().  (see attached screen shot).  
If IIF() is replaced by a color (e.g, colorRed), the name correctly assumes this 
color.  The problem occurs only when IIF() is used.  Lime is the up 
color for candlesticks, but changing this color does not change the color of 
name on the chart. 
  
Are there new settings for controlling the color of 
name?  Any ideas? 
  
Bill 
  
---------------------------- 
  
MA1 =  MA(C, 
200);
MA2 =  MA(C, 
50);
diffMa = MA1 - MA2; 
colorDiffMa =  IIf(diffMa <= 0, 
colorRed, colorWhite);
Plot (diffMa, "diffMa", colorDiffMa, styleLine);
  
   
  
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 
 
  
    
  
  
  
    SPONSORED LINKS
   
       
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
 |