Download MetaTrader 5

CSpreadBuffer

CSpreadBuffer is a class for simplified access to spreads of the bars in the history.

Description

The CSpreadBuffer class provides a simplified access to spreads of the bars in the history.

Declaration

   class CSpreadBuffer: public CArrayInt

Title

   #include <Indicators\TimeSeries.mqh>

Inheritance hierarchy

  CObject

      CArray

          CArrayInt

              CSpreadBuffer

Class Methods by Groups

Attributes

 

Size

Sets buffer size

Settings

 

SetSymbolPeriod

Sets symbol and period

Data Access

 

At

Gets the buffer element

Data Update

 

virtual Refresh

Updates the buffer

virtual RefreshCurrent

Updates the current value

Methods inherited from class CObject

Prev, Prev, Next, Next, Save, Load, Type, Compare

Methods inherited from class CArray

Step, Step, Total, Available, Max, IsSorted, SortMode, Clear, Save, Load, Sort

Methods inherited from class CArrayInt

Type, Save, Load, Reserve, Resize, Shutdown, Add, AddArray, AddArray, Insert, InsertArray, InsertArray, AssignArray, AssignArray, At, operator, Minimum, Maximum, Update, Shift, Delete, DeleteRange, CompareArray, CompareArray, InsertSort, Search, SearchGreat, SearchLess, SearchGreatOrEqual, SearchLessOrEqual, SearchFirst, SearchLast, SearchLinear


Updated: 2017.03.30