A formula name consists of a unique name and a parenthetical statement containing the A formula name must be unique. If a formula name duplicates a reserved word (dot commands), the formula evaluator will reject the name. If the formula you are writing is a simple algebraic statement, the formula name does not require the parenthetical statement that contains declared parameters. For example, if you want to add an instrument Not only do declared parameters govern how the formula gets calculated, they also serve as the basis for a formula study The formula name declares four parameters: SERIES, PERIOD=14, SMTH=.25, and SMTHR=.15. This formula creates a parameters menu that looks like this: This parameters menu contains a field for every parameter declared in the formula. Notice that in the parameter declaration, we set PERIOD equal to 14. As a result, 14 serves as the default number of periods in the formula. The same is true for other parameters we set in the declarations. Were we to omit default values in the declarations, the parameters menu would use zero (0) for all values, and the formula would not produce a line until we displayed the parameters menu and provided values. Let The formula name, SSTOCHSTEST(SERIES,period=14,smth-.25,smthr=.15) declares four parameters, SERIES, period, smth, and smthr. Further, in three of these parameters, we have assigned a default value: period has a default value of 14 (fourteen periods), smth has a default value of .25, and smthr has a default value of .15. When you declare parameters, the program creates a parameters menu for the study. With the exception of the Type parameter (SERIES or INPUT), all parameters declared in the formula name become fields in the formula study Notice that the parameters menu contains parameters that were not declared in the formula name. While the parameters menu contains the parameters declared in the formula name, it also contains three parameters that were not declared: price, color, and graph. These parameters are standardFormula Names and Declared Parameters