Multi 10:4 Trader EA

Post Reply
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

thelearner wrote:thanks for the hard work Andrew. I am not a fan of full automated trading though, is it possible to make this semi automatic, for example, I read the dashboard for potential trades and then I run this EA on specific pairs only instead of all possible pairs at the same time. Or this is already built in your EA too? If it does then my question is unnecessary :P :P
Hi,

Just add or remove the symbols you woul like to trade, you could also set Empty4 to ask for manual confirmation.

Andy
User avatar
rosst
Trader
Posts: 280
Joined: Wed Feb 27, 2013 1:11 pm
Location: Austin, Texas

Re: Multi 10:4 Trader EA

Post by rosst »

Results for Cowboy IBFX Multi 10.4 Trader v2.04
Image
Not sure where Cowboy came from - I cannot edit it....
User avatar
rosst
Trader
Posts: 280
Joined: Wed Feb 27, 2013 1:11 pm
Location: Austin, Texas

Re: Multi 10:4 Trader EA

Post by rosst »

results for FXDD Multi 10.4 Trader v2.04
Image
bubo
Trader
Posts: 29
Joined: Thu Jan 10, 2013 7:02 am

Re: Multi 10:4 Trader EA

Post by bubo »

MrLong wrote:Well guys, I'm pleased you like the EA, the latest version should run well, just turn the useCSS switch off and it will run as before, I also advise to set these settings:
extern bool useFilterCurrencyNumber = true; //Allow a currency, like JPY to trade NumberToTrade as below
extern int NumberToTrade = 2; // Allow a currency, like JPY to trade this number of trades at the same time, but will allow to add to open trades.
They will only allow 2 trades of a specific currency to trade at the same time.

Andy
Wow - awesome this is included now! This EA really is excellent work, thank you for sharing.

Is this filter direction-specific like the Zeljko filter or not? Would USDCHF exclude CHFJPY if I only want to have one occurrence of CHF? If in opposite directions then trading the same currency should be ok, because it is 'hedged'.

I can't find the link to the code for the Zeljko filter right now, Steve has used it for several EAs.

Personally, I am still undecided on using this filter. It should work to decrease open DD. I noticed though that pairs using the same currency can be fairly different in their setup, and reducing the exposure to a currency by manually selecting the pending orders that seem to have the cleanest setup may give better results than simply taking the first 1 or 2 and ignore the rest.
MrLong

Re: Multi 10:4 Trader EA

Post by MrLong »

bubo wrote:
MrLong wrote:Well guys, I'm pleased you like the EA, the latest version should run well, just turn the useCSS switch off and it will run as before, I also advise to set these settings:
extern bool useFilterCurrencyNumber = true; //Allow a currency, like JPY to trade NumberToTrade as below
extern int NumberToTrade = 2; // Allow a currency, like JPY to trade this number of trades at the same time, but will allow to add to open trades.
They will only allow 2 trades of a specific currency to trade at the same time.

Andy
Wow - awesome this is included now! This EA really is excellent work, thank you for sharing.

Is this filter direction-specific like the Zeljko filter or not? Would USDCHF exclude CHFJPY if I only want to have one occurrence of CHF? If in opposite directions then trading the same currency should be ok, because it is 'hedged'.

I can't find the link to the code for the Zeljko filter right now, Steve has used it for several EAs.

Personally, I am still undecided on using this filter. It should work to decrease open DD. I noticed though that pairs using the same currency can be fairly different in their setup, and reducing the exposure to a currency by manually selecting the pending orders that seem to have the cleanest setup may give better results than simply taking the first 1 or 2 and ignore the rest.
Hi,

The filter just looks to see we are only exposed to 2 CHF trades only, or you could make it any amount, I think Zeljko looks for balance.

Like this week, I only had 2 JPY trades rolling at the same time, if this filter were not switched on then I would have had all the pairs containig, JPY.

It works on a first come basis.

Andy
bubo
Trader
Posts: 29
Joined: Thu Jan 10, 2013 7:02 am

Re: Multi 10:4 Trader EA

Post by bubo »

The Zeljko Filter just blocks multiple occurrences, I think. Your solution is smarter in allowing to input the max number of trades allowed.

It is a bit a matter of style how to filter pairs that have the same currency, but traded in opposite directions. You could say it is ok to allow them because they will hedge each other to some degree, or you could say it is nonsense to trade in both directions because your prediction is always accurate and you should never take an opposite trade in that currency (although if the prediction was always accurate we would never have serious open DD).

I found an example for an application of the code in GdayMark2: http://www.stevehopwoodforex.com/phpBB3 ... ?f=5&t=917

Code: Select all

bool BalancedPair(int type)
{

   //Only allow an individual currency to trade if it is a balanced trade
   //e.g. UJ Buy open, so only allow Sell xxxJPY.
   //The passed parameter is the proposed trade, so an existing one must balance that

   //This code courtesy of Zeljko (zkucera) who has my grateful appreciation.
   
   string BuyCcy1, SellCcy1, BuyCcy2, SellCcy2;

   if (type == OP_BUY || type == OP_BUYSTOP)
   {
      BuyCcy1 = StringSubstr(Symbol(), 0, 3);
      SellCcy1 = StringSubstr(Symbol(), 3, 3);
   }//if (type == OP_BUY || type == OP_BUYSTOP)
   else
   {
      BuyCcy1 = StringSubstr(Symbol(), 3, 3);
      SellCcy1 = StringSubstr(Symbol(), 0, 3);
   }//else

   for (int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      if (!OrderSelect(cc, SELECT_BY_POS)) continue;
      if (OrderSymbol() == Symbol()) continue;
      if (OrderMagicNumber() != MagicNumber) continue;      
      if (OrderType() == OP_BUY || OrderType() == OP_BUYSTOP)
      {
         BuyCcy2 = StringSubstr(OrderSymbol(), 0, 3);
         SellCcy2 = StringSubstr(OrderSymbol(), 3, 3);
      }//if (OrderType() == OP_BUY || OrderType() == OP_BUYSTOP)
      else
      {
         BuyCcy2 = StringSubstr(OrderSymbol(), 3, 3);
         SellCcy2 = StringSubstr(OrderSymbol(), 0, 3);
      }//else
      if (BuyCcy1 == BuyCcy2 || SellCcy1 == SellCcy2) return(false);
   }//for (int cc = OrdersTotal() - 1; cc >= 0; cc--)

   //Got this far, so it is ok to send the trade
   return(true);

}//End bool BalancedPair(int type)
User avatar
Sojourner
Trader
Posts: 105
Joined: Fri Apr 27, 2012 7:36 pm

Re: Multi 10:4 Trader EA

Post by Sojourner »

I've been using the latest version with CSS on and 'close trades when in profit. End of week in profit. 6 out of seven trades were winners. Gonna let it rip for a while longer.
User avatar
snailbeard
Trader
Posts: 615
Joined: Mon Dec 24, 2012 10:54 am
Location: Just above water somewhere between Oxford & Cambridge

Re: Multi 10:4 Trader EA

Post by snailbeard »

Hi Andy,

The previous version running on Alpari placed lots of orders this week. However, the latest version running on a GP demo account did not place a single order. I checked the expert properties a couple of times to make sure this was not the cause of the problem. I'm wondering if anyone else had an absence of trades from the latest version.

I was busy managing trades manually and did not investigate further.
Are others getting enough trades with the CSS filter enabled?

I'll investigate further when the market opens on Sunday/Monday.
AGT
Trader
Posts: 889
Joined: Thu Nov 17, 2011 7:20 pm
Location: Germany

Re: Multi 10:4 Trader EA

Post by AGT »

Hi snail - I think Andy wrote about this today - may 10 - in the morning ...
User avatar
snailbeard
Trader
Posts: 615
Joined: Mon Dec 24, 2012 10:54 am
Location: Just above water somewhere between Oxford & Cambridge

Re: Multi 10:4 Trader EA

Post by snailbeard »

Hi Andy,

I have now had a chance to study the CSS code and some comparisons of charts using the different versions of CSS on H4 and H1. So far, these observations only apply to AUDCAD & AUDUSD for the last month, so there is a danger of curve fitting to these pairs.

What I observed on H4 for Baluda's CSS was the best overal trend direction and for seeing a weakening of the trend. This appears to give an effective hint before a reversal, (when the lines change direction and move towards each other) so it can suggest clearing the pending orders which could trigger and run to stop loss because of a weakening trend.

However, for reducing drawdown on trades which would still be good trades but could significantly retrace: the 10.5 CurrencySlopeStrength on H1 gives crossovers sooner than H4. Due to lagging on H4 one has to anticipate a crossover by looking for the lines turning in towards a cross over, and conversley, the more the lines are moving apart the less the chance of an end of trend pivot.

If there are multiple pairs to trade then CSS can be used to suggest and prioritise trades which are more promising.
Many of my Alpari pendings get cancelled because of margin limits, so in that situation it makes sense to pick only the best pairs.

Also I noticed that RSI triggers with tight thresholds might be difficult to combine with another lagging indicator because they can often be out of phase.

If the pending orders are removed while RSI is in the correct position, RSI can move past the threshold, then too late according to RSI, H1 CSS crosses suggesting a better time to open an order.

I am experimenting with some code that I have derived from variations on CSS to see if it can work along side the other trade logic.

However, first of all. I have mystery to solve of very few trades, even with useCss = false.
I'll try the same EA on another broker account in case that makes a difference...
Post Reply

Return to “Nanningbob 10.x”