Forex



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
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2005, 06:37 PM
forexts's Avatar
Administrator
 
Join Date: Sep 2005
Posts: 299
forexts has disabled reputation
Lsma

What is an LSMA? It stands for Least Squares Moving Average and the indicator plots the endpoint of the linear regression line. By comparing the current value to the prior value a determination is made of a possible trend, ie the linear regression line is pointing up or down.

Use the close of the current candle after it is finished and the next candle is forming as the end point. That avoids the problem of a candle changing the value of the indicator in real time.
Attached Files
File Type: zip LSMA in Color.zip (2.6 KB, 795 views)
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 11-06-2005, 07:22 PM
lowphat's Avatar
Senior Member
 
Join Date: Sep 2005
Posts: 200
lowphat is on a distinguished road
quit looking me up :P

Last edited by lowphat; 12-09-2008 at 01:45 PM. Reason: hemorrhoids
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 12-02-2005, 07:10 PM
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 200
Blaiserboy is on a distinguished road
LSMA with CCI

I am posting a chart showing the use of Lsma to confirm entry defined by CCI..

using 3 Lsma 6 14 25.. enter when green for long, red for short and out when lsma changes to yellow...
Attached Images
File Type: gif Blaiserboy- 0053.gif (28.7 KB, 2193 views)
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 05-15-2006, 11:41 PM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 218
DerkWehler is on a distinguished road
LSMA is LR?

Quote:
Originally Posted by forexts
What is an LSMA? It stands for Least Squares Moving Average and the indicator plots the endpoint of the linear regression line. By comparing the current value to the prior value a determination is made of a possible trend, ie the linear regression line is pointing up or down.

Use the close of the current candle after it is finished and the next candle is forming as the end point. That avoids the problem of a candle changing the value of the indicator in real time.
Is LSMA = Linear Regression? I understand the concept of least squares when fitting an average line, but had not heard it referred as a moving average. I tried this code and got a Linear Regression line that seemed to make the same basic movements as my control (a LR line off of a charting system I pay for). But on the paid version, the peaks of the LR go higher (& lower), often above and below the bollinger bands, while on this version, that effect is much more subdued.

Any ideas why I am seeing this behaviour, or where else I might get an algorithm for LR for MetaQuotes4?
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 05-16-2006, 03:01 AM
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 200
Blaiserboy is on a distinguished road
Lsma

I removed the LSMA from my chart... I am trading using the indicator(CCI) almost exclusively... that is working much better...

I found that the extra indicators were a bit confusing....
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 05-16-2006, 04:13 AM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 218
DerkWehler is on a distinguished road
LSMA reason

Hi Blaiserboy:

Thanks for the info / post, but I do indeed need a good linear regression algorithm or mq4 program. Although I do use CCI, I prefer Linear Regression in combo with the bolliger bands for trading.

Also, it is a task I need to complete for others.

What struck me strange about the LSMA is that I had not read that LR is a MA calculation, although I do understand the concept of an algorithm to find a line that matches a 2 dimensional set of points best using the least squares method. I'd never seen indicator lines plotted in 3 colours

I am a long-term C/C++ programmer in Windows with Visual Studio, but using mq4 is new to me and, despite being very C-like, not having a good IDE to learn in is stunting my progress a bit.

So... does anyone else have any input on a different Linear Regression alorithm, or how I might tweak this one?

Thank you all,
-Derk
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 05-16-2006, 04:25 AM
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 200
Blaiserboy is on a distinguished road
I am not a programmer..... well, I did study it at college many moons ago. but I certainly have no skill with it..... LOL

I suggest. that if you have no luck here. that you post your request to the metatrader group in Yahoo. there may be someone there who can assist

here is the URL


http://finance.groups.yahoo.com/grou...nd_Indicators/

good luck with your venture..!!!!
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 05-16-2006, 05:03 AM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 218
DerkWehler is on a distinguished road
Cci

Blaiserboy:

Thanks for the link. After all that I went and looked at the CCI / LSMA chart you posted. Interesting... when I use CCI it is not overlaid on the graph.

Would you mind giving me an explanation of what parameters you use and what you are looking for -it looks promising.

-Derk
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
  #9 (permalink)  
Old 05-16-2006, 05:11 AM
Senior Member
 
Join Date: Nov 2005
Location: Canada
Posts: 200
Blaiserboy is on a distinguished road
I use CCI 14 I have stopped using the turbo CCI 6

I am trading ghost patterns and zlr's and tlb's... nothing complicated... but aggressive...

and doing this, I find that I need mainly the CCI 14 not a lot more as I am trading with trend and counter trend....

I use a tight stop....

none of this may be satisfactory to you...

for further info. have a look at Woodie's site. there is a pile of very valuable info in there.....

http://www.woodiescciclub.com/start.htm

there are as many methods as there are traders.... I have failed at many things until I got to know the indicator well enough and most of what I do is probably hard to define and also wrong in many people's eyes. I guess I progressed the most by practise trading for a gazillion hours...
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
  #10 (permalink)  
Old 05-16-2006, 05:18 AM
DerkWehler's Avatar
Senior Member
 
Join Date: May 2006
Location: Portland, OR
Posts: 218
DerkWehler is on a distinguished road
Quote:
Originally Posted by Blaiserboy
there are as many methods as there are traders.... I have failed at many things until I got to know the indicator well enough and most of what I do is probably hard to define and also wrong in many people's eyes. I guess I progressed the most by practise trading for a gazillion hours...
I know the feeling...

I'm also on the slow path of learning indicators one by one.

Thanks for all your responses.
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
least square moving average, Least Squares Moving Average, LSMA Line, what is lsma, forex lsma, lsma mt4, Lsma indicator, lsma forex, CCI ON CHART

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
LSMA and EMA with angle ? frantacech Indicators - Metatrader 4 12 07-09-2007 11:02 PM
LSMA indicator that shows confluence and divergence ZTrader Indicators - Metatrader 4 1 06-28-2007 07:53 PM
Zero Line LSMA european Indicators - Metatrader 4 1 09-24-2006 09:30 AM
2 LSMA-color indicator... ttt123 Metatrader 4 2 09-18-2006 09:33 AM


All times are GMT. The time now is 08:51 PM.



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