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
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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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
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.