Rank: 577 based on 150 downloads (last 30 days) and 4 files submitted
photo

Nate Jensen

E-mail
Company/University
Benet Laboratories

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Nate View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Mar 2013 Screenshot Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen technical indicators, modeling, analysis, finance 111 24
  • 5.0
5.0 | 5 ratings
15 Nov 2011 Screenshot Candlesticks Calculates the end indices of 90 different candlestick patterns Author: Nate Jensen finance, analysis, modeling, candlestick 23 2
17 Oct 2011 Screenshot Figure Pixel Resize Function Resizes either single plots, or plots arranged in a column by specified number of pixels Author: Nate Jensen resizefcn 3 0
06 Oct 2011 Screenshot Dynamic Search Box A dynamic search box key press function callback for an edit box Author: Nate Jensen keypressfcn, uicontrol, edit box, callback, java 13 4
  • 5.0
5.0 | 1 rating
Comments and Ratings by Nate View all
Updated File Comments Rating
21 Mar 2013 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen

Ha,

I have just added the KDJ Indicator as requested. It should appear shortly depending on how long Matlab takes to approve my submission.

This indicator was a little confusing. I'm not sure exactly which method is correct so I input 3 different methods. Simply uncomment whichever method you wish to use.

Method # 1:
J = 3*FastK - 2*FastD;

Method # 2:
J = ema(K,period);

Method # 3:
J = 3*SlowK - 2*SlowD;

Hope that helps!

Nate

19 Dec 2012 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen

Thanks Lu Li!

I'll try my hand at the mex function, but unfortunately I don't have a whole lot of experience with them so no guarantees.

I do agree with you, this function is slow as an optimizer. I suggest pulling out the individual indicators that you are interested in and turn them into their own functions. Then try to optimize those, that way you aren't bogged down by the 'Switch' statement.

13 Jun 2012 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen

Any time! Thanks again.

13 Jun 2012 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen

Arty - If you look at line 680,
ema6 = [nan(5*period-1,1); ema(ema5(~isnan(ema5)),period,observ-5*period+1)];
notice that ema6 must have a minimum of '5*period-1' for the size of the input vector. In your case you input a period of 20, therefore, you would need at least 5*20-1 (or 99) for size of your input vector. Either increase the size of your input vector, or decrease the period.
Thanks for the compliment!

Peter - Yeah there are many calculations like that in my code where you could use one method or another to calculate ema or use sma over ema. It is really a matter of opinion. Thank you for the rating!

25 Mar 2012 Dynamic Search Box A dynamic search box key press function callback for an edit box Author: Nate Jensen

Thanks Vincent!

At the moment I am not sure, but I will look into it. No guarantees on a time frame though.

Comments and Ratings on Nate's Files View all
Updated File Comment by Comments Rating
21 Mar 2013 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen Jensen, Nate

Ha,

I have just added the KDJ Indicator as requested. It should appear shortly depending on how long Matlab takes to approve my submission.

This indicator was a little confusing. I'm not sure exactly which method is correct so I input 3 different methods. Simply uncomment whichever method you wish to use.

Method # 1:
J = 3*FastK - 2*FastD;

Method # 2:
J = ema(K,period);

Method # 3:
J = 3*SlowK - 2*SlowD;

Hope that helps!

Nate

11 Mar 2013 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen Ha

could u add KDJ to the next version?

19 Dec 2012 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen Jensen, Nate

Thanks Lu Li!

I'll try my hand at the mex function, but unfortunately I don't have a whole lot of experience with them so no guarantees.

I do agree with you, this function is slow as an optimizer. I suggest pulling out the individual indicators that you are interested in and turn them into their own functions. Then try to optimize those, that way you aren't bogged down by the 'Switch' statement.

19 Dec 2012 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen li, lu

Excellent work!
I want to use it in an optimization, but it is kind of slow.
It would be wonderful if it can be into mex funtcion so the it will be much faster.

13 Jun 2012 Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen Jensen, Nate

Any time! Thanks again.

Top Tags Applied by Nate
analysis, finance, modeling, callback, candlestick
Files Tagged by Nate View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Mar 2013 Screenshot Technical Indicators A single function that calculates 25 different technical indicators Author: Nate Jensen technical indicators, modeling, analysis, finance 111 24
  • 5.0
5.0 | 5 ratings
15 Nov 2011 Screenshot Candlesticks Calculates the end indices of 90 different candlestick patterns Author: Nate Jensen finance, analysis, modeling, candlestick 23 2
17 Oct 2011 Screenshot Figure Pixel Resize Function Resizes either single plots, or plots arranged in a column by specified number of pixels Author: Nate Jensen resizefcn 3 0
06 Oct 2011 Screenshot Dynamic Search Box A dynamic search box key press function callback for an edit box Author: Nate Jensen keypressfcn, uicontrol, edit box, callback, java 13 4
  • 5.0
5.0 | 1 rating

Contact us