MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Standard constants  Price constants

 

Applied price constants. It can be any of the following values:

ConstantValueDescription
PRICE_CLOSE0Close price.
PRICE_OPEN1Open price.
PRICE_HIGH2High price.
PRICE_LOW3Low price.
PRICE_MEDIAN4Median price, (high+low)/2.
PRICE_TYPICAL5Typical price, (high+low+close)/3.
PRICE_WEIGHTED6Weighted close price, (high+low+close+close)/4.