Вы находитесь на странице: 1из 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Search

Sierra Chart
Financial Markets Charting and Trading Platform

Main

Documentation

Getting Started

Account Management

Support

Home >> (Table of Contents) Worksheets and Workbooks >> Worksheet Functions

Spreadsheet Functions
Introduction Using Spreadsheet Functions Serial DateTime Values Available Spreadsheet Functions Analysis Tool Pack Functions

Introduction
This documentation page documents all of the available Spreadsheet functions. Virtually all of the functions that are available in Microsoft Excel and OpenOffice Calc are available. Spreadsheet functions are entered into cells. They take parameters and data, make calculations on the parameters and data, then return the result to the cell.

Using Spreadsheet Functions


To use a Spreadsheet function, use the = sign to indicate a formula, enter the function name, then enter the parameters and data enclosed in parentheses. Separate each parameter with a comma ",". The formula does not only have to contain a single function, it can contain anything that can be part of a formula as described on the Working with Spreadsheets documentation page. Spreadsheet function parameters can be Numbers, Cell and Range References, Other Functions, User Defined Names, Text Strings (the text needs to be in quotation marks), Dates and Times, Logical Values (TRUE, FALSE), and Error Values. Any of these types can be used as a parameter as long as they are compatible with or can be converted to the parameter type specified in the function format in the list of Spreadsheet Functions. Parameters can also use operators. Use a cell or range reference as a parameter or as part of an expression, if you want to use data for a function parameter that is located in a cell or a range.

Examples:
=SQRT(4) This function can be entered in any cell and will return 2. =SQRT(B1) Returns the square root of the value in cell B1. =SQRT(4+B1) Returns the square root of 4 plus the value in cell B1. The parameter to this function is called an Expression. =SUM(F4:F24) Returns the sum of cells F4 through F24. The format for some functions specify an Expression. An expression is just like a formula. Except that it is not prefixed with an =. Therefore, anything you can use in a formula can be used in an expression. See the Working with Spreadsheets documentation page for information on formulas and expressions. The simplest form of an expression is a single number ( Example: 5). A logical expression is one that returns TRUE if it evaluates to a nonzero number and returns FALSE if it evaluates to 0. If the function format shows a parameter in brackets ([ ]), then that parameter is optional. When a parameter specifies a list, then use a reference to a range or a comma separated list. A Text String is text and can be a single character or a series of characters enclosed in quotation ("") marks. [Top]

Serial DateTime Values


Sierra Chart Spreadsheets store Dates and Times as floating point numbers which represent the time since 1900-Jan-1 at 00:00. The

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 1 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

integer part of the floating-point number represents the days and the fractional part, to the right of the decimal place, represents the time. This is exactly the same way as Excel and OpenOffice Calc represent date and Time values. This is called a Serial Date Time value. The Spreadsheet Study, Spreadsheet System/Alert and the Spreadsheet System for Trading studies output Date-Time values to column A using this format. Time Examples: 12 PM would be represented as .5. 1 minute or 00:01 would be represented as 1/1440. There are 1440 minutes in a day. 00:01:10 would be represented as 70/86400. Their 86,400 seconds in a day. Date Examples: 1900-Jan-2 would be represented as 2. [Top]

Available Functions

Format: ABS(number)

Returns the absolute value of the number.

Format: ACOS(number)

Returns the arc cosine of the number.

Format: ACOSH(number)

Returns the inverse hyperbolic cosine of the number.

Returns a cell address as text. ref type: Format: ADDRESS(row, column, ref type [, A1 format - logical value] [, sheet name]) 1 = absolute 2 = absolute row, relative column 3 = relative row, absolute column 4 = relative

Format: AND(comma separated list of logical condition expressions)

Returns TRUE if all the logical condition expressions ar TRUE. Otherwise, FALSE will be returned. The logica condition expression list can be one or more expression separated by commas. You are not limited to just tw expressions, you can have several. Examples: =AND(E3 > 10,AA3 = 100) (Spreadsheet Study formula) =AND(C > 100,SG1 < 50) (Simple Alert formula) =OR(AND(H > 100,SG1 > 100),AND(L < 80,SG1 < -100) (Simple Alert formula)

Format: AREAS()

Returns the number of areas based on a reference.

Format: ASIN(number)

Returns the arcsine of the number.

Format: ASINH(number)

Returns the inverse hyperbolic sine of the number.

Format: ATAN(number)

Returns the arctangent of the number.

Returns the four-quadrant arctangent of the specified x

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 2 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: ATAN2(x, y)

and y- coordinates in radians between -pi and pi excludin -pi. A positive result represents a counterclockwise angl from the x-axis, a negative result represents a clockwis angle. Returns the inverse hyperbolic tangent of the number.

Format: ATANH(number)

Format: AVEDEV()

Retuns the average of the absolute deviations of dat points from their mean.

Format: AVERAGE(number list.)

Returns the average of the number list.

Format: AVERAGEA()

Returns the average of the values in its list of parameter including text and logical values.

Format: AVERAGE(number list.)

Returns the average of the number list.

Format: BETADIST()

Returns the cumulative beta probability density function.

Format: BETAINV()

Returns the inverse of the cumulative beta probabilit density function.

Format: BINOMDIST()

Returns the probability.

individual

term

binomial

distributio

Format: CEILING(number, multiple)

Rounds the number up to the nearest specified multiple.

Format: CHAR(number)

Returns the character that is equal to the specified ASCI value.

Format: CHIDIST()

Returns the one-tailed probability of the chi-square (X^2) distribution; the area in the right tail under the chi squared distribution curve.

Format: CHIINV()

Returns the inverse of the one-tailed probability of th chi-squared (X^2) distribution.

Format: CHITEST()

Returns the test for independence of the characteristics i a table.

Format: CHOOSE(index, item list)

Returns a value from the item list that is at the position o the specified index.

Format: CLEAN(text)

Removes the non-printable characters from the tex string.


Page 3 of 25

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: CODE(text)

Returns the computers character set code of the firs character in the text string.

Format: COLUMN(reference)

Returns the column number of the reference.

Format: COLUMNS(reference)

Returns the number of columns in the range reference.

Format: COMBIN()

Returns the number of combinations for a given numbe of items.

Format: CONCATENATE(text1, text2, ....)

Returns a text string with the text strings joined.

Format: CONFIDENCE()

Returns the confidence interval for a population mean.

Format: COS(number)

Returns the cosine of the angle.

Format: COSH(number)

Returns the hyperbolic cosine of the number.

Format: CORREL()

Returns the correlation coefficient between two data sets.

Format: COUNT(value list)

Returns the number of values in the list.

Format: COUNTBLANK()

Counts the empty cells in a specified range.

Format: COUNTIF(range, criteria)

Returns the number of cells in the range which meet th criteria. Criteria can be a number, an expression, or text Criteria Example: 4, "3", ">45", "bird".

Format: COUNTA(expression list)

Returns the number of non-blank values in the list.

Format: COVAR()

Returns the covariance, the average of products o deviations, for each data point pair.

Format: CRITBINOM()

Returns the minimum number yields a binomia distribution less than or equal to the specified criteria.

Format: CROSSFROMABOVE(range1, range2) Example: =CROSSFROMABOVE(AA3:AA4,AB3:AB4) Example: =CROSSFROMABOVE( {1, 2}, { 2, 1})

Compares 2 ranges of values. Each range needs to contai at least 2 numbers and can contain 3 numbers. For th greatest accuracy use a range which includes 3 value with this function. Determines if the first range of value crosses the second range from above. Returns a boolea value:

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 4 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Example: =CROSSFROMABOVE(AA3:AA4, { 2, 1}) Example: =CROSSFROMABOVE(E3:E5, AA3:AA5)

TRUE = The first range crosses the second Range from above. FALSE = The first range doesn't cross the second Rang from above.

Format: CROSSFROMBELOW(range1, range2) Example: =CROSSFROMBELOW(AA3:AA4,AB3:AB4) Example: =CROSSFROMBELOW( {1, 2}, { 2, 1}) Example: =CROSSFROMBELOW(AA3:AA4, { 2, 1}) Example: =CROSSFROMBELOW(E3:E5, AA3:AA5)

Compares 2 ranges of values. Each range needs to contai at least 2 numbers and can contain 3 numbers. For th greatest accuracy use a range which includes 3 value with this function. Determines if the first range of value crosses the second range from below. Returns a boolea value: TRUE = The first range crosses the second Range from below. FALSE = The first range doesn't cross the second Rang from below.

Format: CROSSOVER(range1, range2) Example: =CROSSOVER(AA3:AA4,AB3:AB4) Example: =CROSSOVER( {1, 2}, { 2, 1}) Example: =CROSSOVER(AA3:AA4, { 1, 1}) Example: =CROSSOVER(E3:E5, AA3:AA5)

Compares 2 ranges of values. Each range needs to contai at least 2 numbers and can contain 3 numbers. For th greatest accuracy use a range which includes 3 value with this function. Returns a value which indicates th type of crossing: 1 = The first Range crosses the second Range from above. -1 = The first Range crosses the second Range from below. 0 = The ranges do not cross each other.

Format: DATE(year, month, day)

Returns the Serial DateTime Value of the specified date

Format: DATEVALUE(text)

Returns the Serial DateTime Value of the date as text.

Format: DAVERAGE()

Indicates the average of the values that meet th specified criteria.

Format: DAY(Serial DateTime Value)

Returns the day of the month of the date.

Format: DAYS360()

Returns the number of days between two set dates base on a 360-day year.

Format: DB()

Returns the asset depreciation for a period using the fixe declining balance method.

Format: DCOUNT()

Counts the number of cells containing numbers that mee the specified criteria.

Format: DCOUNTA()

Counts nonblank cells containing numbers or text tha meet the specified criteria.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 5 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: DDB()

Returns the asset depreciation for a period using th double-declining balance method or another specifie method.

Format: DEGREES()

Converts radians into degrees.

Format: DEVSQ()

Returns the sum of the squares of deviations of a data se from their sample mean.

Format: DGET()

Returns a single value that meets the specified criteria.

Format: DMAX()

Extracts the highest value that meets the specifie criteria.

Format: DMIN()

Extracts the lowest value that meets the specifie criteria..

Format: DOLLAR(number [, precision])

Returns the number as text, using currency format an the specified precision.

Format: DPRODUCT()

Returns the product of the values that meet the specifie criteria.

Format: DSTDEV()

Estimates the standard deviation of a population, base on a sample of selected entries from the database.

Format: DSTDEVP()

Returns the calculation of the standard deviation of population, based on the sum of the whole population.

Format: DSUM()

Returns the total of the values that meet the specifie criteria.

Format: DVAR()

Estimates the variance of a sample population based o the values that meet the specified criteria.

Format: DVARP()

Returns the calculation of the true variance of an entir population based on the values that meet the specifie criteria.

Format: ERROR.TYPE(error reference)

Returns the number of the error.

Format: EVEN(number)

Rounds the number up to the nearest even integer.

Format: EXACT(expression1, expression2)


http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Compares the two expressions for a match. Logical valu

Page 6 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

is returned.

Format: EXP(number)

Returns e raised to the specified power. The constant e i 2.71828182845904 (the base of the natural logarithm).

Format: EXPONDIST()

Returns the exponential distribution.

Format: FACT(number)

Returns the factorial of the number.

Format: FIND(search text, text [, start position])

Searches for the search text string within another tex string and returns the character position where the searc text string is first found.

Format: FINDB(search text, text [, start position])

Returns the position of specified text within anothe specified text string based on the number of bytes eac character uses from the first character of WITHIN_TEXT.

Format: FDIST()

Returns the F probability distribution.

Format: FISHER()

Returns the Fisher transformation at x.

Format: FINV()

Returns the inverse of the F probability distribution.

Format: FISHERINV()

Returns the inverse of the Fisher transformation at y.

Format: FIXED(number [, precision][, no commas])

Rounds a number to the specified precision, formats it a a decimal number, and returns it as text. No commas is logical value (TRUE for no commas).

Format: FORECAST()

Calculates or predicts a future value by using existin values.

Format: FLOOR(number, significance)

Rounds the number down to the nearest multiple of th significance.

Format: FREQUENCY()

Calculates how often values occur within a range of value and then returns a vertical array of numbers.

Format: FTEST()

Returns the result of an F-test.

Format: FV()

Returns the future value of an investment that make payments as a lump sum or as a series of equal periodi payments.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 7 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: GAMMADIST()

Returns the gamma distribution.

Format: GAMMALN()

Returns the natural logarithm of the gamma function.

Format: GAMMAINV()

Returns the inverse of the gamma cumulative distribution

Format: GEOMEAN()

Returns the geometric mean of an array or range o positive data.

Format: GROWTH()

Calculates predicted exponential growth by using existin data.

Format: HARMEAN()

Returns the harmonic mean of a data set.

Format: HLOOKUP(search item, search range, row index)

Searches the top row of the search range for the search item and returns the contents of the cell in the range tha is at the row index.

Format: HOUR(Serial DateTime Value)

Returns the hour of the Serial DateTime Value.

Format: HYPGEOMDIST()

Returns the hypergeometric distribution.

Format: HYPERLINK()

Creates a shortcut to jump to a document stored on network server.

Format: IF(condition, true value, false value)

Evaluates the condition and returns the true value if TRU or the false value if FALSE.

Format: INDEX(reference [, row] [, column] [, range number])

Returns the contents of a cell from the range (referenc parameter) at the row and column number specified Reference can be more than one range separated b commas and enclosed in parentheses. If reference is mor than one range, then range number specifies the range t use with 1 being the first range.

Format: INDIRECT(reference)

Returns the contents of the cell referenced by th reference.

Format: INT(number)

Rounds the number down to the nearest integer.

Format: INTERCEPT()

Calculates the point at which a line will intersect the y-axi by using existing x and y values.

Returns the interest for a period of time based on a


http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html Page 8 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: IPMT()

investment with periodic constant interest rate.

constant

payments

and

Format: IRR()

Returns the internal rate of return for a series of cas flows represented by numbers in the form of values.

Format: ISBLANK(reference)

Returns TRUE if the specified cell is blank. Else FALSE.

Format: ISERR(expression)

Returns TRUE if value contains any error value excep #N/A, FALSE if it does not.

Format: ISERROR(expression)

Returns TRUE if value contains any error value (includin #N/A), FALSE if it does not.

Format: ISLOGICAL(expression)

Returns TRUE if the expression returns a logical value Else FALSE.

Format: ISNA(expression)

Returns TRUE if the expression returns the #N/A error Else FALSE.

Format: ISNONTEXT(expression)

Returns TRUE if the expression is not text. Else FALSE.

Format: ISNUMBER(expression)

Returns TRUE if the expression is a number. Else FALSE.

Format: ISPMT()

Calculates the interest paid during a defined period of a investment.

Format: ISREF(expression)

Returns TRUE if the expression is a range reference. Els FALSE.

Format: ISTEXT(expression)

Returns TRUE if the expression is text. Else FALSE.

Format: KURT()

Returns the Kurtosis of a data set.

Format: LARGE()

Returns the k-th largest value in a data set.

Format: LEFT(text [, number])

Returns the specified number of characters from the lef of the text string. The default for number is 1.

Format: LEFTB(text [, number])

Returns the first character(s) in a text string based on specified number of bytes

Format: LEN(text)

Returns the number of characters in the text string.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 9 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: LENB(text)

Returns the number of characters in a text strin expressed in bytes.

Format: LINEST()

Calculates a straight line that best fits your data using th least squares method.

Format: LN(number)

Returns the natural logarithm (based on the constant e) o the number.

Format: LOG(number [, base])

Returns the logarithm of the number to the base. Defaul base is 10.

Format: LOG10(number)

Returns the base-10 logarithm of the number.

Format: LOGINV()

Returns the inverse of the lognormal cumulativ distribution function of x, where ln(x) is normall distributed with parameters mean and standard deviation

Format: LOGNORMDIST()

Returns the cumulative lognormal distribution of x, wher ln(x) is normally distributed with parameters mean an standard deviation.

Format: LOGEST()

Calculates an exponential curve that fits your data an returns an array of values that describes the curve.

Format: LOOKUP(lookup value, lookup range, result range)

Searches for the lookup value in the lookup range an returns the contents of the cell in the correspondin position in the result range. Ranges should be a single row or column.

Format: LOWER(text)

Converts the characters in the text string to lowercas characters. Numeric characters are left unchanged.

Searches for the lookup item in the single row or colum lookup range. The position of the item in the range i returned.

Format: MATCH(lookup item , lookup range, comparison)

comparison: -1 = Search for smallest value that is greater than o equal to lookup item. Lookup range must be in descendin order. 0 = Search for lookup item. Can use wildcards *(match sequence of characters) or ?(match a single character). 1 = Search for largest value that is less than or equal t lookup item. Lookup range must be in ascending order.

Format: MAX(number list)


http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Returns the largest value in the number list.


Page 10 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: MAXA()

Returns the largest value in a set of values including tex and logical values

Format: MDETERM()

Returns the matrix determinant of an array.

Format: MEDIAN()

Returns the median of the given numbers.

Format: MID(text, start position, number)

Returns the specified number of characters from the tex string, starting at the start position.

Format: MIDB(text, start position, number)

Returns a group of characters based on a specifie number of bytes from a text string starting at the positio you specify.

Format: MIN(number list)

Returns the smallest value in the number list.

Format: MINA()

Returns the smallest value in a set of values including tex and logical values.

Format: MINVERSE()

Returns the inverse matrix for the matrix stored in a array.

Format: MINUTE(Serial DateTime Value)

Returns the minute of the Serial DateTime Value.

Format: MIRR()

Returns a modified internal rate of return for severa periodic cash flows.

Format: MMULT()

Returns the matrix product of two arrays. The result is a array with the same number of rows as array1 and th same number of columns as array2.

Format: MOD(number, divisor)

Returns the remainder after dividing the number by th divisor.

Format: MODE()

Returns the most frequently occuring, or repetitive number in an array or range of data.

Format: MONTH(Serial DateTime Value)

Returns the month of the Serial DateTime Value.

Format: N(value)

Tests the value and returns the value if it is a number.

Format: NA()

Returns the error value #N/A.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 11 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: NEGBINOMDIST()

Returns the negative binomial distribution.

Format: NORMDIST()

Returns the normal cumulative distribution specified mean and standard deviation.

for

th

Format: NORMSDIST()

Returns the function.

standard

normal

cumulative

distribution

Format: NORMINV()

Returns the inverse of the normal cumulative distributio for the specified mean and standard deviation.

Format: NORMSINV()

Returns the inverse of the standard normal cumulativ distribution function.

Format: NOT(logical)

Returns the opposite of the logical value.

Format: NOW()

Returns the current date and time as a Serial DateTim Value.

Format: NPER()

Returns the total number of periods for an investment This is based on a periodic constant payment and constant interest rate.

Format: NPV()

Calculates the net present value of an investment from the discount rate and several future payments an income.

Format: ODD(number)

Rounds the number up to the nearest odd integer.

Format: OFFSET(starting cell reference, rows, columns [, height] [, width])

Returns a reference of size specified by height and width that is offset by the specified rows and columns from th starting cell reference. Default height and width are 1.

Format: OR(logical condition expression list separated by commas)

Returns TRUE if at least one of the logical conditio expressions is TRUE. Otherwise, FALSE will be returned none of them are true. The logical condition expression lis can be one or more expressions separated by commas You are not limited to just two expressions, you can hav several. Examples: =OR(E3 < 10,E3 > 15) (Spreadsheet Study formula) =OR(SG1 > 40,SG1 < 20) (Simple Alert formula) =OR(AND(H > 100,SG1 > 100),AND(L < 80,SG1 < -100) (Simple Alert formula)

Format: PEARSON()
http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Returns the Pearson product moment correlation coefficient, r, a dimensionless index that ranges from -1.0

Page 12 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

to 1.0 inclusive and reflects the extent of a linea relationship between two data sets. Format: PERCENTILE() Returns the k-th percentile of values in a range.

Format: PERCENTRANK()

Returns the rank of a value in a data set set as percentage of the data set.

Format: PERMUT()

Returns the number of permutations for a given numbe of objects that can be selected from a range of numbers.

Format: PI()

Returns the value of pi.

Format: PROB()

Returns the probability that values in a range are between two specified limits.

Format: PRODUCT(number list)

Multiplies the number list and returns the result.

Format: PROPER(text)

Returns the text string in proper-case format.

Format: PMT()

Calculates the loan payment for a loan based on constan payments and constant interest rates.

Format: POWER()

Returns the result of a specified number raised to specified power.

Format: POISSON()

Returns the Poisson distribution.

Format: PPMT()

Returns the principal payment for a period of a investment based on periodic constant payments and constant interest rate.

Format: PV()

Returns the present value based on an investment.

Format: QUARTILE()

Returns the quartile of a data set.

Format: RADIANS()

Converts degrees to radians.

Format: RAND()

Returns a number selected randomly from a uniform distribution greater than or equal to 0 but less than 1.

Format: RANK()

Returns the rank of a number in a list of numbers.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 13 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: RATE()

Returns per period the interest of an annuity.

Format: REPLACE(original text, start position, number of chars, replacement text)

Replaces the specified number of characters of the origina text string at the start position with the replacement tex string.

Format: REPLACEB(original text, start position, number of chars, replacement text)

Replaces part of a text string with a different text strin based on the number of characters you specify in terms o bytes.

Format: REPT(text, number)

Repeats the text string the specified number of times.

Format: RIGHT(text [, number of chars])

Returns the specified number of characters from the righ side of the text string.

Format: RIGHTB(text [, number of chars])

Returns the last character(s) in a text string based on specified number of bytes.

Format: ROMAN()

Converts an Arabic numeral to Roman, as text.

Format: ROUND(number, digits)

The ROUND function returns a number rounded to specified number of digits. =Round(53.3321, 0) would return 53 =Round(53.3321, 1) would return 53.3

Format: ROW(reference)

Returns the row number of the reference.

Format: ROWS(reference)

Returns the number of rows in the reference.

Format: RSQ()

Returns the r^2 value of a linear regression line.

Format: SEARCH(search text, text [, start position])

Returns the position of the first character of the searc text string within the text string, starting at start position Search text can use wildcards *(match a sequence o characters) or ?(match a single character).

Format: SEARCHB(search text, text [, start position])

Returns the number of the character at which a specifi character or text string is first found in bytes, readin from left to right.

Format: SECOND(Serial DateTime Value)

Returns the second of the Serial DateTime Value.

Format: SIGN(number)

Returns 1 if the number is positive, -1 if it is negative, an 0 if it is 0.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 14 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: SIN(number)

Returns the sine of the angle.

Format: SINH(number)

Returns the hyperbolic sine of the number.

Format: SKEW()

Returns the skew of a distribution.

Format: SLN()

Returns the straight-line depreciation on an asset.

Format: SLOPE(Y Values Range, X Values Range)

Returns the slope of a regression line through data point in Y Values Range and X Values Range . Both the and X range of values need to have the same number o cells or array values.

Format: SMALL()

Returns the k-th smallest value in a data set.

Format: SQRT(number)

Returns the square root of the number.

Format: STANDARDIZE()

Returns a normalized value from a characterized by MEAN and STANDARD_DEV.

distributio

Format: STDEV()

Estimates standard deviation based on a sample.

Format: STDEVA()

Estimates standard deviation based on a sample. Include text and logical values.

Format: STDEVP(number list)

Estimates standard deviation based on a sample assumin that the parameters represent the total population.

Format: STDEVPA(number list)

Estimates standard deviation based on a sample assumin that the parameters represent the total population Includes text and logical values.

Format: STEYX()

Returns the standard error of the predicted y value fo each x in the regression.

Format: SUBSTITUTE()

Substitutes NEW_TEXT for OLD_TEXT in a string.

Format: SUM(number list)

Returns the sum of the number list.

Format: SUMX2MY2()

Returns the sum of the difference corresponding values in two arrays.

of

squares

Format: SUMX2PY2(range to evaluate, criteria, sum range)


http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Returns the sum of the sum of squares of correspondin

Page 15 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

values in two arrays. Returns the sum of squares corresponding values in two arrays. of differences

Format: SUMXMY2(range to evaluate, criteria, sum range)

Format: SUMIF(range to evaluate, criteria, sum range)

Adds the cells specified by a certain criteria.

Format: SUMPRODUCT(range to evaluate, criteria, sum range)

Multiplies corresponding components in the given arrays and returns the sum of those products.

Format: SUMSQ(number list)

Squares each of the numbers in the list and returns th sum of the squares.

Format: SYD()

Based on a specified period, SYD returns the sum-of years' digits depreciation of an asset.

Format: T(value)

Returns the text referred to by a value.

Format: TAN(number)

Returns the tangent of the specified angle.

Format: TANH(number)

Returns the hyperbolic tangent of the number.

Format: TEXT()

Converts a value to text in a specific number format.

Format: TIME(hour, minute, second)

Returns a Serial DateTime Value from the hour, minute and second.

Format: TDIST()

Returns the percentage points (probability) for the studen t-distribution, where a numeric value (x) is a calculate value of t for which the percentage points are to b computed.

Format: TIMEVALUE(text)

Returns a Serial DateTime representation of time.

Value

from

the

tex

Format: TINV()

Returns the t-value of the Student's t-distribution as function of the probability and the degrees of freedom.

Format: TODAY()

Returns the current date as a Serial DateTime Value

Format: TRANSPOSE()

Returns a horizontal range of cells as vertical or vic versa.

Format: TREND()

Returns the y-values along a linear trendline that best fit the values in a data set.
Page 16 of 25

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: TRIM(text)

Removes all spaces from the text string except singl spaces between words.

Format: TRIMMEAN()

Returns the mean of the interior of a data set.

Format: TRUNC(number [, precision])

Truncates the number to an integer.

Format: TTEST()

The probability associated with t-test.

Returns the type of the expression. Return value = Format: TYPE(expression) 1 = Number 2 = Text string 4 = Logical value 16 = Error value

Format: UPPER(text)

Converts the characters in the text string to uppercase.

Format: USDOLLAR(number [,precision])

Returns the number as text in US Dollar format and in th precision. Default precision is 2.

Format: VALUE(text)

Returns the text string as a number.

Format: VAR()

Returns an estimate for the variance of a population base on a sample data set.

Format: VARA()

Returns an estimate for the variance of a population base on a sample data set and may include text or logica values.

Format: VARP()

Calculates variance based on the entire population.

Format: VARPA()

Calculates variance based on the entire population an may include text or logical values.

Format: VDB(number list)

For a period you specify, returns the depreciation of a asset.

Format: VLOOKUP(search item, search range, column index)

Searches the first column of the search range for th search item and returns the contents of the cell in th range that is at the column index.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 17 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: WEIBULL()

Returns the Weibull distribution.

Format: WEEKDAY(Serial DateTime Value)

Returns the day of the week of the Serial DateTime Value. 1 - Sunday, 2- Monday, 3 -Tuesday, 4 Wednesday, 5- Thursday, 6- Friday, 7- Saturday.

Format: YEAR(Serial DateTime Value)

Returns the year of the Serial DateTime Value.

Format: ZTEST()

Returns the two-tailed P-value of a z-test.

Analysis Tool Pack Functions

Format: ACCRINT()

Returns accrued interest for securities that pay periodic interest.

Format: ACCRINTM()

Returns the accrued interest for securities that pay interest at the maturity date.

Format: AMORDEGRC()

Returns the depreciation for each accounting period within the formula.

Format: AMORLINC()

Returns the depreciation for each accounting period.

Format: BESSELI()

Returns the BESSEL function in modified form for imaginary parameters.

Format: BESSELJ()

Returns the actual BESSEL function.

Format: BESSELK()

Returns the BESSEL function in modified form for imaginary parameters.

Format: BESSELY()

Returns the BESSEL function, also known as the Weber or Neumann function.

Format: BIN2DEC()

Converts a binary number to decimal form.

Format: BIN2HEX()

Converts a binary number to a hexadecimal.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 18 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: BIN2OCT()

Converts a binary number to octal form.

Format: COMPLEX()

Converts real and imaginary coefficients into a complex number of the form x + yi or x + yj.

Format: CONVERT()

Interprets data from one measurement system to another.

Format: COUPDAYBS()

Returns the number of days from the beginning of the period to the coupon-period settlement date.

Format: COUPDAYS()

Returns the number of days in the period that contains the coupon period settlement date.

Format: COUPDAYSNC()

Returns the number of days between the settlement date to the next coupon date.

Format: COUPNCD()

Returns the next coupon date after the settlement date.

Format: COUPNUM()

Returns the total number of coupons to be paid between the settlement and maturity dates, rounded up to the nearest whole coupon.

Format: COUPPCD()

Returns the coupon date previous to the settlement date.

Format: CUMIPMT()

Returns the cumulative interest on a loan between start and stop dates.

Format: CUMPRINC()

Returns the cumulative principal amount between start and stop dates on a loan or mortgage.

Format: DEC2BIN()

Converts decimal numbers to binary form.

Format: DEC2HEX()

Converts decimal numbers to hexadecimal.

Format: DEC2OCT()

Converts decimal numbers to octal.

Format: DELTA()

Tests whether numbers or values are equal with a number result. Returns "0" for unequal, "1" for equal.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 19 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: DISC() Format: DOLLARDE()

Returns the security discount rate.

Converts a fraction dollar price into a decimal dollar price.

Format: DOLLARFR()

Converts a decimal dollar price into a fraction dollar price.

Format: DURATION()

Returns the Macauley duration for an assumed par value.

Format: EDATE()

Returns the value or serial number of the date which is a certain number of months before or after a user-specified date.

Format: EFFECT()

Returns the effective interest rate annually. This is based on the nominal annual interest rate and the number of compounding periods per year.

Format: EOMONTH()

Returns the date at the end of the month a specified number of months before or after a specified date.

Format: ERF()

Returns the integrated error function between a lower and upper limit.

Format: ERFC()

Returns a complementary ERF function integrated between 'x' and infinity.

Format: FACTDOUBLE()

Returns the double factorial of a number.

Format: FVSCHEDULE()

Returns the future value of a principal amount after applying several, or a series of compound interest rates.

Format: GCD()

Returns the greatest common divisor of two or more integers.

Format: GESTEP()

Returns the value 1 if the number is greater than or equal to a specified step value, otherwise it returns 0.

Format: HEX2BIN()

Converts hexadecimal numbers to binary form.

Format: HEX2DEC()

Converts hexadecimal numbers to decimal form.

Format: HEX2OCT()

Converts hexadecimal numbers to octal form.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 20 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: IMABS() Format: IMAGINARY()

Returns the absolute value (modulus) of a complex number in x+yi or x+yj text format.

Returns the coefficient of a complex number in x+yi or x+yj text format.

Format: IMARGUMENT()

Returns the theta parameter - an angle expressed in radians.

Format: IMCONJUGATE()

Returns the complex conjugate of a complex number in x+yi or x+yj text format.

Format: IMCOS()

Returns the cosine of a complex number in x+yi or x+yj text format.

Format: IMDIV()

Returns the quotient of complex numbers in x+yi or x+yj text format.

Format: IMEXP()

Returns the exponential of a complex number in x+yi or x+yj text format.

Format: IMLN()

Returns the natural logarithm of a complex number in x+yi or x+yj text format.

Format: IMLOG10()

Returns the common logarithm (Base 10) of a complex number in x+yi or x+yj text format.

Format: IMLOG2()

Returns the common logarithm (Base 2) of a complex number in x+yi or x+yj text format.

Format: IMPOWER()

Returns a complex number raised to a power in x+yi or x+yj text format.

Format: IMPRODUCT()

Returns the product from 2 to 29 complex numbers in x+yi or x+yj text format.

Format: IMREAL()

Returns the real coefficient of a complex number in x+yi or x+yj text format.

Format: IMSIN()

Returns the sine of a complex number in x+yi or x+yj text format.

Format: IMSQRT()

Returns the square root of a complex number in x+yi or x+yj text format.

Format: IMSUB()

Returns the difference of two complex numbers in x+yi or x+yj text format.

Format: IMSUM()

Returns the sum of 2 to 29 complex numbers in x+yi or x+yj text format.

Format:
http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html Page 21 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

INTRATE()

Returns the interest rate of a security that is fully invested.

Format: ISEVEN()

Returns TRUE if value is an even number, FALSE if it is not.

Format: ISODD()

Returns TRUE if value is an odd number, FALSE if it is not.

Format: LCM()

Returns the least common multiple of integers.

Format: MDURATION()

Returns the modified duration of a security with a par value assumed to be $100.

Format: MROUND()

Returns a number rounded to the desired multiple. Rounds up if the remainder after dividing the number by the multiple is at least half the value of the multiple.

Format: MULTINOMIAL()

Returns the ratio of the factorial of the sum of the values to the product of the factorials.

Format: NETWORKDAYS()

Returns the number of working days between two dates. Excludes weekends and specified holidays.

Format: NOMINAL()

Returns the nominal annual interest rate given an effective rate and the total number of compounding periods for the year.

Format: OCT2BIN()

Converts an octal number to binary form.

Format: OCT2DEC()

Converts an octal number to decimal form.

Format: OCT2HEX()

Converts an octal number to hexadecimal form.

Format: ODDFPRICE()

Returns the value of a security based on a per $100 face value and an odd (short or long) first period.

Format: ODDFYIELD()

Returns the security yield with an odd first period.

Format: ODDLPRICE()

Returns the per $100 face value of a security having an odd last coupon period.

Format: ODDLYIELD()

Returns the security yield that has an odd last period.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 22 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: PRICE()

Returns the value of a security based on price per $100 face value and periodic interest payments.

Format: PRICEDISC()

Returns the value of a discounted security based on a price per $100 face value.

Format: PRICEMAT()

Returns the value of a security that pays interest at maturity and price per $100 face value.

Format: QUOTIENT()

Returns the integer portion of a division.

Format: RANDBETWEEN()

Returns a random integer between the integers you specify. A new random number is returned every time the Spreadsheet is calculated.

Format: RECEIVED()

Based on a fully invested security, returns the amount received at maturity.

Format: SERIESSUM()

Returns the sum of a power series.

Format: SQRTPI()

Returns the square root of (NUMBER * Pi)

Format: TBILLEQ()

Returns the bond equivalent yield for a treasury bill.

Format: TBILLPRICE()

Returns the price per $100 face value for a treasury bill.

Format: TBILLYIELD()

Returns the yield of a treasury bill.

Format: WEEKNUM()

Returns the number where a week falls numerically within a year.

Format: WORKDAY()

Returns a date that is a specified number of working days before or after a given date.

Format: XIRR()

Returns the internal rate of return for a schedule of cash flows that is not necessarily periodic.

Format: XNPV()

Returns the net present value for a schedule of cash flows that is not necessarily periodic.

Format: YEARFRAC()

Calculates the fraction of the year between two dates.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 23 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

Format: YIELD()

Based on a yield that pays periodic interest, returns the yeild of the security.

Format: YIELDDISC()

Returns the annual yield for a discounted security.

Format: YIELDMAT() [Top]


*Last modified Friday, 12th August, 2011.

Returns the annual yield based on a security that pays interest at a maturity.

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 24 of 25

Sierra Chart - Spreadsheet Functions

8/17/11 3:11 PM

http://www.sierrachart.com/index.php?l=doc/doc_WorksheetFunctions.html

Page 25 of 25

Вам также может понравиться