talib.CDLGAPSIDESIDEWHITE()
函数用于计算Up/Down-gap side-by-side white lines (K线图:上/下间隙并排的白色线条)。
talib.CDLGAPSIDESIDEWHITE()
函数的返回值为:一维数组。
array
talib.CDLGAPSIDESIDEWHITE(inPriceOHLC)
inPriceOHLC
参数用于指定K线数据。
inPriceOHLC
true
{@struct/Record Record}结构数组
function main() {
var records = exchange.GetRecords()
var ret = talib.CDLGAPSIDESIDEWHITE(records)
Log(ret)
}
import talib
def main():
records = exchange.GetRecords()
ret = talib.CDLGAPSIDESIDEWHITE(records.Open, records.High, records.Low, records.Close)
Log(ret)
void main() {
auto records = exchange.GetRecords();
auto ret = talib.CDLGAPSIDESIDEWHITE(records);
Log(ret);
}
CDLGAPSIDESIDEWHITE()
函数在talib库文档中的描述为:CDLGAPSIDESIDEWHITE(Records[Open,High,Low,Close]) = Array(outInteger)