The talib.CDLUPSIDEGAP2CROWS()
function is used to calculate Upside Gap Two Crows (K-line chart: Upside Gap Two Crows).
The return value of the talib.CDLUPSIDEGAP2CROWS()
function is: a one-dimensional array.
array
talib.CDLUPSIDEGAP2CROWS(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.CDLUPSIDEGAP2CROWS(records)
Log(ret)
}
import talib
def main():
records = exchange.GetRecords()
ret = talib.CDLUPSIDEGAP2CROWS(records.Open, records.High, records.Low, records.Close)
Log(ret)
void main() {
auto records = exchange.GetRecords();
auto ret = talib.CDLUPSIDEGAP2CROWS(records);
Log(ret);
}
The CDLUPSIDEGAP2CROWS()
function is described in the talib library documentation as: CDLUPSIDEGAP2CROWS(Records[Open,High,Low,Close]) = Array(outInteger)