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

talib.CDLSHORTLINE

The talib.CDLSHORTLINE() function is used to calculate the Short Line Candle (K-line chart: Short Line).

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

talib.CDLSHORTLINE(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.CDLSHORTLINE(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.CDLSHORTLINE(records.Open, records.High, records.Low, records.Close)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.CDLSHORTLINE(records);
    Log(ret);
}

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

talib.CDLSHOOTINGSTAR talib.CDLSPINNINGTOP