Your formulas can include any of the following elements:
Basic Mathematical Operators
You can use the basic operators plus +, minus -, divide by /, multiply by *, equal =, not equal <>, greater than >, greater than or equal >=, less than <, less than or equal <=, and parenthesis to group items ( ) .
The SERIES Parameter.
This predefined parameter should be included in study functions that you create in order to take the value of the underlying chart symbol on which you run the study.
For example, you might create a study function, Fun1, and define it as 3 * SERIES.
If you add study Fun1 to, for example: a MSFT chart, the resulting study line will graph the formula (3*MSFT).
Additional Parameters.
Parameters are simply placeholders for values you wish to define later. You may assign a default value to each one you create. For example, in the sample Fun1 study above, you may prefer to enter the formula: XX * SERIES, letting XX be a parameter that you can modify each time you add the study to a chart. When you add it to the chart, a pop up will ask for the value you want to enter.
A function can have from one to eight parameters.
Predefined functions.
Standard ProphetX studies and other functions are available for Adding to your functions. Syntax for these is described in the individual studies in this section.