What is wrong with my TypicalPrice function? - page 2

 

i could be wrong here, but isnt (high+low+close)/3 the calculation for a pivot point?

and isnt typical price usually (bid+ask)/2 ??

https://en.wikipedia.org/wiki/Pivot_point

https://en.wikipedia.org/wiki/Typical_price

 

But you also have

Reason: