Mathematical Indicators

This page describes the mathematical indicators supported by Algorum

Mathematical Functions

Vector Cosine (COS)

Calculates the Vector Cosine of the close price of the given period of candles

public async Task<double> COSAsync( double period )
def cos(self, period: float):
ParameterParameter TypeExpected ValuesRemarks
perioddouble (floating point value)1-200If the period value is 0, a default value of 10 will be used.
Return:double (floating point value)Unbounded

Vector Sine (SIN)

Calculates the Vector Sine of the close price of the given period of candles

public async Task<double> SINAsync( double period )
def sin(self, period: float):
ParameterParameter TypeExpected ValuesRemarks
perioddouble (floating point value)1-200If the period value is 0, a default value of 10 will be used.
Return:double (floating point value)Unbounded

Vector Subtraction (SUB)

Calculates the Vector Subtraction of the close price of the given period of candles

public async Task<double> SUBAsync( double period )
def sub(self, period: float):
ParameterParameter TypeExpected ValuesRemarks
perioddouble (floating point value)1-200If the period value is 0, a default value of 10 will be used.
Return:double (floating point value)Unbounded

Vector Tangent (TAN)

Calculates the Vector Tangent of the close price of the given period of candles

public async Task<double> TANAsync( double period )
def tan(self, period: float):
ParameterParameter TypeExpected ValuesRemarks
perioddouble (floating point value)1-200If the period value is 0, a default value of 10 will be used.
Return:double (floating point value)Unbounded