Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register More recent Blogs 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
  #11 (permalink)  
Old 07-15-2006, 07:24 PM
gkozlyk's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
How would one program an EA to take trades using LSMA? As far as i know it isn't a default MA built into MT4.

Thanx,

Graham
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
  #12 (permalink)  
Old 06-28-2007, 07:45 PM
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 560
MrPip is on a distinguished road
LSMA indicator

Hello Derk,

I will be starting a new thread shortly on LSMA and will be posting indicators and experts related to LSMA on the first few posts.

LSMA as a moving average is based on plotting the end point of the linear regression line. I have versions that I need to find that also use other forms of straight line fit using hyperbolic, exponention, power and parabolic fit. This was someting I worked on for an auto emisions test lab back in 1978 and wrote in BASIC+II for a PDP 11.

I did find that straigt line worked best.

Quote:
Originally Posted by DerkWehler View Post
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
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


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
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 01:12 PM.



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