Inventor quantization supports talib index library, adding 151 indicators and pattern matching functions

Author: Zero, Created: 2016-02-09 20:43:29, Updated: 2019-08-01 10:51:38

How to call


talib.OBV(records);
talib.EMA(records, 15);

The first parameter is the value that GetRecords returns, which is mandatory, the other parameters are optional, and the default parameter is used if not specified.

I've been trying to get some help from MACD.

MACD(Records[Close],Fast Period = 12,Slow Period = 26,Signal Period = 9) = [Array(outMACD),Array(outMACDSignal),Array(outMACDHist)]

The first parameterRecords([Close])This indicator uses only the Close information in Records, and can be configured as参数描述 = 默认值

[Array(outMACD),Array(outMACDSignal),Array(outMACDHist)]Returns a multi-dimensional array with three elements in it, which is an array in the format Array (description).

OBV(Records[Close],Records[Volume]) = Array(outReal)So this is going to be a one-dimensional array.

See the API documentation for details, and you can refresh the browser cache without showing it properly.

Ta-lib official websitehttp://ta-lib.org/

托管者无需更新.


More