Sumber dimuat naik... memuat...

talib.PLUS_DI


```talib.PLUS_DI()```函数的返回值为:一维数组。
array

talib.PLUS_DI(inPriceHLC)
talib.PLUS_DI(inPriceHLC, optInTimePeriod)

```inPriceHLC```参数用于指定K线数据。
inPriceHLC
true
{@struct/Record Record}结构数组
```optInTimePeriod```参数用于设置周期,默认值为14。
optInTimePeriod
false
number

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

PLUS_DI()Fungsi ini diterangkan dalam dokumen talib library sebagai:PLUS_DI(Records[High,Low,Close],Time Period = 14) = Array(outReal)

talib.MOM talib.PLUS_DM