alexgrover

Linear Extrapolation

Basic extrapolator for forecast a time-series, all forecasts are mades length periods ahead.



This is not a estimation of the exact price

This should only be used for forecasting direction, dont expect the price to be at the same value of its forecast.

Bias, Mean absolute error, Mean percentage error...etc look useless here, its better to use correlation as a accuracy measurement.

Correlation(Forecast,close,period)


Rescaling for a better forecast ?

Transforming a non-stationary signal to a stationary signal can increase the forecasting accuracy, this can be done by detrending. Here is a list of somes detrending methods:

Auto-Bias : price - price

Mean-Bias : price - price moving average

Log transform : log(price/price moving average)

Correlation : correlation(price,n,period)




Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?