MqlRates Structure
Overview
The MqlRates structure is used to store historical data for a trading period, including prices, volumes, and spread.
Structure Definition
struct MqlRates {
datetime time; // Period start time
double open; // Open price
double high; // Highest price of the period
double low; // Lowest price of the period
double close; // Close price
long tick_volume; // Tick volume
int spread; // Spread
long real_volume; // Trade volume
};
Properties
time**: datetime - The start time of the trading period.open**: double - The opening price for the period.high**: double - The highest price reached during the period.low**: double - The lowest price reached during the period.close**: double - The closing price for the period.tick_volume**: long - The volume of ticks during the period.spread**: int - The spread value for the period.real_volume**: long - The actual trade volume for the period.Related Functions
MqlRates structures.See Also
Previous
arrow_back
Mqldatetime