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

Share your 10.x automated traders here.
Post Reply
User avatar
wBear
Trader
Posts: 56
Joined: Sun Apr 08, 2012 5:06 pm
Location: An insignificant small red dot in the world called Singapore

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

Post by wBear »

Folks,

I hope this helps to confirm. Till now, I do not have any AUDNZD nor EURAUD position open as I have set useCorrFilter=True and highCorrelation=80.

Having said that, now I'm having issues with wanting a Sell on AUDNZD after turning the filter off :lol:
You do not have the required permissions to view the files attached to this post.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

Re: Is this not incorrect

Post by gaheitman »

lucklogic wrote:

Code: Select all

bool sendSingleTrade( int symbolIndex, int type, string comment, double lotSize, double price, int magicNumber )
{
   if ( useCorrFilter )
   {
      if ( isCorrelated( symbolNames[symbolIndex] ) ) return (true);
   }

..............................................
   
Is this not incorrect

If using the useCorrFilter, the EA is assessing if a prospective order is highly correlated to an existing order BUT if the result is true (that it is highly correlated, so is likely to move in exactly the same direction) THE TRADE is being allowed rather than refused

The result of the argument - if ( isCorrelated( symbolNames[symbolIndex] ) ) return (true);
should return (false) because we do not in affect want to repeat the trade twice
It doesn't really matter if it returns true or false, the key is that it is exiting the procedure early so it doesn't send the trade. The actual result (true/false) from sendSingleTrade() is being discarded anyway.

George
User avatar
lucklogic
Trader
Posts: 85
Joined: Mon Jan 23, 2012 6:26 pm
Location: On The Hoe in Plymouth, UK

Re: Is this not incorrect

Post by lucklogic »

gaheitman wrote:
lucklogic wrote:

Code: Select all

bool sendSingleTrade( int symbolIndex, int type, string comment, double lotSize, double price, int magicNumber )
{
   if ( useCorrFilter )
   {
      if ( isCorrelated( symbolNames[symbolIndex] ) ) return (true);
   }

..............................................
   
Is this not incorrect

If using the useCorrFilter, the EA is assessing if a prospective order is highly correlated to an existing order BUT if the result is true (that it is highly correlated, so is likely to move in exactly the same direction) THE TRADE is being allowed rather than refused

The result of the argument - if ( isCorrelated( symbolNames[symbolIndex] ) ) return (true);
should return (false) because we do not in affect want to repeat the trade twice
It doesn't really matter if it returns true or false, the key is that it is exiting the procedure early so it doesn't send the trade. The actual result (true/false) from sendSingleTrade() is being discarded anyway.

George

Yes I now see that, either will suffice in order to come out of the routine before placing an order

Thank you :ugeek:
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 »

New version MultiBob v1.1.9 in post 1.
Changes:
  • Fixed bug in NB 10.2a logic, entries now correct
  • Optimized looking for trading opportunities
  • Improved NB 10.2a logic, last 3 candles on 15M now need to be above/below daily pivot
Issues:
  • Lot sizing for SILVER/XAGUSD seems unreliable
Happy trading,

Paul
Check the MQL4 Market for my best EA's and Indicators.
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

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

Post by alex_forex »

Thanks for the update Paul ;-)

One question, is the TP managed like in the NB topic ?
"TP levels are the next weekly S/R line"

I can't find it in the code ? But I am tired so it could be my eyes... if yes, sorry.

Kind regards
Alex
garyfritz

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

Post by garyfritz »

Baluda wrote:What trade caused this? Please check your experts tab.
Looks like it was GBPAUD. There were many (hundreds of) failures, then at 22:35:21 GMT+0 it finally succeeded.

Other than that, looking pretty good. I was running 10.2 until recently and it lost quite a bit. I started running 10.2a at (I think) about 2012.10.01 04:00 GMT+0, and since then it's closed about $2700 and it has $900 open, starting at about $36k, so it's up about 10% in less than 48 hours. Not BAD.
You do not have the required permissions to view the files attached to this post.
grimweasel
Trader
Posts: 95
Joined: Sun Nov 20, 2011 3:48 pm

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

Post by grimweasel »

:evil: There goes my Demo account. Just did a Live Update and then wiped all the account details and with it my past 3 weeks of testing Multibob. I started with a 50K account and used 1% risk and after 3 weeks the open balance was around 53K!!
Lifesys
Trader
Posts: 126
Joined: Wed Apr 25, 2012 2:05 am
Location: Echuca Victoria. Australia

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

Post by Lifesys »

Hi Paul
Congratulations, your speed with this is almost mind boggling programming for "amateurs". Interesting to see how it pans out. Our trials show mixed success.
The Silver /= 5 is correct, just not sure it is in the right place. I place it more direct to the SendTrade to ensure it works as silver is traded in packages of 5. I would not contemplate putting the factors in arrays as you do - but seems to work for most part. Well done!
User avatar
wBear
Trader
Posts: 56
Joined: Sun Apr 08, 2012 5:06 pm
Location: An insignificant small red dot in the world called Singapore

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

Post by wBear »

Hi Paul,

It seems MB1.1.9 now automatically sets SL & TP even when I have zero value in stopLossPips & takeProfitPips. Note, I have not paid particular attention to this with earlier versions. FYI, my setting is all true for NB10.2 & NB10.2a.

However, XAGUSD & XAUUSD did not have their SL & TP automatically set like all other currency symbols, screenshot attached.

I did a test -- after manually setting takeProfitPips=10, MB1.1.9 sets TP for both XAGUSD & XAUUSD but it will not touch TP of AUDNZD & EURCHF, screenshot attached.

Are both XAGUSD & XAUUSD deliberately left of this "auto setting of SL & TP"?

P.S. While I am glad MB1.1.9 did not touch AUDNZD & EURCHF though I had set takeProfitPips=10, I'm not yet 100% sure if this is an advantage or disadvantage :D
You do not have the required permissions to view the files attached to this post.
User avatar
wBear
Trader
Posts: 56
Joined: Sun Apr 08, 2012 5:06 pm
Location: An insignificant small red dot in the world called Singapore

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

Post by wBear »

Hi Paul,

Here's another interesting issue. For some reason & only for NZDUSD pair, ever since MB1.1.6 (28 September) took a Buy trade & strangely, as PA goes south, MB modifies the TP to follow the PA :shock:

I looked at all the logs and extracted this:
20121003.log
07:13:34 MultiBob v1.1.9 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8296
07:13:34 MultiBob v1.1.9 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.82958 ok
10:40:24 MultiBob v1.1.9 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8274
10:40:24 MultiBob v1.1.9 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.82743 ok
10:51:27 MultiBob v1.1.9 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8264
10:51:28 MultiBob v1.1.9 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.82638 ok

20121002.log
09:30:59 MultiBob v1.1.7 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8317
09:31:00 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83175 ok
22:22:09 MultiBob v1.1.8 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8349
22:22:09 MultiBob v1.1.8 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83491 ok
22:26:43 MultiBob v1.1.8 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8349
22:26:43 MultiBob v1.1.8 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83487 ok
22:27:27 MultiBob v1.1.8 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8351
22:27:27 MultiBob v1.1.8 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83512 ok
23:35:41 MultiBob v1.1.9 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8354
23:35:42 MultiBob v1.1.9 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83544 ok

20121001.log
18:38:33 MultiBob v1.1.7 GBPJPY-,M1: NZDUSD- INSERT STOPLOSS: 0.824
18:38:35 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.82399 tp: 0.00000 ok
18:38:35 MultiBob v1.1.7 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8404
18:38:35 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.82399 tp: 0.84044 ok
21:05:57 MultiBob v1.1.7 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8343
21:05:58 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83428 ok
22:07:36 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83490 ok
22:08:25 MultiBob v1.1.7 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.835
22:08:26 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83500 ok
22:23:41 MultiBob v1.1.7 GBPJPY-,M1: NZDUSD- INSERT TAKEPROFIT: 0.8348
22:23:43 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83484 ok
22:41:43 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83272 ok
22:43:59 MultiBob v1.1.7 GBPJPY-,M1: modify #15528619 buy 0.01 NZDUSD- at 0.83556 sl: 0.00000 tp: 0.83283 ok

20120928.log
12:24:52 MultiBob v1.1.6 GBPJPY-,M1: NZDUSD- LONG
12:24:52 MultiBob v1.1.6 GBPJPY-,M1: NZDUSD- SEND ORDER: 0, 0.01, 0.8356
12:24:54 MultiBob v1.1.6 GBPJPY-,M1: open #15528619 buy 0.01 NZDUSD- at 0.83556 ok


takeProfitPips is set to 10, SL set to zero, Break Even settings is false, Jumping Stop Loss is false & Trailing Stop Loss is false. Why would then, TP follow the PA as it dives downwards?

I have tried removing takeProfitPips, removed EA & re-attaching it. Nothing I did from the front end, seems to stop it from following the PA -- downwards. Now I wonder if TP would bounce back upwards if PA re-traced upwards. :?

It is absolutely strange it is doing this and only for this pair. Not sure if anyone else is having this same issue?
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “10.x EA forum”