Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2008, 08:13 PM
Member
 
Join Date: May 2006
Posts: 47
juanchoc is on a distinguished road
[REQ] Polynomial Regression

Hi!
It would be nice to have a polynomial regression indicator in metatrader.
The idea is pretty simple, just like in a simple linear regression, we use the Least Squares method to fit a polynomial instead of the line function.

Simple Linear Regression = b1 + b2 * x
Polynomial Regression = b1 + b2 * x + b3 * (x) ^2 + b4 * (x) ^3 + ... + bn * (x)^n+1

As you increase the degree of the polynomial, the speed gets much faster.

Least Squares Method

I always use the matrix algebra formula here.

Is any coder willing to code this? I would do it myself but im really busy right now.

Thanks in advance,

JCC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:25 PM
Senior Member
 
Join Date: Jan 2006
Posts: 1,119
omelette is on a distinguished road
Quote:
Originally Posted by juanchoc View Post
Hi!
It would be nice to have a polynomial regression indicator in metatrader.
The idea is pretty simple, just like in a simple linear regression, we use the Least Squares method to fit a polynomial instead of the line function.

Simple Linear Regression = b1 + b2 * x
Polynomial Regression = b1 + b2 * x + b3 * (x) ^2 + b4 * (x) ^3 + ... + bn * (x)^n+1

As you increase the degree of the polynomial, the speed gets much faster.

Least Squares Method

I always use the matrix algebra formula here.

Is any coder willing to code this? I would do it myself but im really busy right now.

Thanks in advance,

JCC
I could be wrong but I think that is exactly what the 'DECEMA' MA indicator does...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 10:03 PM
Member
 
Join Date: May 2006
Posts: 47
juanchoc is on a distinguished road
Quote:
Originally Posted by omelette View Post
I could be wrong but I think that is exactly what the 'DECEMA' MA indicator does...
No, i've took a look at the DECEMA code and it doesnt look anything like a polynomial regression. Besides, im quite sure that i've tryied most (if not all) of the mt4 indicators around, and never seen a polynomial regression like the one im talking.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 11:27 PM
Senior Member
 
Join Date: Feb 2006
Posts: 587
Michel is on a distinguished road
Quote:
Originally Posted by juanchoc View Post
No, i've took a look at the DECEMA code and it doesnt look anything like a polynomial regression. Besides, im quite sure that i've tryied most (if not all) of the mt4 indicators around, and never seen a polynomial regression like the one im talking.
Don't you think that digitals filters are exactly what you are looking for ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 11:58 PM
Member
 
Join Date: May 2006
Posts: 47
juanchoc is on a distinguished road
Quote:
Originally Posted by Michel View Post
Don't you think that digitals filters are exactly what you are looking for ?
No, while there is some similitude in the mathematical structure (weigthing points with coefficients), the logic behind it is quite diferent. Here you use cohefficients on a linear number series (1,2,3,4,5,6,7,8,9,10,....).
Digital filters apply the weigths to the input itself. Also the method for calculating the coheficients of the digital filters is diferent to the one used here.

Still, i coded most of the functions and logic in the last hour, but it sure has some bugs, because i translated most of the matrix handling functions from .net.

In a few minutes i'll post the indicator, just in case another coder wants to fix it, as i dont have much free time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 04:12 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 4,412
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
We have some indicators based on polynomial regression on this thread.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 04:48 AM
Administrator
 
Join Date: Sep 2005
Posts: 20,083
Blog Entries: 243
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
And polynomial tools (similar with Jan Arps' Traders' Toolbox Online Store) for MT4 created by Igorad (in elite section).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 01-19-2008, 05:34 AM
Member
 
Join Date: May 2006
Posts: 47
juanchoc is on a distinguished road
Thanks Linuxser and newdigital! Just found the indicators in the elite section (the Jan Arps ones).
Nice indicators indeed.

Last edited by juanchoc; 01-19-2008 at 05:51 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
polynomial, Regression, polynomial regression forex


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linear Regression Indicator valnie Indicators - Metatrader 4 4 11-23-2009 04:55 PM
regression lines mmccormac Indicators - Metatrader 4 10 03-28-2009 04:27 PM
Linear Regression symtec23 Metatrader 4 4 07-08-2008 08:44 AM
Looking for Linear Regression Curve Paul_Morin Metatrader 4 5 05-12-2006 11:39 AM


All times are GMT. The time now is 12:12 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.