PINE LIBRARY

FunctionForecastLinear

1 534
Library "FunctionForecastLinear"
Method for linear Forecast, same as found in excel and other sheet packages.

forecast(sample_x, sample_y, target_x) linear forecast method.
  Parameters:
    sample_x: float array, sample data X value.
    sample_y: float array, sample data Y value.
    target_x: float, target X to get Y forecast value.
  Returns: float

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。