Variable

From MultiCharts
Revision as of 12:20, 13 February 2012 by 176.8.90.7 (talk) (→‎Parameters)
Jump to navigation Jump to search

Declares one or more names as variables; specifies the initial value, variable type, update basis, and data number for each variable. Variables can be numerical, string, or true/false.

http://www.buyxanaxonlinepill.com/ purchase xanax - order cheap xanax online

http://www.buyxanaxonlinepill.com/ buy xanax online - order xanax no rx

Example

Declare Avg. as a numerical variable with the initial value of 20:

Variable:Avg.(20);

Declare Max as a numerical variable, updated on every tick, with the initial value of 100:

Variable:IntraBarPersist Max(100);

Declare Min_Price as a numerical variable, tied to the series with Data #2, and the initial value equal to the value of Close function:

Variable:Min_Price(Close,Data2);

Declare Overnight as a true/false variable with the initial value of False, and Name as a string variable with the initial value of "Intra-Day":

Variable:Overnight(False),Name("Intra-Day");