capissimo

Forecasting - Seasonal Naive Method

For completeness here is a naive method with seasonality . The idea behind naive method with seasonality is to take last value from same season and treat it as a forecast. Its counterpart, naive method without seasonality , involves taking last mean value, i.e forecast = sma (x, p).
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?

評論

UPD: correct form is forecast = sma (x, p) + opening square bracket + 1 + closing square bracket.
+3 回覆