Difference between revisions of "Data"
(One intermediate revision by one other user not shown) | |||
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 == | |
− | + | <syntaxhighlight>DataN</syntaxhighlight> | |
− | Where: | + | Where: |
+ | |||
+ | :'''N''' - the Data Number of the data series. | ||
Or: | Or: | ||
− | + | <syntaxhighlight>Data(N)</syntaxhighlight> | |
+ | |||
+ | Where: | ||
+ | |||
+ | :'''N''' - a numerical expression specifying the Data Number of the data series. | ||
− | + | == Examples == | |
− | + | <syntaxhighlight>High Of Data2</syntaxhighlight> | |
− | + | Will return the high price of a bar in the data series with the Data Number of 2. | |
− | <syntaxhighlight>High Of Data2 | ||
− | High Of Data(2) | + | <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.