Difference between revisions of "Data"

From MultiCharts
Jump to navigation Jump to search
 
Line 1: Line 1:
 
Used to specify a particular data series in a multi-symbol chart; each data series in a multi-symbol chart has a unique Data Number.   
 
Used to specify a particular data series in a multi-symbol chart; each data series in a multi-symbol chart has a unique Data Number.   
  
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>DataN</syntaxhighlight>
 
<syntaxhighlight>DataN</syntaxhighlight>
  
Where: [[N]] - the Data Number of the data series  
+
Where:  
 +
 
 +
:'''N''' - the Data Number of the data series.
  
 
Or:  
 
Or:  
Line 10: Line 12:
 
<syntaxhighlight>Data(N)</syntaxhighlight>
 
<syntaxhighlight>Data(N)</syntaxhighlight>
  
Where: [[N]] - a numerical expression specifying the Data Number of the data series
+
Where:  
 +
 
 +
:'''N''' - a numerical expression specifying the Data Number of the data series.
  
==== Example ====
+
== Examples ==
<syntaxhighlight>High Of Data2 will return the high price of a bar in the data series with the Data Number of 2  
+
<syntaxhighlight>High Of Data2</syntaxhighlight>
 +
Will return the high price of a bar in the data series with the Data Number of 2.
  
High Of Data(2)will return the high price of a bar in the data series with the Data Number of 2 </syntaxhighlight>
+
<syntaxhighlight>High Of Data(2)</syntaxhighlight>
 +
Will return the high price of a bar in the data series with the Data Number of 2.
  
 +
<syntaxhighlight>Close Data(3)</syntaxhighlight>
 +
Will return the close price of the third data series.
  
 +
<syntaxhighlight>value1 = 2;
 +
High Data(value1) + Low Data(value1)</syntaxhighlight>
 +
Will add the High of the second data series to the low of the second data series.
  
 
[[Category:Data Information/General]]
 
[[Category:Data Information/General]]

Latest revision as of 11:52, 19 February 2012

Used to specify a particular data series in a multi-symbol chart; each data series in a multi-symbol chart has a unique Data Number.

Usage

DataN

Where:

N - the Data Number of the data series.

Or:

Data(N)

Where:

N - a numerical expression specifying the Data Number of the data series.

Examples

High Of Data2

Will return the high price of a bar in the data series with the Data Number of 2.

High Of Data(2)

Will return the high price of a bar in the data series with the Data Number of 2.

Close Data(3)

Will return the close price of the third data series.

value1 = 2;
High Data(value1) + Low Data(value1)

Will add the High of the second data series to the low of the second data series.