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

talib.CDLXSIDEGAP3METHODS

The talib.CDLXSIDEGAP3METHODS() function is used to calculate Upside/Downside Gap Three Methods (K-line chart: Upside/Downside Gap Three Methods).

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

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

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

talib.CDLUPSIDEGAP2CROWS talib.AD