Traders Laboratory - View Single Post - VWAP Indicator with 1SD and 2SD bands
View Single Post
  #2 (permalink)  
Old 08-03-2007, 12:51 PM
nickm001 nickm001 is offline
nickm001 has no status.

 
Join Date: Jan 2007
Posts: 77
Thanks: 0
Thanked 3 Times in 3 Posts
Re: VWAP Indicator with 1SD and 2SD bands

Hi DbnTina,
I am not sure if the calculation for vi is correct.
In your EL you have used
variance_i = ((UpTicks[Value1]+DownTicks[Value1])/ShareW) * (Square(AvgPrice[i]-VolWAPValue));

where (UpTicks[i]+DownTicks[i]) represents volume of the bar [i]... I think in a probability calculation one should use total volume at price i, not just volume of the bar i. Lets ask Jerry for clarification.

Reply With Quote