Difference between revisions of "NumericSimple"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Used in function input declaration statements to define an input as Numerical Simple. The value of an input defined as Simple is constant from bar to bar and thus has no hist...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Used in function input declaration statements to define an input as Numerical Simple.  
 
Used in function input declaration statements to define an input as Numerical Simple.  
 +
 
The value of an input defined as Simple is constant from bar to bar and thus has no history.  
 
The value of an input defined as Simple is constant from bar to bar and thus has no history.  
 
   
 
   
==== Usage ====
+
== Usage ==
<syntaxhighlight>Input:InputName(NumericSimple)</syntaxhighlight>  
+
<syntaxhighlight>Input: InputName(NumericSimple);</syntaxhighlight>  
  
Where: [[InputName]] - an expression specifying the input name
+
Where:  
  
The name can consist of letters, underscore characters, numbers, and periods.  
+
:'''InputName''' - an expression specifying the input name. The input name can consist of letters, underscore characters, numbers, and periods. The input name ''cannot'' begin with a number or a period and is not case-sensitive.
  
The name cannot begin with a number or a period and is not case-sensitive.
+
== Example ==
 
==== Example ====
 
 
Declare Length as a Numerical Simple function input:  
 
Declare Length as a Numerical Simple function input:  
  
<syntaxhighlight>Input:Length(NumericSimple);</syntaxhighlight>  
+
<syntaxhighlight>Input: Length(NumericSimple);</syntaxhighlight>  
 
   
 
   
 
[[Category:Declaration]]
 
[[Category:Declaration]]

Latest revision as of 05:57, 8 April 2013

Used in function input declaration statements to define an input as Numerical Simple.

The value of an input defined as Simple is constant from bar to bar and thus has no history.

Usage

Input: InputName(NumericSimple);

Where:

InputName - an expression specifying the input name. The input name can consist of letters, underscore characters, numbers, and periods. The input name cannot begin with a number or a period and is not case-sensitive.

Example

Declare Length as a Numerical Simple function input:

Input: Length(NumericSimple);