If you have RAP – The Trading Edition™: Enterprise, you can use these user-defined aggregate functions for financial analysis:
For detailed information on these functions, see Reference: Building Blocks, Tables, and Procedures.
See User-defined aggregate functions for information on syntax, parameters, and usage of the user-defined aggregate functions.