Skip to content

CiStochastic

CiStochastic

CiStochastic is a class intended for using the Stochastic Oscillator technical indicator.

Description

CiStochastic class provides the creation, setup, and access to the data of the Stochastic Oscillator indicator.

Declaration

class CiStochastic: public CIndicator

Title

#include <Indicators\Oscilators.mqh>

Inheritance hierarchy

CObject

CArray

CArrayObj

CSeries

CIndicator

CiStochastic

Class Methods by Groups

Attributes
KperiodReturns the averaging period for the %K line
DperiodReturns the averaging period for the %D line
SlowingReturns the slowing period
MaMethodReturns the averaging method
PriceFieldPrice type (Low/High or Close/Close) to apply
Create
CreateCreates the indicator
Data Access
MainReturns the buffer data of the main line
SignalReturns the buffer data of the signal line
Input/output
virtual TypeVirtual identification method

Methods inherited from class CArray

: Step, Step, Total, Available, Max, IsSorted, SortMode, Clear, Sort

Methods inherited from class CArrayObj

: FreeMode, FreeMode, Save, Load, CreateElement, Reserve, Resize, Shutdown, Add, AddArray, Insert, InsertArray, AssignArray, At, Update, Shift, Detach, Delete, DeleteRange, Clear, CompareArray, InsertSort, Search, SearchGreat, SearchLess, SearchGreatOrEqual, SearchLessOrEqual, SearchFirst, SearchLast

Methods inherited from class CSeries

: Name, BuffersTotal, BufferSize, Timeframe, Symbol, Period, PeriodDescription, RefreshCurrent

Methods inherited from class CIndicator

: Handle, Status, FullRelease, Redrawer, Create, BufferResize, BarsCalculated, GetData, GetData, GetData, GetData, Minimum, MinValue, Maximum, MaxValue, Refresh, AddToChart, DeleteFromChart, MethodDescription, PriceDescription, VolumeDescription

Last updated on