%Author: Moeti Ncube %This is code that can be used to backtest a trading strategy. The example strategy used was partially used in the development of a medium-frequency algorithmic trading strategy; this is a some of the backtesting coding we use to analyze tick data.
This code can be used to backtest a trading strategy for a time series that has the price vector in the first column and trading indicator in second column....
The GUI will plot the real time audio recorded from the microphone and then display it on the GUI. The GUI has three buttons one for start of the plotting on the wave and other to stop it and then third to close it.
SUBSPACE(A,B) finds the largest angle between two subspaces specified by the columns of A and B. If A and B are vectors of unit length, this is the same as COS(ABS(A'*B)) in exact arithmetic. This is a replacement for MATLAB's SUBSPACE.m Rev....
Centurion is a game of tactical ground warfare set in the Renegade Legion universe of 6830, published by FASA Corporation in 1991. The background centers on the Commonwealth's fight to resist the Terran Overlord Government's campaign to conquer...
PFQ Generalized Hypergeometric Function pFq [Y,TT,NTERMS] = PFQ(A,B,Z,D) returns the Generalized Hypergeometric Function pFq with numerator parameters A, denominator parameters B, evaluated at the values in Z, with respect to...
Art Admin Shortcuts adds quick icons and keyboard shortcuts to help administrator fast and easy access components and pages.
Features:
* Ability to go to any component, admin menu item (like Install/Uninstall, Module...
y = RankOrderFilter(x, window, thd) runs a rank-order filtering of order N on x. y is the same size as x. If x is a matrix, RankOrderFilter operates along the columns of x.
Rank-order filter calculates the p'th percentile of the data on...
Fast Algorithm estimating the number of sinusoids in a white Gaussian noise. This algorithm use a sub-space method based on chi-square statistics of eigen values of the Autocorrelation Matrix.
Example :
clear, close all...
This is a tiny application built using AutoHotKey script and compiler (http://www.autohotkey.com/http://www.autohotkey.com/]http://www.autohotkey.com/[/url]). It monitors Ctrl+Tab hotkey and if MATLAB Editor is active, it resends...
The script finds a (near) optimal solution to a variation of the "open" M-TSP by setting up a GA to search for the shortest route (least distance needed for each salesman to travel from the start location to unique individual cities and...
An implementation of "k-Means Projective Clustering" by P. K. Agarwal and N. H. Mustafa.
This method of clustering is based on finding few subspaces such that each point is close to a subspace.
In this file you can find a simple but very effective algorithm for Nearest Neighbour Search which I megalomaniacly called the GLTree.
You want more? go to the Professional version of GLTree
It has been designed for uniformly...
% Sample values h = 10; % height ra = 1.5; % radius
% Create constant vectors tht = linspace(0,2*pi,100); z = linspace(0,h,20);
% Create cylinder xa = repmat(ra*cos(tht),20,1); ya =...
http://simulations.narod.ru/
to run GUI run stroboscope.m
See video of result of slow motion guitar string:
There was made stroboscope from LEDs. LEDs was get from flashlight, The stroboscope drived from...
This plugin provides the ability to add comment blocks mid post. The use case for this is: WP is used to show clients creative documents, a single post is dedicated to a single project. Each revision is appended to the post. Adding in the CJ...
Use this simple, self-contained class definition to obtain quotes and historical data from Yahoo finance.
f = stock('f','5y','d);
creates a stock object with a current quote and five year history of daily data for the stock...
WP BANNERIZE is an Amazing Banner Image Manager. In your template insert: or set it like Widget
FEATURES
* Localizzate for Italian, English, Portuguese and Belorussian * Create your list (group/key) Banners image ...
The algorithm takes in a 1-D signal and finds the Gaussian derivative of it with the given kernel size and sigma, to provide the zero crossings. The zero crossings are then analyzed to give peaks and valleys. In order to remove very closely...
IPF allows one to find a matrix S, close to an input matrix T, but such that the row sums of S are R, and the column sums of S are C.
Its useful in a range of tasks like traffic matrix problems, statistics for examining independence...
Used to add AJAX open close effects to the FAQ-Tastic WordPress plugin.
Please note that this plugin does nothing on its own. This plugin requires the FAQ-Tastic Lite WordPress plugin that can be found at... |