The resource loading... loading...

talib.AD

The talib.AD() function is used to calculate the Chaikin A/D Line (line stochastic indicator).

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

talib.AD(inPriceHLCV)

The inPriceHLCV parameter is used to specify the K-line data. inPriceHLCV true {@struct/Record Record} structure array

function main() {
    var records = exchange.GetRecords()
    var ret = talib.AD(records)
    Log(ret)
}
import talib
def main():
    records = exchange.GetRecords()
    ret = talib.AD(records.High, records.Low, records.Close, records.Volume)
    Log(ret)
void main() {
    auto records = exchange.GetRecords();
    auto ret = talib.AD(records);
    Log(ret);
}

The AD() function is described in the talib library documentation as: AD(Records[High,Low,Close,Volume]) = Array(outReal)

talib.CDLXSIDEGAP3METHODS talib.ADOSC