Type/to search
11
Follow
6
Followers
¿Cómo puedo usar js para calcular la pendiente?
Help
Created 2021-03-18 20:44:55  
 2
 1380

El lenguaje MY tiene un SLOPE muy simple que se puede implementar.
Por favor, ¿hay alguna buena función para el lenguaje js?

Gracias

Related Recommendations
Comment
All comments (2)

    请问有现成的可用的函数吗?查api文档里可以查到:
    talib库里面的函数指标:
    -Statistic Functions 统计功能
    -LINEARREG_SLOPE Linear Regression Slope (线性回归斜率)
    -LINEARREG_SLOPE(Records[Close],Time Period = 14) = Array(outReal)

    但是不会用,是直接调用函数就可以了吗?

    5 years ago

    自己写直接算就可以

    5 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)