Top 10% contributor
I need for plotting a constant line in a chart in which there is a time series X.
So, given the time series X, texti...
Asked 1 year ago
I want to construct a serial date vector in matlab that consider a period of 2 years with frequency 1-minute.
I have to build a set of simple moving averages with different periods; may be that my problem is pretty tricky...
I have to backtest a trading strategy based on the cross of 3 simple moving average of 4,9 and 18 periods.
I want to have a script that runs if the variable X is within 0 and 1.
I writed down the following code:
if 0 < X < 1
I need for building a set of matrices using the for loop; Starting from the main matrix with dimension 9x9, I want to b...
I know that this kind of question was been asked a lot of time here on Matlab Answers, but I am not able to ada...
I have a vector x(1:10000,1) which elements are all 0.
I want to replace 0 with 1 in the case a statement is sati...
I have to backtest a mean-reverting strategy that use the spread z and goes:
* long when the indicator z > -2;
* short-sell ...
Dear matlab users,
I'm trying to implement a loop in matlab for estimating a markov-switching model; for instance, the code for...
Asked 2 years ago
Dear matlab users,
I'm trying to run an autoregressive model with the correction of finite sample coefficients.
The model ...
Asked 3 years ago
Good morning everyone,
I tested for cointegration 2 time series using the Johansen's cointegration test, but I do not know how ...
Dear matlab users, I'm trying to run an autoregressive model with the correction of finite sample coefficients.
The model is ba...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries