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