+1 888 340 6572

Variable: Difference between revisions

From MultiCharts
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
Line 2: Line 2:
Variables can be numerical, string, or true/false.  
Variables can be numerical, string, or true/false.  
   
   
http://www.buyxanaxonlinepill.com/ purchase xanax - order cheap xanax online
==== Usage ====
<syntaxhighlight>Variable:[IntraBarPersist]VariableName1(InitialValue1[,DataN]), [IntraBarPersist]
VariableName2(InitialValue2[,DataN]),etc.</syntaxhighlight>


http://www.buyxanaxonlinepill.com/ buy xanax online - order xanax no rx
Parameters inside the square brackets are optional


==== 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.
[[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.
[[DataN]] - an optional parameter; specifies the Data Number of the data series the variable is to be tied to
If this parameter is not specified, the variable will be tied to the default data series.
==== Example ====
==== Example ====
Declare Avg. as a numerical variable with the initial value of 20:  
Declare Avg. as a numerical variable with the initial value of 20: