| New signals service! | |
|
|||||||
| 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. |
|
197 | 30.12% |
| They are bad. |
|
99 | 15.14% |
| Good strategies! But have to be well programmed. |
|
240 | 36.70% |
| I dont know what you are talking about. |
|
133 | 20.34% |
| Multiple Choice Poll. Voters: 654. You may not vote on this poll | |||
![]() |
|
|
LinkBack (10) | Thread Tools | Display Modes |
|
|||
|
@codersguru:
thank you for great effort... ![]() After attached your EA (http://www.forex-tsd.com/9264-post100.html) in 4pair eur/usd, gbp/usd, usd/chf, gbp/jpy.... three pair immediately started open trade (gbp/usd, usd/chf, gbp/jpy) and all of them have good result.... I dont know anything about programming... but based on this advised: Quote:
if(line1>line2)current_direction = 1; //up if(line1<line2)current_direction = 2; //down To if(line1>line2)current_direction = 2; //up if(line1<line2)current_direction = 1; //down Yesterday, I attached this EA to neuimex demo account TF30 in four pair.... and all of them have good result to.... ![]() I will continue to forward testing those EA for another 2/3 weeks.... |
|
||||
|
In the next modification i might put in another switch so if users want to do reverse trades on the cross they can (as in if the fast EMA goes above the slow, you do a sell). In my visual backtesting, it seems less profitable than going with the cross immediately then as the trades gets older looking for a reverse trade.
Another idea i had was to maybe wait a bar to take the trade after the cross (this might prevent those times the currency pokes through then goes the other way) I found another EMA cross program on this website had some good ideas. CROSSING EMA 5 x EMA 13 |
|
|||
|
Codersguru,
With respect to the MM part of trading. Starting with 10,000$ account: (account equity * risk %)/ largest loss = lots to trade (10,000* 10%)/ 50= 2 lots This is assuming SL is 50pips. So the account has to be adjusted every trade with this formula. I hope this helps. But before you incorporate this formula, please tell me what kinda win/loss ratio and risk/reward ratio are you expecting for this system. We can then build once we know that. Accordingly we can adjust the risk % to 10 or 15%. Also your typical largest loss will be equal to your SL since that will be maximum you can loose on any one trade. The risk % also has to take into account maximum drawdown or largest consecutive losses so that we can tide over the drawdown. Hope that helps. Anyone disagree with this MM please point it out so that we improve. The results which we get in a backtest usually just takes a standard 1 lot trade for every trade. So if we incorporate MM, the equity growth is multiplied by several times. That is the magic of MM. Most people concentrate on finding the best systems, but the real holy grail is MM. You can make an average system into a super system by MM itself. As I had pointed out in my earlier post, the following example will make it obvious. win - 74% Without Money Management Initial equity - 20,000$ Final Equity - 251,813$ With MM initial equity - 30,000$ Final equity - 582,930,624 $$$$$$$$$$$$$$$ Thats right! thats 5.82 million $! The values are theoritical, however the message is pretty clear. Last edited by radicalmoses; 02-16-2006 at 09:29 AM. |
|
||||
|
Quote:
|
|
||||
|
Quote:
I used the first block of code to be sure that the changing of the chart period will not affect the program. For example: if you attached the expert advisor to M30 chart and the Short EMA line was above the Long EMA line in the M30 chart, Then you clicked the D1 button and changed the timeframe to daily timeframe and the you was unlucky and the Short EMA line in the D1 chart was below the Long EMA in this chart. The expert advisor will consider it a crossing and open a trade. But with the above code i give it a chance to remember the last time frame and wait for another tick. I used the second block of code to check the currently opened trades and prevent the expert advisor to trade in the same pair twice. |
![]() |
| Bookmarks |
| Tags |
| ema forex, ema_cross_2, ema cross, ema cross ea |
| Thread Tools | |
| Display Modes | |
|
|
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 | 159 | 09-20-2008 02:19 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 |