﻿ Math

# Math

Table descriptions will be added soon.  Until then, click on function link to see description in the function's topic page.

Function:

Description:

AbsoluteValue

Returns the absolute value of a number.

ArcCosine

Returns the arc cosine of an angle specified in radians. The range of the result is 0 to PI radians.

ArcSine

Returns the arc sine of an angle specified in radians.

ArcTangent

Returns the arc tangent of an angle specified in radians.

ArcTangentXY

Returns the arc tangent of an angle specified in radians by the number X / Y.

Average

Simple moving average that reurns the sum of the values divided by the number of values.

CAGR

The CAGR function will return the Compounded Annual Growth Rate as computed internally by Trading Blox.

Ceiling

Ceiling returns a decimal value to an integer as follows:

Values greater than zero return the next integer away from zero.

Values less than zero return the next integer towards zero.

Correlation

Correlation uses the Pearson's correlation coefficient method to return the statistical coefficient for the range of bars between series.

CorrelationLog

Cosine

Returns the arc sine of an angle specified in radians.

Returns the angle in radians corresponding with an angle specified in degrees.

EMA

Returns the Exponential Moving Average, based on the last value of the series, the new value, and the number of days in the moving average.

Exponent

Returns e (2.71828182845904, Base of natural logarithms) raised to a power.

Floor

Floor returns a decimal value to an integer as follows:

Values greater than zero return the next integer towards zero.

Values less than zero return the next integer away from zero.

Hypotenuse

Calculates the length of the hypotenuse of a right triangle, given the length of the two sides sideOne and sideTwo.

IfThenElse

Returns the second parameter value if the first parameter value is true. Returns the third parameter value if the first parameter value is false. This function is analogous to the Microsoft Excel IF function.

IsUndefined

Returns True if the variable is undefined.

Log

Returns the logarithm of a number.

Max

Returns the highest value in a list of values.

Min

Returns the lowest value in a list of values.

Returns the angle in degrees corresponding with an angle specified in radians.

Random

Returns a random integer given a range of integers.

RandomDouble

Returns a random double between 0 and 1.

RandomSeed

Seeds the random number generator with the optional seed value, or the time if seed value is excluded, so that the sequence of random numbers is different every time a test is run.

Round

Returns the rounded value.

Sign

Returns a value of 1 when the sign of a value is Positive, and a value of -1 when the sign of a value is negative.

Sine

Returns the sine of an angle specified in radians.

Square Root

Returns the square root of the specified number.

StandardDeviation

By default, Trading Blox Builder Standard Deviation function uses Population formula instead of Sample formula to be more consistent with industry standards.  The Standard Deviation formula used can be changed.

StandardDeviationLog

SumValues

Returns the sum of a list of values.

Tangent

Returns the tangent of an angle specified in radians.

 Last Edit: 7/13/2017 Edit Time: 7/13/2017 2:42:06 PM Topic ID#: 414

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software