| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
[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 |
|
|||
|
Quote:
|
|
|||
|
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 ?
|
|
|||
|
Quote:
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. |
|
||||
|
We have some indicators based on polynomial regression on this thread.
__________________
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linear Regression | symtec23 | Metatrader 4 | 4 | 07-08-2008 07:44 AM |
| regression lines | mmccormac | Indicators - Metatrader 4 | 9 | 01-23-2007 02:19 PM |
| Linear Regression Indicator | valnie | Indicators - Metatrader 4 | 3 | 08-06-2006 06:59 PM |
| Looking for Linear Regression Curve | Paul_Morin | Metatrader 4 | 5 | 05-12-2006 10:39 AM |