Difference between revisions of "Text"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the string, formed up by the transferred arguments. ==== Usage ==== <syntaxhighlight>Text(Param1, Param2, ..., ParamN);</syntaxhighlight> Where: Param(i) is s...")
 
 
Line 1: Line 1:
Returns the string, formed up by the transferred arguments.  
+
Returns the string consisting out of the transferred arguments.  
 
   
 
   
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>Text(Param1, Param2, ..., ParamN);</syntaxhighlight>  
 
<syntaxhighlight>Text(Param1, Param2, ..., ParamN);</syntaxhighlight>  
  
Where: [[Param(i)]] is string expression, numeric expression or [[True/False]] value.  
+
Where:  
 +
 
 +
:'''ParamN''' - a string expression, numeric expression or True/False value.  
 
   
 
   
==== Example ====
+
== Example ==
<syntaxhighlight>Text_new(D,T,C,Text("Bar Date/Time is ",Date:0:0,"/",Time:0:0));</syntaxhighlight>  
+
<syntaxhighlight>Text_new(D,T,C, Text("Bar Date/Time is ", Date:0:0,"/", Time:0:0) );</syntaxhighlight>  
 +
Will plot "Bar Date/Time is 1120120/2159" on the chart if the bar date is January 20th, 2012 and the time 21:59.
 
   
 
   
 
[[Category:Text Manipulation]]
 
[[Category:Text Manipulation]]

Latest revision as of 07:22, 9 February 2012

Returns the string consisting out of the transferred arguments.

Usage

Text(Param1, Param2, ..., ParamN);

Where:

ParamN - a string expression, numeric expression or True/False value.

Example

Text_new(D,T,C, Text("Bar Date/Time is ", Date:0:0,"/", Time:0:0) );

Will plot "Bar Date/Time is 1120120/2159" on the chart if the bar date is January 20th, 2012 and the time 21:59.