MQL4 Reference
Standard constants
Price constants
|
Applied price constants. It can be any of the following values:
| Constant | Value | Description |
| PRICE_CLOSE | 0 | Close price. |
| PRICE_OPEN | 1 | Open price. |
| PRICE_HIGH | 2 | High price. |
| PRICE_LOW | 3 | Low price. |
| PRICE_MEDIAN | 4 | Median price, (high+low)/2. |
| PRICE_TYPICAL | 5 | Typical price, (high+low+close)/3. |
| PRICE_WEIGHTED | 6 | Weighted close price, (high+low+close+close)/4. |
|
|
|