×

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

True

227 bytes added, 11:27, 19 February 2012
m
A logical (Boolean) value. Logical values are used in logical (Boolean) expressions and for true/false inputs.
==== Usage ====[[<syntaxhighlight>True]] </syntaxhighlight>
==== Example ==Notes ==* Also see [[True Or False]] will return a for the logical false Boolean value of .* See [[TrueAnd]] and [[Or]] for combining true/false expressions in one statement.
[[2=2]] will = Examples ==<syntaxhighlight>True Or False</syntaxhighlight>Will return a value of [[True]] .
Declare [[LogicalVar]] as <syntaxhighlight>2 = 2</syntaxhighlight> will return a true/false variable with the initial value of true: True
<syntaxhighlight>Variable:Declare ''LogicalVar(True);<'' as a true/syntaxhighlight> false variable with the initial value of true:
Declare [[Overnight]] as a true<syntaxhighlight>Variable: LogicalVar(True);</false input with the default value of true: syntaxhighlight>
<syntaxhighlight>Input:Declare ''Overnight(True);<'' as a true/syntaxhighlight> false input with the default value of true:
<syntaxhighlight>Input: Overnight(True);</syntaxhighlight>
[[Category:Comparisons and Loops]]

Navigation menu