Linear Regression Line (LSMA)

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Linear Regression Line (LSMA)

Postby Apprentice » Mon Mar 19, 2012 1:51 pm

Linear Regression Line.png

Linear Regression Line.lua
(2.57 KiB) Downloaded 1905 times

Linear Regression Line with Alert.lua
(12.23 KiB) Downloaded 738 times

LSMA.lua
(2.28 KiB) Downloaded 1463 times


The indicator was revised and updated
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Linear Regression Line

Postby sagymmm » Thu Sep 20, 2012 5:26 am

Hello sir,
Is there a possibility to have a linear regression cross over indicator?
the used indicator is the regression line
Entry point is the crossover of the lighter (for example regression line (20)) to the heavier (regression line (50)) as shown in the attached chart
If the crossover is up we go long and if down we go short
Stop loss or exit will be a red candle closing below the regression line (50) in case of long and green candle closing above regression line (50) in case of short
That can be applicable to different pairs on different time frames with different settings of the regression line
Thx for your interest
Attachments
13.jpg
sagymmm
 
Posts: 21
Joined: Mon May 14, 2012 4:28 am


Re: Linear Regression Line (LSMA)

Postby sagymmm » Wed Oct 31, 2012 7:12 am

Thx sir
sagymmm
 
Posts: 21
Joined: Mon May 14, 2012 4:28 am

Re: Linear Regression Line (LSMA)

Postby Alexander.Gettinger » Tue Aug 13, 2013 8:36 am

MQL4 version of Linear Regression Line: http://www.fxcodebase.com/code/viewtopi ... 466#p88466
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk


Re: Linear Regression Line (LSMA)

Postby Apprentice » Sun May 01, 2016 10:58 am

Linear Regression Line with Alert.lua Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Linear Regression Line (LSMA)

Postby Apprentice » Sun Jun 04, 2017 5:25 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36437
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Google [Bot] and 138 guests