Navigation: Function Reference > Study Formula Functions > Study Utility Functions

Study Utility Functions

Top  Previous  Next

This section contains a number of array utility functions that may come in handy when you are using pascal array types from within your study formulas. ScanExpert supports both static as well as dynamic array constructs so you can use whichever you feel more comfortable with. Understand, however, that dynamic array types of any kind cannot be used as global variables in study formulas because arrays do not have a lifetime that spans script iterations. If you need to store data in an array construct that must survive script iterations then you should instead use the TEStorage or TEDoubleArray types.

 

sortAscVariant()

sortDescVariant()

medianVariantArray()

sortAscDouble()

sortDescDouble()

medianDoubleArray()

sortAscInteger()

sortDescInteger()

medianIntegerArray()