Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2752-standardlibrary-technicalindicators-cindicators-cspreadbuffer.md
T
2026-06-23 21:47:51 +08:00

1.4 KiB

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, Compare
Methods inherited from class CArray
Step , Step , Total , Available , Max , IsSorted , SortMode , Clear , 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