This is a matlob code to test Elliot wave theory on historical forex data.