Forex



Go Back   Forex Trading > Trading systems > Ema Cross
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: What do you think about Counter-Trend strategies?
They are good. 233 30.66%
They are bad. 122 16.05%
Good strategies! But have to be well programmed. 268 35.26%
I don’t know what you are talking about. 154 20.26%
Multiple Choice Poll. Voters: 760. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #101 (permalink)  
Old 02-14-2006, 06:47 PM
gkozlyk's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
It would be nice to have a piece of code in the indicator so that it makes an audible alarm and even a popup window to let you know a cross has happened on one of your charts (if you want to do manual trading).

I have seen the piece of code in the indicator to give an alert, but i have yet to see one happen after dozens of crosses on shorter time charts.

I also think a magic number hidden variable would be a good thing to put in as well, in case you want to run the trader on different timeframes, you can select a magic number to help keep track of them.

Thanx,

Graham

Last edited by gkozlyk; 02-14-2006 at 07:18 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
  #102 (permalink)  
Old 02-14-2006, 09:40 PM
gkozlyk's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
Maybe it is just me, but i have alot of ideas for this type of EMA. Is it possible to add in a timeframe stamp so it only takes trades at certain times (GMT). This would be handy for a 5 min during announcement times...then it would take a trade and limit out before most even enter trades (thus when the smart money is in the market), then when it is retracing or reversing it would grab pips on the down move as well. This would work well for US and Eur/London opens.

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
  #103 (permalink)  
Old 02-14-2006, 10:47 PM
Audio's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 139
Audio is an unknown quantity at this point
Hi ,Codersguru ,Why the ema cross indi the arrow upside down .
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
  #104 (permalink)  
Old 02-15-2006, 12:03 AM
gkozlyk's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
For the arrows being reversed, just swap the 2 arrow numbers in the code, then problem is solved. Compile afterward for it to take effect on all charts the indicator is applied to

Graham

Last edited by gkozlyk; 02-15-2006 at 12:05 AM.
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
  #105 (permalink)  
Old 02-15-2006, 11:54 AM
Senior Member
 
Join Date: Jan 2006
Posts: 128
radicalmoses is on a distinguished road
CodersGuru,

Firstly, thanks for a great work. I think we have taken a full circle and come back to one of the best systems of TA. As some of you maybe be knowing that Ed Seykota, made over 15million $ for some of his clients with 5k account using this simple crossover method and very good MM incorporated into his system.

The success of making his millions had very less to do with the system itself and more to do with MM.

I have been running the various versions of the EA and getting good results.
I am not too familiar with the intricasies of the EA and how good the results are.

However if you have a good enuff system which delivers 1:2 win/loss ratio over 70% of the time and the drawdowns are reasonable, there is no reason why you cannot make tons of money with this.

If you can incorporate using 10% of your account for everytrade, can we get the EA results? I would be very much interested in seeing the results.

I have posted the MM formula in one of my earlier posts, and codersguru has posted the script for it. Please tell me how to incorporate the MM into the EA.

Thanks, I will post my EA results in the next post with MM.
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
  #106 (permalink)  
Old 02-15-2006, 06:37 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Question Mm

Quote:
Originally Posted by radicalmoses
CodersGuru,

Firstly, thanks for a great work. I think we have taken a full circle and come back to one of the best systems of TA. As some of you maybe be knowing that Ed Seykota, made over 15million $ for some of his clients with 5k account using this simple crossover method and very good MM incorporated into his system.

The success of making his millions had very less to do with the system itself and more to do with MM.

I have been running the various versions of the EA and getting good results.
I am not too familiar with the intricasies of the EA and how good the results are.

However if you have a good enuff system which delivers 1:2 win/loss ratio over 70% of the time and the drawdowns are reasonable, there is no reason why you cannot make tons of money with this.

If you can incorporate using 10% of your account for everytrade, can we get the EA results? I would be very much interested in seeing the results.

I have posted the MM formula in one of my earlier posts, and codersguru has posted the script for it. Please tell me how to incorporate the MM into the EA.

Thanks, I will post my EA results in the next post with MM.
radicalmoses,
Thank you very much for your efforts!

I'm sure that the MM is the most important key for successful trading.

Your MM method which I’ve converted it to script seems a good one, but I don’t know what should we do with the number of contracts? Are they the maximum number of allowed trades to open? Should we use this value to calculate the Lot size?

Do you have any hint?
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #107 (permalink)  
Old 02-15-2006, 06:44 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Time Management system

Quote:
Originally Posted by gkozlyk
Maybe it is just me, but i have alot of ideas for this type of EMA. Is it possible to add in a timeframe stamp so it only takes trades at certain times (GMT). This would be handy for a 5 min during announcement times...then it would take a trade and limit out before most even enter trades (thus when the smart money is in the market), then when it is retracing or reversing it would grab pips on the down move as well. This would work well for US and Eur/London opens.

Graham
Graham,

Thank you for your great ideas and your efforts to make the EMA CROSS EA more useful.
I'll consider the Time Management system in the coming versions.
__________________
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #108 (permalink)  
Old 02-15-2006, 08:10 PM
gkozlyk's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
My pleasure codersguru to help you guys. Enclosed is a modified script from your post yesterday. What i have done is the following:

1. Changed the variables for 5 min charts. Ran this on the Gbp/Usd, Usd/Chf, Usd/Jpy, Eur/Usd and some others with good accuracy. In the code after the // i left the original values

2. Added in a boolean switch for the option if you want to go pro or counter trend if it isn't at a cross. False is pro-trend as in if the fast moving EMA is above the slow, it takes a buy right away. A True does a sell.

3. I went through and changed references to the fast and slow ema so that the fast is first (it was easier for me to debug that way as the fast ema is more active and the one that crosses).

4. Made sure that a fast EMA cross above did a buy (as an old version i had would do a sell, which didn't make sense to me).

I did some backtesting in Metatrader which made this not look to good, however given problems backtesting in metatrader, decided to do forward testing and try different things.

Here are some ideas for future versions:

1. Enabling a 5 min chart to take trades only before peak times.
2. Possibly having seperate variable settings in the script for different charts (the gbp/jpy moves alot more than the eur/usd, thus needing higher stoploss/limit, etc. Both 1 and 2 here can be found in Hans123, which i plan on working on here soon.
3. Some of the ideas i have already suggested in previous posts.

Let me know what you think and what I/we can put into into it. Also if anyone has Instant Messanging, maybe for coding we can work faster than via a forum. i use primarily googletalk or msn

Graham
Attached Files
File Type: mq4 EMA_CROSS_Feb15.mq4 (7.2 KB, 308 views)
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
  #109 (permalink)  
Old 02-15-2006, 10:46 PM
gkozlyk's Avatar
Senior Member
 
Join Date: Feb 2006
Posts: 203
gkozlyk is on a distinguished road
Here is yet another modification of the code from yesterday. What i did is took my last mod to the next level.

1. Incorporated a generated magicnumber for each pair and timeframe so as to keep track of trades but have them unique from each other.
2. Setup a preset so that for certain pairs, you can preset individual variable settings for a specific pair/timeframe. I wanted to put this in as if you turn on the EA and forgot to make a frequent change (as most pairs have a unique sweetspot for each timeframe), it is already there. Pairs not having a preset will use the external defaults.
3. In the preset area, you can even select what type of trade to do between crosses, a pro-trend or counter-trend, specifically for that cross. This seems abit more advance as one needs to know when to use that or not. The default and pairs are set for true (countertrend).

Note: the presets are more/less random at this point. I haven't used / tested this enough on 5 minutes to have ideals to use.

Comments?

Graham
Attached Files
File Type: mq4 EMA_CROSS_Feb15.mq4 (10.9 KB, 303 views)

Last edited by gkozlyk; 02-15-2006 at 10:53 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
  #110 (permalink)  
Old 02-15-2006, 11:59 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 994
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow Reverse direction

Quote:
Originally Posted by Audio
Hi ,Codersguru ,Why the ema cross indi the arrow upside down .
That's because we are taking the reverse direction!
__________________
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!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
ANG3110@latchess.com, coders guru ema cross, Cross, cross ema, cross forex, ema 34, ema cross, ema cross ea, ema cross expert, ema cross expert advisor, ema cross indicator, ema cross signal, ema ea, ema forex, EMACross3, ema_cross_2, forex, forex EMA, forex ema cross, forex ema cross ea, forex ema ea, Sidus, universalmacross


Currently Active Users Viewing This Thread: 4 (3 members and 1 guests)
trocam, zengy, wingate
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
3 MA cross demontaz Indicators - Metatrader 4 3 09-21-2009 06:36 PM
MA cross/Price cross MA EA Pipsta_UK Expert Advisors - Metatrader 4 5 05-10-2007 09:50 PM
ema cross 1f4 General Discussion 5 05-21-2006 04:13 PM


All times are GMT. The time now is 09:25 AM.



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