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

Share your 10.x automated traders here.
Post Reply
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

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

Post by gaheitman »

garyfritz wrote:MultiBob just entered a position, and the TP is the same as the entry price??
I had the same trade trigger on cable as well. It seems as if the following code must be getting run, but I can't figure out why. (It's in calculateTakeProfit() at the end of the OP_BUY section.)

Code: Select all

      if ( take > EPSILON && take - ask <= stoplevel / factor )
      {
         take = ask + ( stoplevel / factor );
      }
My stoplevel is zero, so the TP is set to the ask price when this code is run.

BTW, any chance we can change this test to see if take >= point instead of using the EPSILON value? I doubt it matters here, but it is valid to check against the lowest possible value of the currency pair.

George
garyfritz

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

Post by garyfritz »

Lifesys wrote:Another 10.2 EA adds >20% on our account often, but then we turn it off for 2-3 weeks - others abandoned it as "did not work". Trend trading is for when there are clear trends. The other EA indicates 'no trades' at present - for good reason.
Which 10.2 EA was that? I didn't think any of the 10.2 bots had showed any serious promise yet. I'd be interested in an EA that drops 20% into my account every now and then. :D (As long as it didn't follow it up by blowing 30%...)
Another refinement I have pointed out on many threads is the 'maxSpread' inconsistency.

Code: Select all

MarketInfo( symbolNames[symbolIndex], MODE_SPREAD )
does NOT give spread in pips, hence default maxSpread = 120; instead of 12 (pips).
(Ask-Bid) * Pipfactor always gives spread in pips, so replace
No, it gives a fabrication of an approximation of spread. Try comparing it to the actual Ask-Bid and you'll see there's little relationship between the two. I've never checked but I'd bet the MODE_SPREAD value is a constant.
User avatar
gaheitman
Trader
Posts: 655
Joined: Tue Nov 15, 2011 10:55 pm
Location: Richmond, VA, US

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

Post by gaheitman »

garyfritz wrote:[
No, it gives a fabrication of an approximation of spread. Try comparing it to the actual Ask-Bid and you'll see there's little relationship between the two. I've never checked but I'd bet the MODE_SPREAD value is a constant.
I can confirm it changes (on Cowboy IBFX). I don't know what drives the change, but I would think that it is close to Ask-Bid. I'm naive that way. ;)

George
garyfritz

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

Post by garyfritz »

Hm. Well I just tested it, and MODE_SPREAD matched MODE_ASK-MODE_BID perfectly. I checked Bid-Ask too, and that didn't match perfectly, but it was never off by more than 0.1 for just a moment.

Strange. I know I've compared them before and they were way off. Umm, I wonder if it's crim-specific? Last time I checked it I was on PFG...
houston
Posts: 8
Joined: Mon Nov 21, 2011 1:57 am
Location: Singapore

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

Post by houston »

garyfritz wrote:MultiBob just entered a position, and the TP is the same as the entry price??
Almost same situation here TP at +0.00001 pip of Buy price :?
You do not have the required permissions to view the files attached to this post.
fmuir
Trader
Posts: 87
Joined: Sun Apr 01, 2012 7:32 am
Location: Seattle, WA, USA

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

Post by fmuir »

Hello Paul,

Thanks for putting the MultiBob EA together. You have done, as always, a superior job of programming. I just acquired 1.0.2 yesterday and I noticed immediately how clean and orderly the programming was.

I have encountered, what I suspect is, a problem with the CalculatedTakeProfit function. I have had three GbpUsd buy trades close in profit. However, the takeprofit calculation for the BB Range trade showed a difference of 35.9 pips (359 points) between opening price and takeprofit and it closed with a profit of $11.49. The other two trades were D1 Trend that showed a difference of 0.2 pips (2 points) between opening price and takeprofit, and they closed with a profit of $0.08 each.

I am using a %Risk of 1%. The BB Range trade ran for 17 hours, while each of the D1 Trend trades only ran for 2 minutes.

Using 1.0.1, which I just also just acquired yesterday, I encountered another problem (which caused 127 trades in 2 hours, all closing for losses) for AudNzd. The 1.0.2 version doesn't exhibit that probem.

Regards,
-Frank
User avatar
chobbes
Trader
Posts: 18
Joined: Fri Jan 13, 2012 11:25 am

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

Post by chobbes »

I concur with a lot of what's been said here already, Baluda - what a great piece of work and very clean code. I have setup 1.02 running last night with OOTB settings except for lot size of 0.1 - am running on Alpari and will keep you posted on progress and issues.
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.0.3 in post 1.
Changes
  • Introduced symbolValues index names, useful for coders only
  • Fixed small bug in getWoh function
  • Fixed order of display items
  • Improved maximum spread test, TY (in alphabetical order ;) ) Gary, George, Paul
Notes
  • When downloading and starting a new version of MultiBob, please delete all old MultiBob .ex4 files from your experts folder. Keeping them can, and probably will confuse Empty4.
  • Please provide more information on possible bugs than 'it does not trade' or 'it does not work'. Nobody can help you with that kind of general questions. Be specific.
Keep calm and gain pips.

Paul
Check the MQL4 Market for my best EA's and Indicators.
Forexperiments
Trader
Posts: 16
Joined: Mon Sep 17, 2012 8:45 am

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

Post by Forexperiments »

If I update, does the new version recognize the old version trades and continue to manage them?
(I'm in demo, so I don't really care about losing that trades, but it's just to have nice stats)
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 :D
Post Reply

Return to “10.x EA forum”