public method instance:getStream
Brief
Gets the output indicator stream.
Declaration | ||
|
Parameters | |
index |
The index of the indicator output stream. The index of the first stream is 0,
the index of the last stream is
|
Returns
The method returns an instance of the tick_stream
table which
contains output data of the indicator.
Details
You can also use identifiers of the streams to get access to the output streams as to properties of the instance table.
For example, the instance of the default Ichimoku implementation has the following properties:
TL
Trend(Kijun) Line, SL
Signal(Tenkan) Line, DL
Delayed(Chikou) Line,
SA
Leading Span 1 (Senkou A) and SB
Leading Span 2 (Senkou B).
The value of the DATA
property equals the TL
property of this indicator. The value of
SL line can be accessed via instance.SL
.