What does Close, Open, High, Low, Median, Typical and Weighted price means? - page 2

 
Jeronymite #:

The documentation for the _AppliedTo variables (where these are defined) has the formula for Weighted as "Weighted price = (Open+High+Low+Close)/4". Yet the Data Type is listed as "Weighted Price (HLCC/4)". The Price Constants section also defines the PRICE_WEIGHTED enum as HLCC (i.e. as mentioned above).

Presumably, the formula documented in the _AppliedTo page is wrong and is a typo? It should be "Weighted = (High + Low + Close + Close)/4"? That's the only correct formula, right?

Thanks.

Since it is called weighted yeah it makes sense to be HLCC

 
Jeronymite #:

The documentation for the _AppliedTo variables (where these are defined) has the formula for Weighted as "Weighted price = (Open+High+Low+Close)/4". Yet the Data Type is listed as "Weighted Price (HLCC/4)". The Price Constants section also defines the PRICE_WEIGHTED enum as HLCC (i.e. as mentioned above).

Presumably, the formula documented in the _AppliedTo page is wrong and is a typo? It should be "Weighted = (High + Low + Close + Close)/4"? That's the only correct formula, right?

Thanks.

yes. agreed. hopefully just a typo. Even on the same page it says HLCC multiple times.