Multi 10:4 Trader EA

Post Reply
DocT
Trader
Posts: 149
Joined: Mon Apr 23, 2012 9:44 am
Location: Aberdeen

Re: Multi 10:4 Trader EA

Post by DocT »

Guys

A brilliant EA - much appreciated.

I loaded v2 yesterday OOTB onto an FXCM demo and it had a very bad day - over 5% down. IS this
a) usual variance and I just turned on wrong day or
b) an error somewhere in my set up ie did anyone else have a negative day yesterday?

I note that some of the trades are not strictly 10.4 ie AO only against the RSI but see you are all working on this. Also one trade after hitting SL, was almost immediately re-entered with the same result.

Doc
You do not have the required permissions to view the files attached to this post.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

taggie11 wrote:Guys

A brilliant EA - much appreciated.

I loaded v2 yesterday OOTB onto an FXCM demo and it had a very bad day - over 5% down. IS this
a) usual variance and I just turned on wrong day or
b) an error somewhere in my set up ie did anyone else have a negative day yesterday?

I note that some of the trades are not strictly 10.4 ie AO only against the RSI but see you are all working on this. Also one trade after hitting SL, was almost immediately re-entered with the same result.

Doc

Hi,

5% is the highest drawdown that I've seen, but look at a monthly chart and unless you are stopped out,
The trades should continue.

The EA has a switch to stop it re-entering a closed trade, within a D1 time period, the switch is called:
checkDailyTrades.

Also, there is another switch that checks the boundaries, like is price too far away from the MA, and is price too near to the MA, actually I've split these two parameters up in v2.01(not released) , so the outer and inner can be used separately.

Andy
DocT
Trader
Posts: 149
Joined: Mon Apr 23, 2012 9:44 am
Location: Aberdeen

Re: Multi 10:4 Trader EA

Post by DocT »

Andy
The trades were all stopped out; and more this morning - now over 8% DD.
Looking at the properties:
*D1 switch is set to true - but I did get two trades in one FX pair, with different lot sizing
(what is Number to Trade? as this is set at 2)
*MA filter set to true
*Boundary filter set to false
As far as I know these are OOTB settings - has anyone else had similar results over the last day or so?
Cheers
Doc
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

taggie11 wrote:Andy
The trades were all stopped out; and more this morning - now over 8% DD.
Looking at the properties:
*D1 switch is set to true - but I did get two trades in one FX pair, with different lot sizing
(what is Number to Trade? as this is set at 2)
*MA filter set to true
*Boundary filter set to false
As far as I know these are OOTB settings - has anyone else had similar results over the last day or so?
Cheers
Doc

Yes the settings do look correct, the 2 trades are ok also, I have an app on my iPad that allows me to view my screens at home and some of my terminals are in -5% drawdown, the only on that's about 1.25% is the terminal with useBothpullback set to true.

On a forward test the terminal I've just let run but updated the EA to the latest version, without
Parameter controls, was standing at 29K and was started with a 25k account, it's now 28250 ish, so
The EA in development is doing well.

Andy
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Multi 10:4 Trader EA

Post by SWG123 »

slipshod wrote:SWG the dashboard's not always updating - switch timeframes & it should show the correct trades.

Edit: If that fails try restarting Empty4. If that fails ... I'm scratching my head :)
Thanks - tried restarting, made no difference. :?
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Re: Multi 10:4 Trader EA

Post by SWG123 »

MrLong wrote:
SWG123 wrote:Is this a possible bug? I have a second buy trade opened on UCHF, both with magic numbers attributed to Multi 10.4, but only the first one appears in the dashboard.
uchf h4 10.4 130403.gif
uchf open trades.GIF
EDIT: Have refreshed grid, changed TFs, no change.
Hi,

Are the magic numbers the same?
Andy - yes they are.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

SWG123 wrote:
MrLong wrote:
SWG123 wrote:Is this a possible bug? I have a second buy trade opened on UCHF, both with magic numbers attributed to Multi 10.4, but only the first one appears in the dashboard.
uchf h4 10.4 130403.gif
uchf open trades.GIF
EDIT: Have refreshed grid, changed TFs, no change.
Hi,

Are the magic numbers the same?
Andy - yes they are.
You could try GridMethod set to 1.

Andy
User avatar
glabbeek
Trader
Posts: 104
Joined: Tue Aug 21, 2012 8:09 am
Location: In the middle of the Netherlands

Re: Multi 10:4 Trader EA

Post by glabbeek »

Hi Andy,

I'm still following your efforts on this complex EA.

Recently you added the trailpercent exit. This method of exit already locked in many profits for us and is a good addition to the strategy.

I'm wondering why you opted for using the basket method. I never understood the use of using baskets and nobody has ever been able to show me the advantage of using baskets.

You only should manage your account, that is your basket!

If I would say to you: "The AUDCAD is up 5%, so buy GBPCHF, NZDUSD and EURJPY", would you think is logical? probably not. So why would you accept this on the exit side?

Let's say you have a basket that is performing good. It has 5 pairs in the basket and 4 are each up 4 percent and rising. (so 16 percent total) One stock is going down 5 percent. What would you like to happen? Close the whole basket, or just the one losing pair?

Just my thought.
Regards,
Willem-Bram
User avatar
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

Post by simplex »

linuspoon wrote:
simplex wrote:Hi Linus,

I never faced this error - neither on my development machine nor on test.

Can you provide ANY information about the circumstances this error occurs? Only on EA startup? On every tick? After trade open? After trade close? ... etc. The more detail you can provide the better. Already did a code review, found nothing ...

Cheers, simplex
This error only occurs in one of my demo Empty4 but not on another one. The error occurs once the EA starts. On every tick (may not be every tick but there are a number of errors within 1 min interval), the same error will appear in the Expert tab one line after another continuously until either I stopped the EA or change the GridMethod to 1 or if I set showDisplay to false.

Linus
Linus,

could you try the following and give me some feedback about the error:

In the globals declaration section:

Code: Select all

int    wide = 9;
int    wide2 = 5;      // insert this line
string headerString[] = { "PAIR:", "CHART:", "TREND:", "AO:", "STOCH:", "PRO:", "STOP-TRADES:", "" , "  OPEN-TRADES:"  , "                CORRELATED PAIRS:"};
string headerString2[] = { "LOTS:","PIPS:", "CASH:", "B-EVEN:", "ASK:"};
and in function CreateGrid:

Code: Select all

    for (int x = 0; x < wide + 1; x++)
    {
        sObj = "textheader" + x;
        LabelCreate(sObj, corner, gridCol1[x] + offsetX2, offsetY - 20);
        LabelSetText(sObj, headerStr[x], fontSize, headerfont, headertextColor);
    }

    for (x = 0; x < wide2 + 1; x++)       // change from wide to wide2
    {
        sObj = "header2" + x;
        LabelCreate(sObj, corner, gridCol2[x] + offsetX2, offsetY - 20);
        LabelSetText(sObj, headerStr2[x], fontSize, headerfont, headertextColor);
    }
Background:
Andy used variable wide for his loops over both arrays headerstring and headerstring2. headerstring2 actually has only 5 elements. I adopted this method without thinking about possible consequences (copy and paste ... :oops: ). IMO this should lead to more runtime errors than we are actually facing. Why only Linus?

@Andy: maybe it would be better to change this in DisplayGrid() also.

@Linus: hoping for your feedback about this hack.

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)
User avatar
slipshod
Trader
Posts: 404
Joined: Tue Dec 27, 2011 9:14 am
Location: Australia

Re: Multi 10:4 Trader EA

Post by slipshod »

taggie11 wrote:I loaded v2 yesterday OOTB onto an FXCM demo and it had a very bad day - over 5% down. IS this
a) usual variance and I just turned on wrong day or
b) an error somewhere in my set up ie did anyone else have a negative day yesterday?
Hi Doc, I've got it running on several demo accounts, one of which is linked in my sig below. Yesterday wasn't great, and so far today's been no picnic either - but on the other hand there's been days where it's gone gangbusters. I haven't experienced 8% DD yet though, but as each Empty4 instance seems to take different trades its certainly possible - and that's the one thing I don't feel comfortable about with this EA, the fact that the trades taken seem to vary so much. For instance, about an hour ago my Cowboy IBFX demo went long on USDCHF at 0.948 and is now 30 pips in profit, whereas my other demos only have buy stops higher up at 0.952.

Anyway, my guess is you started on a bad day. I'm expecting this will need weeks/months of solid forward testing to get a real feel for whether or not it'll be consistently profitable.
Post Reply

Return to “Nanningbob 10.x”