[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Static variables example



PureBytes Links

Trading Reference Links




this one add is close is same as the close 
yesterday the color is yellow
 
col = IIf( Close >= Ref( Close, -1 ), IIf(Close 
== Ref(Close,-1),colorYellow,colorBrightGreen), colorRed );Plot( Volume, 
"Volume", col, styleHistogram | styleThick); 
 
rgds, Ed

<BLOCKQUOTE 
>
  ----- Original col = IIf( Close >= Ref( 
  Close, -1 ), IIf(Close == Ref(Close,-1),colorYellow,colorBrightGreen), 
  colorRed );Plot( Volume, "Volume", col, styleHistogram | styleThick); 
  Message ----- 
  <DIV 
  >From: 
  darrinm81 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Sunday, July 11, 2004 9:19 AM
  Subject: [amibroker] Volume bar 
  colour
  Is there a way to program the following 
  indicator:If close higher than open, then the volume bar is green. And 
  if the close is lower than open, then the volume bar is red?How 
  can this be done?Thanks?!Check 
  AmiBroker web page at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.