Variable: Difference between revisions
From MultiCharts
mNo edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
== Parameters == | == Parameters == | ||
:'''IntraBarPersist''' - an optional parameter; specifies that the value of the variable is to be updated on every tick. If this parameter is not specified, the value will be updated at the close of each bar. See for more information the [[IntraBarPersist]] | :'''IntraBarPersist''' - an optional parameter; specifies that the value of the variable is to be updated on every tick. If this parameter is not specified, the value will be updated at the close of each bar. See for more information the [[IntraBarPersist]] Help Center article. | ||
:'''VariableName''' - an expression, specifying the variable name. The name can consist of letters, underscore characters, numbers, and periods. The name ''cannot'' begin with a number or a period and is not case-sensitive. | :'''VariableName''' - an expression, specifying the variable name. The name can consist of letters, underscore characters, numbers, and periods. The name ''cannot'' begin with a number or a period and is not case-sensitive. | ||
:'''InitialValue''' - an expression, specifying the initial value and defining the variable type. The value can be a numerical, string, or true/false expression; the type of the expression defines the variable type. | :'''InitialValue''' - an expression, specifying the initial value and defining the variable type. The value can be a numerical, string, or true/false expression; the type of the expression defines the variable type. |