×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

TrueFalse

838 bytes added, 19:36, 19 January 2012
Created page with "Used in function input declaration statements to define an input as true/false. Input defined as true/false can be used both as a true/false Simple as well as a true/false Se..."
Used in function input declaration statements to define an input as true/false.
Input defined as true/false can be used both as a true/false Simple as well as a true/false Series input; the value of a Simple input is constant from bar to bar and thus has no history, while the value of a Series input may vary from bar to bar and can be referenced historically.

==== Usage ====
<syntaxhighlight>Input:InputName(TrueFalse)</syntaxhighlight>

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 function input:

<syntaxhighlight>Input:Overnight(TrueFalse);</syntaxhighlight>



[[Category:Date and Time Routines]]
Anonymous user

Navigation menu