Forex
Google

Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register FAQ Members List Calendar Today's Posts


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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-28-2007, 07:30 PM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 551
MrPip is on a distinguished road
LSMA Experts and Indicators

After doing a search for LSMA on this site I have found that there is no central thread for using LSMA as an indicator or expert.

I have started this thread to serve that purpose.

I will be modifying this first post to contain the most recent versions of indicators and experts related to LSMA as well as explanations of there usage.

Anyone wishing to add to the list may do so and I will add the expert and indicator here or in the next few posts.

Lsma is the basic indicator.
LSMA_in_Color4 corrects the value of lsma by rounding the value based on currency pair. This has helped with the yellow zone on prior versions.

LSMA_Daily_EA_v1.1 is the first EA taht uses a simple cross of two LSMAs. The EA was very successful in 2005 for the GBPUSD but failed badly in 2006. I have since been trying different ideas and have found some interesting results. This will be discussed in future posts.

5/28/08 - added past regression deviated for use with lsma channel method


Robert
Attached Files
File Type: mq4 Lsma.mq4 (2.0 KB, 388 views)
File Type: mq4 LSMA in Color4.mq4 (3.5 KB, 396 views)
File Type: mq4 LSMA_Daily_EA_v1.1.mq4 (17.9 KB, 380 views)
File Type: mq4 past regression deviated.mq4 (5.6 KB, 47 views)

Last edited by MrPip : 05-28-2008 at 10:43 AM. Reason: Attach new indicator
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-28-2007, 07:31 PM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 551
MrPip is on a distinguished road
Reserved for future attachments

I have reserved this post for future attachment of experts and indicators.

I have added a few indicators here.

LSMA_Angle is an attempt to use the slope of the line to filter trades.

Linear Regression is a variation of LSMA_Channel.

MACD_LSMA_EMA uses LSMA for the MACD and EMA for smoothing.

N4_TF_LSMA_Bar is a modification of another indicator to use LSMA.
It will show 4 timeframes at one time.


Robert
Attached Files
File Type: mq4 LSMA_Angle.mq4 (5.6 KB, 306 views)
File Type: mq4 Linear Regression.mq4 (6.7 KB, 251 views)
File Type: mq4 MACD_LSMA_EMA.mq4 (3.8 KB, 280 views)
File Type: mq4 N4_TF_LSMA_Bar.mq4 (10.4 KB, 315 views)
File Type: mq4 LSMA_Channel.mq4 (7.6 KB, 283 views)

Last edited by MrPip : 06-28-2007 at 07:55 PM. Reason: Added attachments
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-28-2007, 07:32 PM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 551
MrPip is on a distinguished road
I have reserved this post for future attachment of experts and indicators.

N4_TF_LSMA_BarUpper will plot the current trend on the next 4 higher timeframes above the original indicator.

On a five minute chart you can now see the 5, 15, 30 and 60 with the original and the 240, daily, weekly and monthly with the upper version.

Regression_Channel_V2 was sent to me by a friend. I modified it to add the extra standard deviation levels. I have not looked closely at the code buy it seems MAShoot helps determine the starting point for the channel.

MTF_MA_in_ColorLSMA will plat the standard MAs in color as well as LSMA.
Start at the lowest timeframe of interest and use timeframe = 0.
Add other timeframes by attaching again to the main chart window with higher timeframes.

For example if the lowest timeframe is 15 minute you can attach the indicator with timeframe = 60, 240 and 1440 to get the indicator value for hourly, 4 hr and daily.

Robert
Attached Files
File Type: mq4 N4_TF_LSMA_BarUpper.mq4 (10.5 KB, 229 views)
File Type: mq4 Regression_Channel_V2.mq4 (8.3 KB, 217 views)
File Type: mq4 MTF_MA in ColorLSMA.mq4 (7.9 KB, 209 views)

Last edited by MrPip : 06-29-2007 at 04:57 PM. Reason: adding new indicators
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-28-2007, 08:51 PM
Cworthy Cworthy is offline
Junior Member
 
Join Date: Mar 2007
Posts: 6
Cworthy is on a distinguished road
Cool!

Thanks for the thread, Robert....I have subscribed.

Big Bop....feel free to be a non-participant.

Craig
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-28-2007, 09:30 PM
wookey's Avatar
wookey wookey is offline
Member
 
Join Date: May 2006
Location: Between Mars and Venus
Posts: 42
wookey is on a distinguished road
MrPip,

LSMA alone will never work. Of course you can use it as supporting indicator but don't think it's much better than other similar indicators. You will always have a problem of determinig the current market rhythm to correctly select the LSMA period. In that case it's better using digital filters which can adapt themselves with help of Fourier analysis.

What is really interesting about all this stuff, it's if you make an adaptive linear regression channel. Most traders can draw a regresion channel by hand, but I haven't seen any automated method.

I have some ideas, if anyone interested I will continue.

Wookey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-28-2007, 10:35 PM
chrisstoff chrisstoff is offline
Senior Member
 
Join Date: Jun 2006
Posts: 302
chrisstoff is on a distinguished road
MrPip,

Nice to see you here with your LSMA based EA. Hope this thread will help in further developing it.

Regards,

Chrisstoff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-28-2007, 10:39 PM
chrisstoff chrisstoff is offline
Senior Member
 
Join Date: Jun 2006
Posts: 302
chrisstoff is on a distinguished road
Quote:
Originally Posted by wookey View Post
MrPip,

LSMA alone will never work. Of course you can use it as supporting indicator but don't think it's much better than other similar indicators. You will always have a problem of determinig the current market rhythm to correctly select the LSMA period. In that case it's better using digital filters which can adapt themselves with help of Fourier analysis.

What is really interesting about all this stuff, it's if you make an adaptive linear regression channel. Most traders can draw a regresion channel by hand, but I haven't seen any automated method.

I have some ideas, if anyone interested I will continue.

Wookey
Wookey,

Yes, I am interested in both developing adaptive linear regression channel and usage of digital filters. Please share your further ideas with us.

Regards,

Chrisstoff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-28-2007, 11:15 PM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 551
MrPip is on a distinguished road
Adaptive regression channels

I am also interested in adaptive linear regression channels and already have 3 versions of automated regression channels.

This EA is a starting point. I plan to add ideas other than a simple cross that will have more chance of success.

Robert


Quote:
Originally Posted by wookey View Post
MrPip,

LSMA alone will never work. Of course you can use it as supporting indicator but don't think it's much better than other similar indicators. You will always have a problem of determinig the current market rhythm to correctly select the LSMA period. In that case it's better using digital filters which can adapt themselves with help of Fourier analysis.

What is really interesting about all this stuff, it's if you make an adaptive linear regression channel. Most traders can draw a regresion channel by hand, but I haven't seen any automated method.

I have some ideas, if anyone interested I will continue.

Wookey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-28-2007, 11:16 PM
Shinigami Shinigami is offline
Senior Member
 
Join Date: Nov 2006
Location: Ukraine
Posts: 492
Shinigami is on a distinguished road
MrPip don't get mad. I understand his point but I also understand your point.
Moving this thread might prove the most useful since you'll be able to make this system better with the help of those who want to help instead of simply being not understood.
I'd like to participate in the event.

Automated regression channels? Might work. Don't make it too complex though or you'll have problems if this one stops working. Because its hard to make changes to a very complex idea without accidently ruining it.
__________________
MQL4 programming is easy ^^

Last edited by Shinigami : 06-28-2007 at 11:20 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-28-2007, 11:22 PM
MrPip MrPip is offline
Senior Member
 
Join Date: Mar 2006
Location: La Verne,CA
Posts: 551
MrPip is on a distinguished road
Getting mad

I am not mad about the post. It just seems a bit strange that the very first post is negative. Like the person has nothing better to do than find new threads and slam them.

Robert
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/expert-advisors-metatrader-4/8319-lsma-experts-indicators.html
Posted By For Type Date
[MT_E and I] GBPJPY - ForexForums.org This thread Refback 06-27-2008 12:23 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
LSMA and EMA with angle ? frantacech Indicators - Metatrader 4 12 07-09-2007 10:02 PM
Lsma forexts Indicators - Metatrader 4 11 06-28-2007 06:45 PM
Zero Line LSMA european Indicators - Metatrader 4 1 09-24-2006 08:30 AM
2 LSMA-color indicator... ttt123 Metatrader 4 2 09-18-2006 08:33 AM


All times are GMT. The time now is 03:41 PM.