×

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

Sign

71 bytes added, 06:31, 9 February 2012
m
no edit summary
Returns a numerical value, indicating the sign of the value of the specified numerical expression.
 
A value of 1 is returned for a positive value, -1 is returned for a negative value, and 0 is returned for the value of 0.
==== Usage ====<syntaxhighlight>Sign(Value);</syntaxhighlight>  Where:
Where: [['''Value]] ''' - a numerical expression .
==== Example ==Examples ==<syntaxhighlight>Sign(5) will ;</syntaxhighlight>Will return a value of 1 .
<syntaxhighlight>Sign(-2.85) will </syntaxhighlight>Will return a value of -1 .
<syntaxhighlight>Sign(0) will </syntaxhighlight>Will return a value of 0</syntaxhighlight> .
[[Category:Math and Trig]]

Navigation menu