Jump to content

Recommended Posts

Posted

to predict n. ahead days in the future stocks or indices with R.

 

Install R-4.3.2rc-win.exe.

Install Pacchetti di R (Packages of R).

In read.table("C://Users//Atomo//Downloads//^gspc.csv",header=TRUE, sep=',') , change Atomo in your user name.

Put the file ^gspc.csv in the folder Downloads.

Open thr text file "previsione ar"(prediction ar).

Run R and put the text in the program.

You can try the method:"yw" or "ols" or "yule-walker",but I find that the best is the "burg".

You can change the ^gspc.csv, with any other file remember to ghange the ylim.

The prediction is good for 15 days ahead than the statistical deviation become too high.

Enjoy.

 

https://www.mediafire.com/file/5mcnkz08q0l0rls/R-4.3.2rc-win.rar/file

Posted
to predict n. ahead days in the future stocks or indices with R.

 

Install R-4.3.2rc-win.exe.

Install Pacchetti di R (Packages of R).

In read.table("C://Users//Atomo//Downloads//^gspc.csv",header=TRUE, sep=',') , change Atomo in your user name.

Put the file ^gspc.csv in the folder Downloads.

Open thr text file "previsione ar"(prediction ar).

Run R and put the text in the program.

You can try the method:"yw" or "ols" or "yule-walker",but I find that the best is the "burg".

You can change the ^gspc.csv, with any other file remember to ghange the ylim.

The prediction is good for 15 days ahead than the statistical deviation become too high.

Enjoy.

 

https://www.mediafire.com/file/5mcnkz08q0l0rls/R-4.3.2rc-win.rar/file

 

 

sorry Atomo have you already done some testing on this stuff or is it the usual waste of time like any other time series analyzer that is better lost than found...anyway thanks for your share

Posted

I don't do any test about the attendibility of the forecast.

You can try by yourself.

The next 15 days predicted for the S&P500 are possibles.Also the limits of the interval with the statistical deviations.

On the S&P500 there in an overbouth.then it can correct about to 4250.Next it rebound circa 4450 points.

This is a statistical method and I confeded in it better then in Astro-trading.

Posted (edited)
I wanted ,out of personal desire to try , to install the stuff in object....after the setup for the next step I don't know how to install (point 2) the R packages...I should have more time to findout and see some tutorials but at now I'm frozen Edited by laser1000it
Posted

To install the packages co to pacchetti(packages),installare pacchetti da file locali(install packages from local files)and select the zip files.This program has o consolle similar to ms dos ,but there is no necessary learn the language of programmation of R.For the prediction is sufficient to copy the text of previsionear.txt (predictionar.txt)and put them in the consolle.

I am not a mathematical and I read very little about regression,but this system is based on scientific observations and (nobody can predict the future) I confided sufficiently in it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...