Forex
Google
New signals service!

Go Back   Forex Trading > Trading systems > Ema Cross


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
  #1 (permalink)  
Old 06-11-2006, 10:32 AM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up Self-trained MA cross!

Hi folks!

I have an idea that I didn't work in yet and want to hear your comments!

Moving Average crossing system in my opinion one of the best trading system if it optimized well.

My idea is creating self-trained MA cross expert advisor that could learn what the best prameters to use:

1- slow moving average period
2- fast moving average period
3- stop loss, trailing stop and take profit values
4- DO YOU HAVE ANY SUGESSTIONS?

Do you think it's achievable idea? let's set on the rounded table!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-11-2006, 12:30 PM
snowleopard's Avatar
Junior Member
 
Join Date: May 2006
Location: London
Posts: 21
snowleopard is on a distinguished road
Hi! I think that's a very good idea, that it would work well. Optmimised ma-crossing is used by large institutions, and I'd love to see it implemented in MT4. I'll try to be of as much help as I can.

If I may suggest, I think one should try to fine-tune the buy/sell signals by introducing a gearing function, as a function of the difference between price and ma or between two ma's.

What I mean is a function that takes the values: 0 (neutral) when i=price-ma is below a threshold a, 0.5 (slightly bullish) when i>a but less than b, 1 (bullish) when i>b but less than c, and finally -1 (contrarian) when i>c. The reverse would hold in the bearish direction.

Second step would be to introduce a decision function that makes the decisions based on the value of the gearing function, size of position, profit of position, account balance, and so on.

What do you think?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-11-2006, 12:35 PM
Junior Member
 
Join Date: Apr 2006
Location: Malaysia
Posts: 11
clixkers is on a distinguished road
Talking

wow,

its sound great. i also want to test it.

hope it will bring more pip..

thankz..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-11-2006, 12:51 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Yes it's very good idea about self-trained MA cross.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-11-2006, 02:32 PM
taters's Avatar
Junior Member
 
Join Date: Apr 2006
Posts: 18
taters is on a distinguished road
Adaptive Moving Averages

I think what you are talking about are called Adaptive Moving Averages, MAs that adapt to price fluctuations. I Googled the one I know of called KAMA (Kaufman Adaptive M A) and found a power point presentation viewable in html all about this and other AMAs, relative merits etc. Some people have done some serious work on the subject, so, as to not have to re-invent the wheel (as I have often done) I offer this link of Google's cache to the thread.

http://64.233.161.104/search?q=cache...ient=firefox-a

If you have Power Point you may wish this link instead:

www.mesasoftware.com/Seminars/TSWorld05.ppt

If neither works for you for some reason, type the following string into Google:
KAMA Kaufman

GoOd LuCk!

PS: for stop losses I saw once an indicator called the Chandelier Exit. I have no experience with it whatsoever, but here is a link to a custom programming site that offers it as a free download. Try it and post your results!
http://www.mqlservice.com/download.h...ilies/nerd.gif
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-11-2006, 02:39 PM
sunwest's Avatar
Member
 
Join Date: Jan 2006
Location: London
Posts: 93
sunwest is on a distinguished road
Hyia,

That is a great idea once again and you are brave to have initiated it.
I think MA cross can be really helpful, after all in forex we only have the price information to use.

Why not use several (2-3) fast and slow moving average, that could cross in between each other and trigger buy and sell with x Lot opening linked to a Money managment.

Also the Moving Average could be calculated in a non conventional way.
instead of having a fix set of period ( ex 25) you could use a kind of number of pips back between open and close, ex 250 so going back x period till the Totalpips = Totalpips+(abs(Open[i]-close[i])
if Totalpips>=250 then MAvalue= MA(i)

Hope it is not too confusing.
Thanks
Bernard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-11-2006, 02:59 PM
Administrator
 
Join Date: Sep 2005
Posts: 16,311
Blog Entries: 106
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I tried to search inside my computer ( sometimes it is better that Google) and i found 1 KAMA and 3 Kaufman indicators.

And Igorad created NonLagMA_v2 indicator.
He said that "with default settings it correspond FATL and seems looks better. Besides we can apply this MA for Volatility, Momentum and for other useful tools. We can receive SATL, JMA by changing of settings."
Attached Files
File Type: mq4 KAMA#3.mq4 (2.4 KB, 740 views)
File Type: mq4 Kaufman.mq4 (3.3 KB, 580 views)
File Type: mq4 Kaufman_Bands.mq4 (4.0 KB, 605 views)
File Type: mq4 Kaufman2.mq4 (3.3 KB, 571 views)
File Type: mq4 NonLagMA_v2.mq4 (2.7 KB, 714 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-11-2006, 03:23 PM
snowleopard's Avatar
Junior Member
 
Join Date: May 2006
Location: London
Posts: 21
snowleopard is on a distinguished road
Making a good MA cross based trading system is not the same thing as finding the most quickly adapting moving average. On the contrary, a bit a of lag can be good for robust buy/sell signals. So I think the best thing is to stick to price-MA as the basis for gearing, where MA is an appropriately chosen MA. I would suggest

MA(d, price) = 1/4 * Sum (EMA(2d/5,k,price))

where k in the sum goes from 1 to 4 and iteratiively

EMA(d,k,price)=EMA(d,EMA(d,k-1,price))

and then to start the optimisation around d=20.
__________________
Mundus vult decipi, ergo decipiatur.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-11-2006, 03:31 PM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 814
igorad is on a distinguished road
Hi,
Some comments for using of NonLagMA:

- default settings correspond FATL.
- Price(0), Length(128), Cycle(2), Phase(10), Coeff(7), Level(0.3)
curve is similar to SATL,
- Price(0), Length(128), Cycle(5), Phase(7), Coeff(10), Level(0.3)
similar to JMA (try to select better settings).

So we have all-in-one tool for digital filters (FATL, SATL) and for
such powerfull indicator like JMA.
I think this indicator will have the good future.

Igor
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-11-2006, 05:02 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Stma!

Thank you very much for your instant interaction to the idea!
Half of you had suggested Adaptive Moving Averages; this is really a great topic, but unfortunately is a faraway of my idea!
I'm the only person to be blamed for insufficient details about the idea!
I have to clarify the idea a bit further!
What I mean by STMA "Self-Trained-Moving-Average" is:
An expert advisor has the ability to test range of parameters to choose the best of them, very like the optimization option in MetaTrader strategy tester.
It's a simple neural network related expert advisor that trade the crossover of two moving averages slow and fast however, it can determine the best values of the slow and fast moving averages on the basis of the historical price data!
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


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/ema-cross/2459-self-trained-ma-cross.html
Posted By For Type Date
פורום - STRATEGY BANK This thread Refback 06-07-2008 07:20 PM
פורום - STRATEGY BANK This thread Refback 12-13-2007 01:27 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ema Cross! codersguru Ema Cross 732 08-29-2008 05:34 AM
MA cross/Price cross MA EA Pipsta_UK Expert Advisors - Metatrader 4 5 05-10-2007 08:50 PM
3 MA cross demontaz Indicators - Metatrader 4 2 04-15-2007 06:24 AM
ema cross 1f4 General Discussion 5 05-21-2006 03:13 PM


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



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