MultiBob, a multi symbol NB10.2(a) autotrader

Share your 10.x automated traders here.
Post Reply
Jollyroger
Trader
Posts: 91
Joined: Wed Nov 16, 2011 4:13 am

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by Jollyroger »

lucklogic wrote:
SWG123 wrote:FWIW, results running Multibob for this week in 10.2a mode, fixed 0.02 lots, otherwise OOTB.

Realised -2.7%
DetailedStatement.gif

It's a fair point, there's been a lot of talk and few dollars !
I am trading the bot on 2a only and changing the bot as various fixes and upgrades became available. I can't report results as a percentage of my demo account since I both vary the bets and sometimes don't wait for the bot to reach TP. Last week the bot took various trades and I ended up with 5 winners and one loser. On one upgrade (fix) I mistakenly took a "2" trade rather than setting it on 2a. That resulted in a large loss. For now I am sticking with 2a since for me it is generating positive returns and seems to fit my time, risk and style best.
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by fxozgirl »

I'm trading 10.2 & 10.2A combined on demo, since last week & updating bot as new versions released.

Up 3.42% so far, but I do have some trades currently open which are in drawdown.
Selim
Trader
Posts: 13
Joined: Thu Nov 17, 2011 7:15 pm
Location: Giza-Egypt

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by Selim »

The bot (1.1.7) hit now GBPCAD buy at 1.5907 with Tp 1.6027 and sl 1.5774 D1 Trend
Forex trading is very difficult work not a game so you must know all tools for this work that meet with your need
lilac
Trader
Posts: 60
Joined: Fri Jul 20, 2012 8:57 am

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by lilac »

dietcoke wrote:stick this alert in between the two lines shown. reload the ea and post the alert result

Code: Select all

   double shortSwap = MarketInfo( symbolNames[symbolIndex], MODE_SWAPSHORT );
	Alert(symbolNames[symbolIndex,", longswap=",longSwap,", shortswap=",shortSwap);
   if ( cadPairsPositiveOnly )
It shows this alert now:

22:48 AUDNZDm, longswap=2.8, shortswap=-6.1

I will try moving tradeAllowed = false; inside the condition, as George suggested

Another thing, there is something strange with silver lot, I got this order on friday, and I think 5.01 lot is too big for a 2% risk setting on a 1000EUR account:

15:06:38 '64470': order buy market 5.01 XAGUSD sl: 0.000 tp: 0.000
Selim
Trader
Posts: 13
Joined: Thu Nov 17, 2011 7:15 pm
Location: Giza-Egypt

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by Selim »

The bot (1.1.7) hit NZDCHF buy @ 0.7806 tp @ 0.7926 and Sl 0.76767 H4 trend
Forex trading is very difficult work not a game so you must know all tools for this work that meet with your need
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by Baluda »

wBear wrote:I have a somewhat related issue. For me, XAGUSD & XAUUSD appears when both using autoSymbols & manually adding to symbolsToTrade. However, they have no values for WP & MP, etc. -- every value is zero.
wBear,

Please check and confirm that a suffix appears for XAGUSD and XAUUSD when autoSymbols = true, preferably with a screenshot.

This is the first time I've seen broker that has mixed suffixes.

Thank you,

Paul
Check the MQL4 Market for my best EA's and Indicators.
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by Baluda »

dietcoke wrote:I have found a problem with the pair balancing code

Code: Select all

   if ( onlyTradeCcyTwice && symbolValues[symbolIndex][iOpenTrades] < EPSILON )
   {
      if ( !isThisPairTradable( symbolIndex) ) return ( false );
   }
should be

Code: Select all

   if ( onlyTradeCcyTwice && symbolValues[symbolIndex][iOpenTrades] > EPSILON )
   {
      if ( !isThisPairTradable( symbolIndex) ) return ( false );
   }
Diet,

This is code I copied from the original NB 10.2 autotrader by Steve and Alex. It filters symbols with currencies that have more than one open trades, except for possible stacking of symbols, which is allowed. This is why the filter is only applied on symbols that have no open trades.

This is how I read this code, and its purpose. But I'm open to suggestions, just tell me.

Paul
Check the MQL4 Market for my best EA's and Indicators.
dietcoke
Trader
Posts: 162
Joined: Tue Nov 15, 2011 9:59 pm

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by dietcoke »

Baluda wrote:
dietcoke wrote:I have found a problem with the pair balancing code

Code: Select all

   if ( onlyTradeCcyTwice && symbolValues[symbolIndex][iOpenTrades] < EPSILON )
   {
      if ( !isThisPairTradable( symbolIndex) ) return ( false );
   }
should be

Code: Select all

   if ( onlyTradeCcyTwice && symbolValues[symbolIndex][iOpenTrades] > EPSILON )
   {
      if ( !isThisPairTradable( symbolIndex) ) return ( false );
   }
Diet,

This is code I copied from the original NB 10.2 autotrader by Steve and Alex. It filters symbols with currencies that have more than one open trades, except for possible stacking of symbols, which is allowed. This is why the filter is only applied on symbols that have no open trades.

This is how I read this code, and its purpose. But I'm open to suggestions, just tell me.

Paul
Doh.. Then there must be a problem here because I have 6 different NZD pairs open at the momment. I can't recall if the filter has always been switched on in my demo

Code: Select all

//+------------------------------------------------------------------+
//| isThisPairTradable( int symbolIndex )                            |
//+------------------------------------------------------------------+
bool isThisPairTradable( int symbolIndex )
{
   string c1 = StringSubstr( symbolNames[symbolIndex], 0, 3);
   string c2 = StringSubstr( symbolNames[symbolIndex], 3, 3);
   int c1open = 0, c2open = 0;

   for ( int cc = OrdersTotal() - 1; cc >= 0; cc--)
   {
      if ( !OrderSelect( cc, SELECT_BY_POS ) ) continue;
      if ( OrderSymbol() != symbolNames[symbolIndex] ) continue;
      if ( !testMagicNumbers() ) continue;
      if ( StringFind( OrderSymbol(), c1 ) > -1 ) c1open++;
      if ( StringFind( OrderSymbol(), c2 ) > -1 ) c2open++;

if ( c1open == 1 && c2open == 1 )
      {
         if ( DEBUG ) Print( symbolNames[symbolIndex], " IS TRADABLE: false");
         return(false);
      }
   }
   return(true);
}
if ( c1open == 1 && c2open == 1 )

I think the highlighted line might be the problem. this may fail to do whats wanted if the filter is switched on when some trades are already open.
Image
User avatar
Baluda
Trader
Posts: 330
Joined: Mon Feb 06, 2012 2:00 pm
Location: An insignificant village in the Netherlands

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by Baluda »

dietcoke wrote:if ( c1open == 1 && c2open == 1 )

I think the highlighted line might be the problem. this may fail to do whats wanted if the filter is switched on when some trades are already open.
Diet,

Already spotted that and changed to:

Code: Select all

if ( c1open > 1 || c2open > 1 )
Paul
Check the MQL4 Market for my best EA's and Indicators.
User avatar
matt_32
Trader
Posts: 204
Joined: Tue Apr 03, 2012 8:51 am
Location: Crete, Greece

Re: MultiBob, a multi symbol NB10.2(a) autotrader

Post by matt_32 »

Hi

Sometimes the robot open a position and does not set a TP value, it leaves it blank (ie. 0.0000).

Matt
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
Post Reply

Return to “10.x EA forum”