Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


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

Reply
 
LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-12-2008, 06:48 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 312
mladen is on a distinguished road
LR trend

A combination of linear regression slope and its offspring RSquared
Gray dots on indicator : trend is not confirmed by RSquared (no trend)
Attached Images
File Type: gif lr trend.gif (14.7 KB, 871 views)

Last edited by mladen; 07-21-2008 at 05:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 07:11 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,999
fxbs is on a distinguished road
hi, Mladen!
glad to see you!
can you tell (normally) how's Rsq. formula works (what behind the logic)?
Attached Images
File Type: gif bb sq lr trend.gif (17.0 KB, 804 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 07:27 AM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 312
mladen is on a distinguished road
...

Attached a pdf that does a quite good job with explaining how RSquared works (pdf is not mine of course )

Quote:
Originally Posted by fxbs View Post
hi, Mladen!
glad to see you!
can you tell (normally) how's Rsq. formula works (what behind the logic)?
Attached Files
File Type: pdf Identifying Market Trends.pdf (331.3 KB, 259 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 08:27 AM
Senior Member
 
Join Date: Feb 2006
Posts: 525
Michel is on a distinguished road
Hi Mladen,
Thanks to share the source of good stuff for free ! (despite what is happening in the forum now).
Your indic is very well writen and structured ! Bravo!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2008, 08:40 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,999
fxbs is on a distinguished road
very interesting, Mladen, thank you!

"Stocks & Commodities V16:4 (173-179): Identifying Market Trends by Jack Karczewski

Linear regression is a statistical technique that fits a straight line to a datastream. The datastream is an independent variable versus a dependent variable. In this case, the independent variable is time and the dependent variable is price. This data is generally viewed in a scatter diagram, but here, we use traditional price charts with just the closing price plotted on the y-axis, and the x-axis being time. A straight line is fitted so the distance is minimized between the predicted line and the data, a technique referred to as least squares. The name comes from the use of squaring the differences between the line and the data points.

Some very valuable statistics are a byproduct of linear regression analysis: r-squared or the coefficient of determination, the standard error of the estimate, the slope of the line and finally a prediction.
This statistic informs us how well the line explains the data; the parameters for this statistic are zero and 1. A reading of zero indicates that the dependent variable has no linear relationship to the independent variable, while an r-squared reading of 1 indicates that the line explained the data exactly. High readings indicate good trends and low readings denote a nontrending or ranging market.

----------
p.s. and thx 4 S&C - interesting, especially in the end
btw. do we have r-squared thread?
Rsq ind - just in case
Attached Images
File Type: jpg rsq3.JPG (80.8 KB, 769 views)
Attached Files
File Type: mq4 R-Squared_v1.mq4 (3.3 KB, 215 views)

Last edited by fxbs; 01-12-2008 at 09:04 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-23-2008, 01:59 AM
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,999
fxbs is on a distinguished road
LR Rsquared Trend:
LRS & R2 - perfect match; naturally belonged together - good idea and a good taste (and design...) - congratulations, Mladen!
----
bb squeeze added to LR_trend_histo (just because & 2 have a bit disharmony)
Attached Images
File Type: gif lrr2 trend sqz1.gif (13.5 KB, 513 views)
File Type: gif lrr2 trend sqz2.gif (14.5 KB, 520 views)
Attached Files
File Type: mq4 LR_R2_Trend_Sqz.mq4 (11.3 KB, 203 views)

Last edited by fxbs; 01-23-2008 at 02:02 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/11760-lr-trend.html
Posted By For Type Date
Technorati: Discussion about “LR trend” This thread Refback 01-21-2008 08:20 PM
World of Forex Trading » LR trend This thread Pingback 01-12-2008 09:37 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nimrod's 4Hour Trend Crossover Trading with weekly trend detector! dsouzagroup General Discussion 35 12-16-2007 10:47 PM
Trend Osc Mano Indicators - Metatrader 4 0 08-03-2007 02:41 PM
I-Trend marcf General Discussion 3 04-22-2007 08:11 PM
Anti Trend and Trend Following Systems Maji General Discussion 3 03-08-2007 08:23 PM
Day Trend Fast_cris Indicators - Metatrader 4 1 04-21-2006 09:55 PM


All times are GMT. The time now is 01:16 AM.



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