Input

From MultiCharts
Revision as of 18:11, 12 February 2012 by 176.8.90.7 (talk) (→‎Usage)
Jump to navigation Jump to search

Declares one or more names as inputs; specifies the default value and defines the input type for each input. Inputs can be numerical, string, or true/false. Once declared, the value of the input cannot be modified by the study's code.

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

Parameters

InputName - an expression specifying the input 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.

DefaultValue - an expression specifying the default value and defining the input type

The expression can be numerical, string, or true/false; the type of the expression defines the input type.

Example

Declare Length as a numerical input with the default value of 20:

Input:Length(20);

Declare Price as a numerical input with the default value equal to the value of Close function, and Name as a character string input with the default value of "Last Close":

Input:Price(Close), Name("Last Close");

Declare Draw_Line as a true/false input with the default value of True:

Input:Draw_Line(True);