Difference between revisions of "TrueFalseSimple"
Jump to navigation
Jump to search
(Created page with "Used in function input declaration statements to define an input as true/false Simple. The value of an input defined as Simple is constant from bar to bar and thus has no his...") |
m |
||
Line 1: | Line 1: | ||
− | Used in function input declaration statements to define an input as true/false Simple. | + | Used in function input declaration statements to define an [[input]] as true/false ''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 == | |
− | <syntaxhighlight>Input:InputName(TrueFalseSimple)</syntaxhighlight> | + | <syntaxhighlight>Input: InputName(TrueFalseSimple)</syntaxhighlight> |
− | |||
− | |||
− | |||
− | |||
− | The name cannot begin with a number or a period and is not case-sensitive. | + | Where: |
+ | :'''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. | ||
− | + | == Example == | |
− | Declare Overnight as a true/false Simple function input: | + | Declare ''Overnight'' as a true/false Simple function [[input]]: |
− | <syntaxhighlight>Input:Overnight(TrueFalseSimple);</syntaxhighlight> | + | <syntaxhighlight>Input: Overnight(TrueFalseSimple);</syntaxhighlight> |
− | |||
[[Category:Declaration]] | [[Category:Declaration]] |
Latest revision as of 06:10, 8 April 2013
Used in function input declaration statements to define an input as true/false Simple.
The value of an input defined as Simple is constant from bar to bar and thus has no history.
Usage
Input: InputName(TrueFalseSimple)
Where:
- 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.
Example
Declare Overnight as a true/false Simple function input:
Input: Overnight(TrueFalseSimple);