资源加载中... loading...

talib.CDLUNIQUE3RIVER

The talib.CDLUNIQUE3RIVER() function is used to calculate the Unique 3 River (K-line chart: Unique 3 River).

The return value of the talib.CDLUNIQUE3RIVER() function is: a one-dimensional array. array

talib.CDLUNIQUE3RIVER(inPriceOHLC)

The inPriceOHLC parameter is used to specify the K-line data. inPriceOHLC true {@struct/Record Record} structure array

function main() {
    var records = exchange.GetRecords()
    var ret = talib.CDLUNIQUE3RIVER(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.CDLUNIQUE3RIVER(records.Open, records.High, records.Low, records.Close)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.CDLUNIQUE3RIVER(records);
    Log(ret);
}

The CDLUNIQUE3RIVER() function is described in the talib library documentation as: CDLUNIQUE3RIVER(Records[Open,High,Low,Close]) = Array(outInteger)

talib.CDLTRISTAR talib.CDLUPSIDEGAP2CROWS