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

Re: [Metastockusers] volume formula help



PureBytes Links

Trading Reference Links




Pablo,
Please remove the >= and 
<= because it would give positive results in both situations, when the volume 
is equal.
PosVol:= If(C 
>= Ref(C,-1), V, 0);NegVol:= If(C < Ref(C,-1),  V * (-1), 
0);DusantChief Architect<A 
href="">http://www.candlestrength.com/
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Pablo 
  Paolucci 
  To: <A 
  title=Metastockusers@xxxxxxxxxxxxxxx 
  href="">Metastockusers@xxxxxxxxxxxxxxx 
  
  Sent: Tuesday, February 10, 2004 6:32 
  AM
  Subject: [Metastockusers] volume formula 
  help
  Hi,the idea of the formula its to calculate the 
  positive volume and thenegative volume tick by tick, comparing the current 
  valur to the previous.So, if the current its bigger or equal to the 
  previus, its + or if its loweror equal its -Now i have problems to 
  make the calculations use a single day (including theprevious close), in a 
  manner that will give a single value per day to makean 
  oscilator.Any suggestions?so far the formulas im using 
  are:v-If(C<=Ref(C,-1),-V,0)v+If(C>=Ref(C,-1),+V,0)







Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/Metastockusers/ 
To unsubscribe from this group, send an email to:Metastockusers-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.