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

Re: Green and Red Volume Bars



PureBytes Links

Trading Reference Links


Thomas,
IMHO you'll have to create two indicators - one for 
updays and one for downdays - and then display them in the same 
subwindow.
 
Something like: If(Upday, V, 0)  
 {choose green color, display as histogram}
 If(Downday, V, 0)   {choose 
red color, display as histogram}
 
You might choose to define Upday as: C>ref(C,-1) 
and Downday as C<=ref(C,-1) etc.
 
Hope this helps!
Staffan
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  ----- Original Message ----- 
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From: 
  Thomas D. 
  Smith 
  To: <A 
  title=metastock-digest@xxxxxxxxxxxxxxxxxx 
  href="mailto:metastock-digest@xxxxxxxxxxxxxxxxxx";>metastock-digest@xxxxxxxxxxxxxxxxxx 
  
  Sent: Wednesday, February 06, 2002 3:44 
  PM
  Subject: Green and Red Volume Bars
  
  Hi fellow MetaStock Users,
   
  <FONT face="Times New Roman" 
  size=3>    Does anyone have or know what the 
  indicator code should be that will display the Volume Bars in Green on up days 
  and Red on down days ?
   
  Any help is appreciated, T 
Trader