stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

MultiBob, a multi symbol NB10.2(a) autotrader
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=827
Page 24 of 53
Author:  Jollyroger [ Sun Sep 30, 2012 2:12 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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.
Author:  fxozgirl [ Sun Sep 30, 2012 10:29 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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.
Author:  Selim [ Sun Sep 30, 2012 10:33 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

The bot (1.1.7) hit now GBPCAD buy at 1.5907 with Tp 1.6027 and sl 1.5774 D1 Trend
Author:  lilac [ Sun Sep 30, 2012 10:59 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  Selim [ Sun Sep 30, 2012 11:20 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

The bot (1.1.7) hit NZDCHF buy @ 0.7806 tp @ 0.7926 and Sl 0.76767 H4 trend
Author:  Baluda [ Mon Oct 01, 2012 7:51 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  Baluda [ Mon Oct 01, 2012 8:01 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  dietcoke [ Mon Oct 01, 2012 8:21 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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.
Author:  Baluda [ Mon Oct 01, 2012 8:26 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  matt_32 [ Mon Oct 01, 2012 8:51 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

Hi

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

Matt
All times are UTC Page 24 of 53