| 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 |
|
![]() |
|
|
LinkBack (20) | Thread Tools | Display Modes |
|
|||
|
Quote:
|
|
||||
|
I have two identical EA's, except one has Money Management added.
This is the only the code that was added when compared the two; Code:
extern bool UseMM = true; // 1 = true & 0 = false extern double Risk = 5; // percent of account equity to risk per trade Code:
// ====== Money Management of Lot Size routine ======
if(UseMM)
{
Lots=AccountEquity()* Risk/100/1000;
if( Lots>0.1 )
{
Lots=NormalizeDouble(Lots,1);
}
else
Lots=NormalizeDouble(Lots,2);
}
![]() Last edited by matrixebiz; 01-29-2008 at 10:47 PM. |
|
||||
|
Quote:
Could you post the statement to look at? Also, post the trade journal. Were there any errors in the journal? I'm not too concerned with when your Next_Trade was hit. Next_Trade will execute when current price is >= (greater than, or equal to) your last open + Next_Trade for buys, or <= your last open - Next_Trade for sells. There could be many situations that you won't see your Next_Trade execute exactly on your set parameter. The EA is coded so when your Next_Trade situation is met (could be > for buys, or < for sells) to fire an Ordersend() command. If the server context is busy, re-quoting in a fast moving market, or not responding, the EA will try up to 5 times to put your order through. When the order finally does go through, you may or may not be EXACTLY on your Next_Trade price. GBPJPY with it's high spread, and fast moving volitility, makes it a good candidate NOT to land it's Next_Trade exactly where desired. A little more concerning to me is why ALL orders didn't close when your 1% TP was met. Out of curiosity, what does 1% work out to. The EA closes orders by identifying them by their magic number, it doesn't just close ALL open orders because you may have EA attached to more than 1 chart. Each currency pair is assigned it's own magic number for this purpose. In v1_5 (currently working on) I will try to address this issue. What happened to you is all the orders didn't close, only one did. Then the EA looked at the last order placed (0.2) and when the conditions were met is added to that (0.3). In the next version I will put in some more fail safe measures to try and fix this problem. |
|
||||
|
Quote:
![]() |
|
||||
|
Quote:
Shouldn't be too hard to figure out. Everyone realizes that MM will only effect the first order of a cycle right? |
|
||||
|
Quote:
I agree with your statements Neo. There needs to be some additional strategy put into play here. Who has a possible solution? |
|
|||
|
Quote:
What if starting the trades in hedged form (I guess who uses this EA, TakeProfit is lower than the Next Trade parameter and this causes the main "getstuck"-problem). So two "lines" would run at the same time. First starts with buy, second with sell. If one starts struggling in Buys-Sells, the second takes a win until that time. And somehow maybe they could be optimised to each other (CloseAllTrades). Just an idea. Would it work? |
|
||||
|
I am waiting for the directional input to be in v1.5, where I can specify Long or Short as the initial opening (Then use long only or short only in conjunction with this)...Then I am going to use some indicator to give me a bias and use close-all and autorestart to false...with a basket of four non correlated pairs.
I may or may not utilize increments...I have not decided yet...I will prolly' test with increments first... ES |
![]() |
| Bookmarks |
| Tags |
| martingale, martingale ea, martingale EA, martingale ea download |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/martingale-average-cost-hedging/11734-martingale-ea.html
|
||||
| Posted By | For | Type | Date | |
| ea - learn to trade forex swicki - powered by eurekster | This thread | Refback | 06-05-2008 06:34 PM | |
| [intraday]martingale strategy dan variasinya - Page 6 - Forexindo Forum | This thread | Refback | 04-04-2008 03:15 AM | |
| TFX v1.5 Expert Adviser - The Money Guru Forum - Money Making Discussions | This thread | Refback | 03-31-2008 05:36 PM | |
| Download 10points3 Ea - Type Your Search Here | This thread | Refback | 03-12-2008 01:38 AM | |
| Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo | This thread | Refback | 03-08-2008 08:36 PM | |
| Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo | This thread | Refback | 03-07-2008 07:27 AM | |
| Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo | This thread | Refback | 03-07-2008 03:27 AM | |
| Expert Advisor | Forex MetaTrader Expert Advisors | Over 40 of the Best EA's for MT4 on Squidoo | This thread | Refback | 03-05-2008 01:56 AM | |
| Bright Idea's :: View topic - TFX Public EA Thread (work in progress) | This thread | Refback | 02-29-2008 01:05 PM | |
| Martingale Baggio Method - Page 11 | This thread | Refback | 02-27-2008 09:59 PM | |
| Martingale Baggio Method - Page 11 | This thread | Refback | 02-27-2008 05:07 PM | |
| Martingale Baggio Method - Page 11 | This thread | Refback | 02-27-2008 05:04 PM | |
| Martingale Baggio Method - Page 10 | This thread | Refback | 02-25-2008 06:50 PM | |
| Martingale Baggio Method - Page 10 | This thread | Refback | 02-25-2008 06:07 PM | |
| Martingale Baggio Method - Page 10 | This thread | Refback | 02-25-2008 06:05 PM | |
| Bright Idea's :: View topic - TFX Public EA Thread (work in progress) | This thread | Refback | 02-23-2008 07:38 PM | |
| Bright Idea's :: View topic - TFX Public EA Thread (work in progress) | This thread | Refback | 02-04-2008 06:15 AM | |
| Bright Idea's :: View topic - TFX Public EA Thread (work in progress) | This thread | Refback | 02-03-2008 05:01 AM | |
| Bright Ideas™ » TFX (an amazing EA) | This thread | Refback | 01-15-2008 06:26 PM | |
| World of Forex Trading » Martingale EA | This thread | Pingback | 01-11-2008 02:33 AM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Martingale Trend EA | criss73 | Expert Advisors - Metatrader 4 | 8 | 11-20-2008 02:56 AM |
| Reversed martingale | mrv | Expert Advisors - Metatrader 4 | 6 | 07-26-2007 01:28 AM |
| Leverage for martingale | frantacech | Expert Advisors - Metatrader 4 | 0 | 05-22-2007 02:17 PM |
| Martingale EAs? | icepeak | Expert Advisors - Metatrader 4 | 5 | 01-18-2007 03:21 AM |
| Martingale EA | newdigital | Expert Advisors - Metatrader 3 | 2 | 05-23-2006 03:42 PM |