Forex
Google

Go Back   Forex Trading > Trading systems > Ema Cross
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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

View Poll Results: What do you think about Counter-Trend strategies?
They are good. 190 30.65%
They are bad. 92 14.84%
Good strategies! But have to be well programmed. 226 36.45%
I don’t know what you are talking about. 127 20.48%
Multiple Choice Poll. Voters: 620. You may not vote on this poll

Reply
 
LinkBack (10) Thread Tools Display Modes
  #11 (permalink)  
Old 02-03-2006, 04:25 AM
Audio's Avatar
Audio Audio is offline
Senior Member
 
Join Date: Oct 2005
Posts: 140
Audio is an unknown quantity at this point
Quote:
Originally Posted by codersguru
This even better:

TakeProfit: 130
Lots: 1
TrailingStop: 20
TimeFrame: Daily
VIVA codersguru !!!! ---Hi hellkas where are you , neet to see these one my friend.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-03-2006, 05:08 AM
Emerald King Emerald King is offline
Member
 
Join Date: Nov 2005
Posts: 35
Emerald King is on a distinguished road
Take a Closer look

This EA seems to be great but if you look at the trades it makes in the backtester, you will see that it has many trades on the same minute.

I dont think you will find a broker that will allow you to run this EA.

Has anyone run this on a real account forward not the backtester?
I would like to hear how it is working out.

EK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-03-2006, 10:49 AM
cardio cardio is offline
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
EMA_cross money management

Hi
If the system is good, why not increase lot sizes as ones profits increase, or as ones accountbalance increases. I think it must be easy to write a function to determine the number of lots to buy that would equal say 2% of ones accout balance.

I have seen a 'money management' thread on forex-tsd but can't find it now.

But I don't even know how to determine the lot price - please help.

here is what I have so far..

Code:
int NumberlotsToTrade(int percentOfAcc)
{
//To return the number of lots that are to be traded that
// would equal a certain percentage of the account total (percentOfAcc)

int moneyavailable;
int lotMM;
int lotss;

lotss =1;
moneyavailable = Mathceil(AccountBalance( ) *(percentOfAcc/100)) ;

// I suppose it should actually be: moneyavailable = Mathceil(AccountFreeMargin() *(percentOfAcc/100));

lotMM = moneyavailable/(lotprice) 
//how does one determine lot price for differentsymbols?

               if (lotMM < 0.1) lotMM = Lotss;
	  if (lotMM > 1.0) lotMM = MathCeil(lotMM);
	  if  (lotMM > 100) lotMM = 100;
return(lotMM);

}


I have seen Alex.Piech.finGer do the the following - but I don't fully understand it.
I suppose it is better to use accountfreemagrin as this is AccountBalance minus Acountequity right?
Does the 10000 represent a micro account - would one change it on a normal account>

Code:
  lotMM = MathCeil(AccountFreeMargin() * 50 / 10000) / 10;  // 50 risk :)

	  if (lotMM < 0.1) lotMM = Lots;
	  if (lotMM > 1.0) lotMM = MathCeil(lotMM);
	  if  (lotMM > 100) lotMM = 100;
Does anyone know of a good link where they explain: balance, equity, free Margin, Margin and Margin level. Thanks

when I started looking at forex I found the following for mini accounts.
Quote:
setting lot size to 10.0 lots = 1 standard lot (1.0 lot or $100K lot)
setting lot size to 1.0 lots = 1 mini lot (0.1 lot or $10K lot)
setting lot size to 0.1 lots = 1 micro lot (0.01 lot or $1K lot)
setting lot size to 0.01 lots = 1 minimicro lot (0.001 lot or $100 lot).
So if I set lot size to 0.01 - when I trade, a trade will cost me $100 and if my account leverage is 100, then effectively the bank has traded $10000 in my name.
The more I look at it - the more confused i get. LOL

Last edited by cardio : 02-03-2006 at 11:52 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-03-2006, 01:28 PM
codersguru's Avatar
codersguru codersguru is offline
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 MST Results

Could you download my simple yet profitable EMA_CROSS and tell me what's the MST results on his machine?

Note:

The data you getting from the broker server while you are running your demo account is filled with gaps and missing a lot of real data. You can't relay on this data in your strategy testing. So you have to download a complete history data and import it to MetaTrader to have the opportunity to get more accurate results.


You need to have a complete data for all the timeframes available in MetaTrader (1 minute, 5 minutes, 15 minutes, 30 minutes, etc). But if you can get a complete 1 minute data it will be easy to use the Period_Converter script shipped with MetaTrader to convert the 1 minute data to all the other timeframes data.


The free and complete (from 16/06/2004 up-to-date) 1 minute data can be downloaded from Alpari Databank by following this link:
http://www.alpari-idc.com/en/dc/databank.php
Attached Files
File Type: zip StrategyTester_H4.zip (48.0 KB, 485 views)
File Type: zip StrategyTester_M5.zip (13.6 KB, 529 views)
File Type: mq4 EMA_CROSS.mq4 (5.7 KB, 1162 views)
__________________
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
  #15 (permalink)  
Old 02-03-2006, 01:57 PM
smeden smeden is offline
Senior Member
 
Join Date: Oct 2005
Posts: 219
smeden is on a distinguished road
Smile

Nice!!

Why not add a stop loss?
Or will it kill the system?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-03-2006, 02:33 PM
codersguru's Avatar
codersguru codersguru is offline
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 StopLoss

Quote:
Originally Posted by smeden
Nice!!

Why not add a stop loss?
Or will it kill the system?
As you can notice in the strategy tester reports, there's no loss at all (I don't consider the last loss of type close at stop a loss).
I think there's no need for Stop Loss.

Attached is a version with a StopLoss and you can see how many losses the Expert had made?
Attached Files
File Type: mq4 EMA_CROSS_2.mq4 (6.0 KB, 901 views)
File Type: zip StrategyTester_Daily.zip (61.3 KB, 701 views)
__________________
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
  #17 (permalink)  
Old 02-03-2006, 04:04 PM
BrunoFX's Avatar
BrunoFX BrunoFX is offline
Senior Member
 
Join Date: Sep 2005
Posts: 819
BrunoFX will become famous soon enough
hello codersguru,

Do you think that this last version would be enough stable to be really used?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 02-03-2006, 05:05 PM
codersguru's Avatar
codersguru codersguru is offline
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

Quote:
Originally Posted by BrunoFX
hello codersguru,

Do you think that this last version would be enough stable to be really used?
No, all the versions are for testing purpose only, no less no more.
__________________
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
  #19 (permalink)  
Old 02-03-2006, 05:14 PM
sunwest's Avatar
sunwest sunwest is offline
Member
 
Join Date: Jan 2006
Location: London
Posts: 93
sunwest is on a distinguished road
Thanks you very much for sharing your result with us.

I think with a stop loss it is much better, because in your example you start with 1 lot at 10 000 and a leverage 100 which is quite high 10% of the account but as your profit increase you set it fixed.
The only thing I dont get are the space in between order, sometime it wont trave for 6 weeks, Ex:

2002.01.07 10:20 to 2002.03.21 00:00


I am going to test it at home also from 1 min alpari data from june 2004 and give some more feedback.

Thanks again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 02-03-2006, 07:21 PM
cardio cardio is offline
Senior Member
 
Join Date: Sep 2005
Location: St Louis, MO, USA
Posts: 176
cardio is an unknown quantity at this point
Angry why not keep it at 10%

I personally don't think its a good system. It would be better just trading the cross of the price and the 80 ema - using the catfx50 system. Nobody is going to retire earning $60 000 in 6 years - you could though have some stunning vacations. If we can increase its profitability 10 times then we are talking. So we have got to rachet it up.

If the system is profitable why not keep it buying at 10% of the overall account. Which was the point of my previous post in this thread, about how to determine how to keep the system buying lots that would be a fixed percentage of the overall account, which nobody has replied to.

Last edited by cardio : 02-03-2006 at 09:10 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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/ema-cross/925-ema-cross.html
Posted By For Type Date
OzFx Forex System • View topic - MA cross_over signal [arrow] Post #54 Refback 03-25-2008 08:58 AM
OzFx Forex System • View topic - MA cross_over signal [arrow] Post #54 Refback 03-16-2008 04:14 PM
ืคื•ืจื•ื - STRATEGY BANK This thread Refback 03-08-2008 06:00 PM
ืคื•ืจื•ื - STRATEGY BANK This thread Refback 02-24-2008 05:34 PM
XP Worx - Custom MetaTrader (MQL4) Programming and Free Expert Advisors - Indicators - Libraries - Scripts - MetaTrader Extensions (c++ DLLs) This thread Refback 12-28-2007 05:05 PM
ืคื•ืจื•ื - STRATEGY BANK This thread Refback 12-07-2007 07:06 PM
BIGWAVE BBS Post #663 Refback 10-15-2007 05:57 PM
Firebird EA, please test this one, it is one of the greats - Page 15 This thread Refback 08-30-2007 11:15 PM
Firebird EA, please test this one, it is one of the greats - Page 15 @ Forex Factory This thread Refback 06-23-2007 05:21 PM
XP Worx - Custom MetaTrader (MQL4) Programming and Free Expert Advisors - Indicators - Libraries - Scripts - MetaTrader Extensions (c++ DLLs) This thread Refback 06-21-2007 10:53 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross! creative Indicators - Metatrader 4 150 05-26-2008 02:03 PM
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 09:18 AM.