Andy - Slipshod - All
Finally got 2.01a up and running, kicked it off 17th morning just before Asia session. I had a few issues with the DLL because I run a couple of platforms on different brokers and machines and keep all the templates, experts etc. synced by using a symbolic linked master folder which lives on dropbox so problems are to be expected and certainally NOT related to the EA.
It is running on Alpari UK demo OOTB
The good new is it is doing a great job!
Thanks very much!! you guy are smokin..........
Bill
Multi 10:4 Trader EA
-
Wkcfx
- Trader
- Posts: 48
- Joined: Sun Feb 17, 2013 6:25 am
Re: Multi 10:4 Trader EA
You do not have the required permissions to view the files attached to this post.
-
sponn
- Trader
- Posts: 348
- Joined: Fri Jul 20, 2012 9:49 am
Re: Multi 10:4 Trader EA
Andy.. I don't know I ask to much maybe... but... maybe the best solution will be to implement 10.5 rules (entry rules - more trades higher gains, the same dd)
-
fxYogi
- Posts: 7
- Joined: Mon Apr 08, 2013 3:49 pm
Re: Multi 10:4 Trader EA
Concerning excessive drawdowns, I suspect that it is caused by trading too many pairs of a certain currency at the same time. For example there are 7 JPY pairs on the list of default currencies. If there is a strong move of the JPY then the EA may enter all- or the majority of the 7 pairs. If using 2% risk on each and all of them gets stopped out then we have lost 14% of the account in a few hours. Repeat this 2 more times with the same or different currency pairs and you get the ~40% DD in few days.
If we want to be sensible and really enable the 2% risk rule to protect our accounts, then we should not be allowing the EA to enter so many pairs of the same currency at the same time. This will fix the excessive DD problem. I think using 1% risk per trade we can open 2 trades with the same currency, or with 2% risk per trade only one. If there are several candidates with the same currency then some inbuilt logical criteria, or a direct manual choice offered to the user could decide which pair to enter.
Of course this aggressive trading can be just as profitable as detrimental, depending on the situation. If the EA enters all 7 JPY pairs and all of them goes into profit then we gains 7-fold profits as reward for the 7-times greater risk. I have run the EA only for one day and it gained 3.77% profits. This is the lucky side of the coin that balances the previously posted 40% DD.
If we want to be sensible and really enable the 2% risk rule to protect our accounts, then we should not be allowing the EA to enter so many pairs of the same currency at the same time. This will fix the excessive DD problem. I think using 1% risk per trade we can open 2 trades with the same currency, or with 2% risk per trade only one. If there are several candidates with the same currency then some inbuilt logical criteria, or a direct manual choice offered to the user could decide which pair to enter.
Of course this aggressive trading can be just as profitable as detrimental, depending on the situation. If the EA enters all 7 JPY pairs and all of them goes into profit then we gains 7-fold profits as reward for the 7-times greater risk. I have run the EA only for one day and it gained 3.77% profits. This is the lucky side of the coin that balances the previously posted 40% DD.
- simplex
- Trader
- Posts: 127
- Joined: Thu Feb 07, 2013 5:21 pm
- Location: An insignificant small town close to an insignificant former capital at the Rhine River.
Re: Multi 10:4 Trader EA
Only ObjectFind calls are in my functionsaagarcia wrote:I am seeing these errors though in Experts. Andy, are these errors insignificant?
2013.04.18 08:00:04 Multi_10_4_EAv2.01a GBPJPY,H4: object name passed to ObjectFind function cannot be an uninitialized or empty string
2013.04.18 08:00:04 Multi_10_4_EAv2.01a GBPJPY,H4: symbol name for MarketInfo function must be a string
drawGridBack() -> object name is hardcoded, can't be empty
LabelCreate() -> error should be intercepted
LabelSetText() -> error should be intercepted
Maybe my interception statement doesn't work properly:
Code: Select all
if ( labelName == "" ) // simplex2
return;
Anybody else facing this error?
Do you run the EA OOTB? Any changes? How often does the error occur?
The MarketInfo stuff is non of my business ... at the moment ...
simplex
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
-
MrLong
Re: Multi 10:4 Trader EA
Hi,sponn wrote:Andy.. I don't know I ask to much maybe... but... maybe the best solution will be to implement 10.5 rules (entry rules - more trades higher gains, the same dd)
I'm not interested changing anything to do with the entry strategy, after 5 weeks, we know the strategy works, only bad part is the drawdown, I'm reading up now how to simulate the trades within the EA, measure the drawdown then enter the trades when we have a drawdown.
Andy
- slipshod
- Trader
- Posts: 404
- Joined: Tue Dec 27, 2011 9:14 am
- Location: Australia
Re: Multi 10:4 Trader EA
Excellent post Yogi, you've described the cause of the excessive DD in a nutshell.
I imagine it might be quite difficult to implement what you're suggesting - and indeed if you choose to enter, say, 2 JPY trades instead of all of them then which ones do you go with & which do you leave out? Its getting into the realm of needing to use the CSS indicator.
I imagine it might be quite difficult to implement what you're suggesting - and indeed if you choose to enter, say, 2 JPY trades instead of all of them then which ones do you go with & which do you leave out? Its getting into the realm of needing to use the CSS indicator.
-
MrLong
Re: Multi 10:4 Trader EA
Hi,fxYogi wrote:Concerning excessive drawdowns, I suspect that it is caused by trading too many pairs of a certain currency at the same time. For example there are 7 JPY pairs on the list of default currencies. If there is a strong move of the JPY then the EA may enter all- or the majority of the 7 pairs. If using 2% risk on each and all of them gets stopped out then we have lost 14% of the account in a few hours. Repeat this 2 more times with the same or different currency pairs and you get the ~40% DD in few days.
If we want to be sensible and really enable the 2% risk rule to protect our accounts, then we should not be allowing the EA to enter so many pairs of the same currency at the same time. This will fix the excessive DD problem. I think using 1% risk per trade we can open 2 trades with the same currency, or with 2% risk per trade only one. If there are several candidates with the same currency then some inbuilt logical criteria, or a direct manual choice offered to the user could decide which pair to enter.
Of course this aggressive trading can be just as profitable as detrimental, depending on the situation. If the EA enters all 7 JPY pairs and all of them goes into profit then we gains 7-fold profits as reward for the 7-times greater risk. I have run the EA only for one day and it gained 3.77% profits. This is the lucky side of the coin that balances the previously posted 40% DD.
We have that built into the EA, just needs switching on:
extern bool useFilterCurrencyNumber = false;//Allow a currency, like JPY to trade NumberToTrade as below
extern int NumberToTrade = 2; <== number allowed to trade at the same time.
Andy
- simplex
- Trader
- Posts: 127
- Joined: Thu Feb 07, 2013 5:21 pm
- Location: An insignificant small town close to an insignificant former capital at the Rhine River.
Re: Multi 10:4 Trader EA
All right, quick hack of my quick hack:aagarcia wrote:I am seeing these errors though in Experts. Andy, are these errors insignificant?
2013.04.18 08:00:04 Multi_10_4_EAv2.01a GBPJPY,H4: object name passed to ObjectFind function cannot be an uninitialized or empty string
2013.04.18 08:00:04 Multi_10_4_EAv2.01a GBPJPY,H4: symbol name for MarketInfo function must be a string
Could you check the following and report whether the ObjectFind error still occurs:
Code: Select all
/* -----------------------------------------------------------
create a label
March 2013, simplex
----------------------------------------------------------- */
void LabelCreate(string labelName, int _corner, double x_coord, double y_coord) {
//if ( labelName == "" ) // simplex2
// return;
if ( StringLen ( labelName ) == 0 ) // simplex2
return;
if (ObjectFind(labelName) == -1) {
ObjectCreate(labelName, OBJ_LABEL, 0, 0, 0);
}
ObjectSet(labelName, OBJPROP_CORNER, _corner);
ObjectSet(labelName, OBJPROP_XDISTANCE, x_coord);
ObjectSet(labelName, OBJPROP_YDISTANCE, y_coord);
}
/* -----------------------------------------------------------
set text of a label
March 2013, simplex
----------------------------------------------------------- */
void LabelSetText(string labelName, string text, int size, string font, color vcolor) {
//if ( labelName == "" ) // simplex2
// return;
if ( StringLen ( labelName ) == 0 ) // simplex2
return;
if (ObjectFind(labelName) > -1) {
ObjectSetText ( labelName, text, size, font, vcolor );
}
}
Looking forward to your answer.
simplex
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
It appears that the Weighted Moving Average was invented by a trader who did not have a firm grasp of filter theory in hopes of reducing lag. (John F. Ehlers)
-
Nicastro
- Trader
- Posts: 41
- Joined: Wed Nov 16, 2011 7:42 am
Re: Multi 10:4 Trader EA
[I'm not interested changing anything to do with the entry strategy, after 5 weeks, we know the strategy works, only bad part is the drawdown, I'm reading up now how to simulate the trades within the EA, measure the drawdown then enter the trades when we have a drawdown.
Andy[/quote]
Great work Mr Long.
FxJoe and FridayStreet came up with a solution in Bunker's Big Mac and Fries EA. From what I recall there was a shadow basket that went active once a certain DD was reached.
You may want to check it out: -
http://www.stevehopwoodforex.com/phpBB3 ... &start=642
Andy[/quote]
Great work Mr Long.
FxJoe and FridayStreet came up with a solution in Bunker's Big Mac and Fries EA. From what I recall there was a shadow basket that went active once a certain DD was reached.
You may want to check it out: -
http://www.stevehopwoodforex.com/phpBB3 ... &start=642
-
MrLong
Re: Multi 10:4 Trader EA
Great work Mr Long.Nicastro wrote:[I'm not interested changing anything to do with the entry strategy, after 5 weeks, we know the strategy works, only bad part is the drawdown, I'm reading up now how to simulate the trades within the EA, measure the drawdown then enter the trades when we have a drawdown.
Andy
FxJoe and FridayStreet came up with a solution in Bunker's Big Mac and Fries EA. From what I recall there was a shadow basket that went active once a certain DD was reached.
You may want to check it out: -
http://www.stevehopwoodforex.com/phpBB3 ... &start=642[/quote]
Thanks