Forex



Go Back   Forex Trading > Downloads > Expert Advisors - 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

View Poll Results: Do you find MA Cross systems to be profitable?
Yes, I make good money 37 57.81%
Breakeven usually 17 26.56%
No, I lose money 10 15.63%
Voters: 64. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 04-09-2008, 05:52 PM
Administrator
 
Join Date: Sep 2005
Posts: 20,058
Blog Entries: 241
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
Moved it to simple.
The other EAs are on this section http://www.forex-tsd.com/ema-cross/
And this one Universal MA Cross EA
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 04-09-2008, 06:45 PM
Senior Member
 
Join Date: Nov 2006
Posts: 248
jbfx is on a distinguished road
I love MAs. I just throw a simple moving average on the chart and trade on the price action. Place a bet and hope for a trend. That's trading for ya, it's not rocket science and I don't need 10 different filters. I usually don't trade on crosses because it seems to whip saw to death at times. I just try to take the middle chunk of the move, and avoid picking tops/bottoms.
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
  #13 (permalink)  
Old 04-09-2008, 07:45 PM
Senior Member
 
Join Date: Oct 2007
Posts: 230
Dave137 is on a distinguished road
Smile

Quote:
Originally Posted by ryanklefas View Post
Minor update: This one will only take one trade per bar.
Good Start - I will evaluate it on demo with my settings and modifications like RSI(14) over and under 50 on entry, 14/42 EMA MA's 15-min scale, TP=30, also the gap between the short and long ma > 2*Point on entry (eliminates false entries) - Must say, Real nice clean programming! Try using EURJPY / USDJPY / GBPJPY as the currency pairs. One last entry condition is that Open[0]>Close[1] or Open[0]<Close[1].

Dave
<><<<

Since some crosses take time to widen before taking off, you may have to test various entry conditions on each current bar, and then check back several bars to see if an actual cross has taken place and then enter the trade - This took me a while to make this work. In your entry statement you have the current bar test, plus one bar back test for reverse condition. Just extend this by using a || (or) statement and test the bar back, and the reverse of this one bar back of the bar back bar.

Example of a setup entry statement to go long:
(MAS = MA-Short) (MAL = MA-Long)

if(MAS>MAL && MAS_1<MAL_1 || MAS_1>MAL_1 && MAS_2<MAL_2|| MAS_2>MAL_2 && MAS_3<MAL_3|| MAS_3>MAL_3 && MAS_4<MAL_4|| MAS_4>MAL_4 && MAS_5<MAL_5)
if(RSI1>50)
if(Open[0]>Close[1] ) {
BuyValue=1;
}

I have enclose the modified file to test:
Attached Files
File Type: mq4 Generic MA Cross Expert v1.1 mod1.mq4 (17.8 KB, 144 views)

Last edited by Dave137; 04-09-2008 at 09:05 PM.
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
  #14 (permalink)  
Old 05-03-2008, 01:39 PM
BigBaloo's Avatar
Member
 
Join Date: Nov 2007
Location: White Water BC
Posts: 66
BigBaloo is on a distinguished road
Hi Dave

Would it be possible for you to add an entry condition to this EA?
I'm thinking in terms of only permitting an entry when it is in the same direction as the Para Sar, with settings 0.013 & 0.2.
thanks.
__________________
It ain't the length of the trend, it's what you do with it!
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
  #15 (permalink)  
Old 05-03-2008, 07:04 PM
Junior Member
 
Join Date: May 2008
Posts: 2
wainernegocios is on a distinguished road
MA Cross When the signal change

Hi

I´m developing an EA with MA Cross. I would like that the EA close the position when MA crosses reverse, exit all lots and when the take profit and stop loss = 0.

Thank you.
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
  #16 (permalink)  
Old 06-23-2009, 12:19 AM
Junior Member
 
Join Date: Jun 2009
Posts: 1
Dean Sueck is on a distinguished road
Talking A Little Clarificiation please?

Quote:
Originally Posted by Dave137 View Post
Good Start - I will evaluate it on demo with my settings and modifications like RSI(14) over and under 50 on entry, 14/42 EMA MA's 15-min scale, TP=30, also the gap between the short and long ma > 2*Point on entry (eliminates false entries) - Must say, Real nice clean programming! Try using EURJPY / USDJPY / GBPJPY as the currency pairs. One last entry condition is that Open[0]>Close[1] or Open[0]<Close[1].

Dave
<><<<

Since some crosses take time to widen before taking off, you may have to test various entry conditions on each current bar, and then check back several bars to see if an actual cross has taken place and then enter the trade - This took me a while to make this work. In your entry statement you have the current bar test, plus one bar back test for reverse condition. Just extend this by using a || (or) statement and test the bar back, and the reverse of this one bar back of the bar back bar.

Example of a setup entry statement to go long:
(MAS = MA-Short) (MAL = MA-Long)

if(MAS>MAL && MAS_1<MAL_1 || MAS_1>MAL_1 && MAS_2<MAL_2|| MAS_2>MAL_2 && MAS_3<MAL_3|| MAS_3>MAL_3 && MAS_4<MAL_4|| MAS_4>MAL_4 && MAS_5<MAL_5)
if(RSI1>50)
if(Open[0]>Close[1] ) {
BuyValue=1;
}

I have enclose the modified file to test:
Hello Dave,

lol. 2 years later, I'm not even sure you still hang around here any more.

If you wouldn't mind, I'd like a little clarification of the following snippet quoted above:

if(MAS>MAL && MAS_1<MAL_1 || MAS_1>MAL_1 && MAS_2<MAL_2|| MAS_2>MAL_2 && MAS_3<MAL_3|| MAS_3>MAL_3 && MAS_4<MAL_4|| MAS_4>MAL_4 && MAS_5<MAL_5)

I don't understand where the MAS_3-5/MAL3-5 are supposed to originate from and this is the kind of check that I need in my code.


Thanks LOADS!

Dean
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
MA cross, ma cross alert


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
Cross! creative Indicators - Metatrader 4 191 11-15-2009 04:51 PM
MA cross/Price cross MA EA Pipsta_UK Expert Advisors - Metatrader 4 5 05-10-2007 09:50 PM
6 sma cross increase General Discussion 12 12-22-2006 10:05 PM
5 EMA / 6 EMA Cross azrob68 Suggestions for Trading Systems 16 12-17-2006 04:20 PM


All times are GMT. The time now is 01:59 PM.



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