Rank: 935 based on 73 downloads (last 30 days) and 9 files submitted
photo

Nagi Hatoum

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Nagi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Jul 2010 Screenshot Real Time Heart Rate Monitor Displays heart rate data from a wireless cardiogram Author: Nagi Hatoum signal processing, biotech, data import, medical 13 0
10 Jun 2005 Screenshot peaks Find the peaks and troughs in a vector. Author: Nagi Hatoum peak, through, maximum, minimum, point 8 14
  • 2.83333
2.8 | 12 ratings
07 Jan 2005 renamedicom Renames Dicom Images with Sequential Alpha Numeric Nomenclature. Author: Nagi Hatoum biotech, pharmaceutical, dicom, medical image, header, name 0 0
  • 1.0
1.0 | 1 rating
01 Apr 2004 Screenshot Plottradeguide Plots tradeguide's results. Author: Nagi Hatoum finance, modeling, analysis, tradeguide, plot, trendline 5 1
  • 5.0
5.0 | 1 rating
01 Apr 2004 Screenshot Tradeguide Gives best buy and sell signal to benchmark trading system. Author: Nagi Hatoum trading benchmark sto..., analysis, modeling, finance 22 7
  • 3.2
3.2 | 6 ratings
Comments and Ratings on Nagi's Files View all
Updated File Comment by Comments Rating
21 Dec 2011 Plottradeguide Plots tradeguide's results. Author: Nagi Hatoum Daniel

There is an error on line 12 - tp=[tp;tp(end)]. The variable "tp" does not exist. Is that correct?

04 Oct 2010 Candlestick Graph Plots a candlestick graph. Author: Nagi Hatoum SS, SSOI

Hi I made update for you to speed up. Old codes are too slow for large amount of data ....

%%%%%%%%draw line from Low to High%%%%%%%%%%%%%%%%%
% ------------ following codes too slow ------- %
% lineHandles = zeros(1,l);
% for i=1:l
% lineHandles(i) = line([date(i) date(i)],[L(i) H(i)],'Color',colorLine);
% end
% --------------------------------------------- %

lineDataX = zeros(1,3*l);
lineDataY = zeros(1,3*l);

lineDataX(1:3:end) = date;
lineDataX(2:3:end) = date;
lineDataX(3:3:end) = NaN;

lineDataY(1:3:end) = L;
lineDataY(2:3:end) = H;
lineDataY(3:3:end) = NaN;

lineHandles = plot(lineDataX, lineDataY, 'Color', colorLine);

%%%%%%%%%%draw white (or user defined) body (down day)%%%%%
% ------------ following codes too slow ------- %
% fill1Handles = zeros(1,length(n));
% for i=1:length(n)
% x=[date(n(i))-w date(n(i))-w date(n(i))+w date(n(i))+w date(n(i))-w];
% y=[O(n(i)) C(n(i)) C(n(i)) O(n(i)) O(n(i))];
% fill1Handles(i) = fill(x,y,colorDown);
% end
% --------------------------------------------- %

n=find(d<0);
x=[date(n)-w date(n)-w date(n)+w date(n)+w];
y=[O(n) C(n) C(n) O(n)];
z=ones(size(x));
fill1Handles = patch(x', y', z', 'FaceColor', colorDown);

%%%%%%%%%%draw black (or user defined) body(up day)%%%%%%%
% ------------ following codes too slow ------- %
% n=find(d>=0);
% fill2Handles = zeros(1,length(n));
% for i=1:length(n)
% x=[date(n(i))-w date(n(i))-w date(n(i))+w date(n(i))+w date(n(i))-w];
% y=[O(n(i)) C(n(i)) C(n(i)) O(n(i)) O(n(i))];
% fill2Handles(i) = fill(x,y,colorUp);
% end
% --------------------------------------------- %

n=find(d>=0);
x=[date(n)-w date(n)-w date(n)+w date(n)+w];
y=[O(n) C(n) C(n) O(n)];
z=ones(size(x));
fill2Handles = patch(x', y', z', 'FaceColor', colorUp);

21 May 2009 peaks Find the peaks and troughs in a vector. Author: Nagi Hatoum Stanchev, Nikola

Excellent! The code is very helpful. Simple and genius.

27 Sep 2008 Tradeguide Gives best buy and sell signal to benchmark trading system. Author: Nagi Hatoum Koolen, Jan

In reply to Dimitri Shvorob:

"The author then looks for switching signs, forgets about them, and (for some reason) sets trade = buy. A total of 3 meaningful lines.."

Not true in my opinion.
Switching signs are stored in a vector named changemarker (not forgotten about).
Similarly, values of 1 (buy), and 0 (sell) are stored in a vector named tradesignal. Nowhere does the author set 'trade = buy'. Use these vectors as you see fit.

The strategy may be simple, but the script is described as merely a benchmark for NN.

18 Aug 2008 Candlestick Graph Plots a candlestick graph. Author: Nagi Hatoum YAO, DE

Great!

Top Tags Applied by Nagi
analysis, finance, modeling, biotech, trendline
Files Tagged by Nagi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
23 Jul 2010 Screenshot Real Time Heart Rate Monitor Displays heart rate data from a wireless cardiogram Author: Nagi Hatoum signal processing, biotech, data import, medical 13 0
10 Jun 2005 Screenshot peaks Find the peaks and troughs in a vector. Author: Nagi Hatoum peak, through, maximum, minimum, point 8 14
  • 2.83333
2.8 | 12 ratings
07 Jan 2005 renamedicom Renames Dicom Images with Sequential Alpha Numeric Nomenclature. Author: Nagi Hatoum biotech, pharmaceutical, dicom, medical image, header, name 0 0
  • 1.0
1.0 | 1 rating
01 Apr 2004 Screenshot Plottradeguide Plots tradeguide's results. Author: Nagi Hatoum finance, modeling, analysis, tradeguide, plot, trendline 5 1
  • 5.0
5.0 | 1 rating
01 Apr 2004 Screenshot Tradeguide Gives best buy and sell signal to benchmark trading system. Author: Nagi Hatoum trading benchmark sto..., analysis, modeling, finance 22 7
  • 3.2
3.2 | 6 ratings

Contact us at files@mathworks.com