Search:
MATLAB Central
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Trendy
Cody
Contest
MathWorks.com
Create Account
Log In
File Exchange
Answers
Newsgroup
Link Exchange
Blogs
Trendy
Cody
Contest
MathWorks.com
Download Submission
Code covered by the
BSD License
Highlights from
Trading strategy back tester
CSVconvert(thelist)
This script reads the current directory for .csv files.
IndBol(s)
We set the default variables.
IndMA(s)
We set the default variables.
IndMACD(s)
This function plots the Heads Up Display of a Stochastic Indicator.
IndStoc(s)
This function plots the Heads Up Display of a Stochastic Indicator.
MACD(s,x,y,w)
It plots the moving average of a stock.
MACDcand(val,t,col)
This function will draw a candlestick.
MACDdisplay(s,x1,x2,x3)
This function plots the Heads Up Display of a Stochastic Indicator.
RSI(stock)
This m.file is a function that plots the candlestick diagram and the RSI
StocChart(look,x,y,ent,ext1,e...
UOL Box.
StocGUI(x1,x2,x3,x4,x5,x6,x7,...
This program opens up the main page of our "Stochastic Indicator"
cand(o,h,l,c,t,col)
This function will draw a candlestick.
cand2(ourData,period)
This plots the candlestick graph for a certain stock, at the same time
contCSV(filename)
Input a CSV file, make it continuous, and then output another CSV file.
distance(A,vi,vj);
distance computes the distance between 2 vertices, vi and vj. Input
draw(S)
Draw everything with default values.
draw2(S)
This draws the main display, showing three indicators - Bellinger,
drawcand(s)
This is a function which uses the candlestick function and draw the ohlc
drawcand2(s)
This is a function which uses the candlestick function and draw the ohlc
drawcandMACD(s,bsmat,x,y,w)
This is a function which uses the candlestick function and draw the ohlc
drawcandstoc(s,bsmat)
This is a function which uses the candlestick function and draw the ohlc
expavg(s,period)
It plots the exponential moving average of a stock.
mainGUI(one,two,three,four,fi...
This MATLAB script creatives the main GUI for selecting our stocks.
mainwindow(onestock,ind1,ind2...
This is the main display for the stock we choose.
min2time(time,add)
Function to add minutes to a time.
mindiff(time1,time2)
A function to calculate the difference in minutes between two 24-hour
movavg(s,day)
It plots the moving average of a stock.
readdata(filestring)
This function will read a CSV file downloaded from Yahoo! data.
readdata(filestring)
This function will read a CSV file downloaded from Yahoo! data.
stddev(s)
It plots the standard deviation of a stock.
stoc(s,look,x,y,ent,ext1,ext2)
It plots the stochastic indicator of a stock.
stoccalc(s,look,x,y,ent,ext1,...
This program takes in the following variables
stoccalcmat(s,look,w1,w2,mine...
This function takes a stock and makes a 3D plot of the profit and loss
stocdisplay(s,look,x,y,ent,ex...
This function plots the Heads Up Display of a Stochastic Indicator.
stocdisplay2(s)
This function plots the Heads Up Display of a Stochastic Indicator.
stocopt(stock)
This function will use the stochastic indicator and find the variables
textxx1(justtake)
We test. We get an array of strings.
whatisname(na)
writetofile(Data,name,filenam...
We take in the matrix called Data and write it to a file called
draw3.m
exe.m
getdatamat.m
graphtest.m
run.m
runCSV.m
runGUI.m
testxx2.m
writetest.m
View all files
from
Trading strategy back tester
by
Donny Lee
This program shows the profit and lost of using different trading strategies on Singapore stocks.
writetest.m
File too large for web preview. Please download submission to view.
Contact us