```talib.HT_TRENDMODE()```函数的返回值为:一维数组。
array
talib.HT_TRENDMODE(inReal)
```inReal```参数用于指定K线数据。
inReal
true
{@struct/Record Record}结构数组、数值数组
```javascript
function main() {
var records = exchange.GetRecords()
var ret = talib.HT_TRENDMODE(records)
Log(ret)
}
import talib
def main():
records = exchange.GetRecords()
ret = talib.HT_TRENDMODE(records.Close)
Log(ret)
void main() {
auto records = exchange.GetRecords();
auto ret = talib.HT_TRENDMODE(records);
Log(ret);
}
HT_TRENDMODE()
Функция описывается в документации талиб:HT_TRENDMODE(Records[Close]) = Array(outInteger)