TrueFalseSimple: Difference between revisions
From MultiCharts
m
no edit summary
(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...") |
mNo edit summary |
||
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]] |