Code covered by the BSD License
-
callnnpiter
routine to call nnpiter
-
ema(x,N)
-
emstd(X,N)
exponential moving standard deviation
-
isoplot(xx,yy,zz,u)
red
-
isoplot(xx,yy,zz,u)
min and max and range
-
lorenzeq(t,y)
LORENZEQ Equation of the Lorenz chaotic attractor.
-
marisa(x,N,M)
-
nnpiter(x,window,d, n, thresh...
fill out the matrix until we have a full data set
-
plotNNPresults
-
r=rsi2(x,N)
up and down moves
-
strategyAnalysis(t,p,pos,th,p...
plot the buy and sell signals on the data
-
trstoploss(t,p,pos,th,ph,thre...
trailing stop loss function.
-
callnnpiterScan.m
-
indicatorPlot.m
-
marisa3DFig.m
-
marisaMotivation.m
-
marisaScript.m
-
takens.m
-
BB2
-
DMM
-
MA_Model
-
matrixFtse
-
View all files
from
Algorithmic Trading with MATLAB - 2009 update
by Michael Weidman
M-file scripts and Simulink models from webinar on 28 May 2009
|
| emstd(X,N)
|
function em = emstd(X,N)
% exponential moving standard deviation
% we use the following formula:
% std = sqrt(E[ (X - E[X])^2 ])
% where E = exponential moving average.
em = sqrt( ema( (X - ema(X,N)).^2, N) );
|
|
Contact us at files@mathworks.com