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

Share your 10.x automated traders here.
Post Reply
shiningstar
Posts: 7
Joined: Sun Aug 26, 2012 2:47 pm

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

Post by shiningstar »

gaheitman wrote:
shiningstar wrote:
gaheitman wrote:
The code does not set a Take Profit for D1 Trend trades when slope is at the Buy&Hold level. That's what my trade is, so I am guessing yours is as well.

George

Looking at the code, I think it will revert to the normal TakeProfit calculations once the slope is no longer at a Buy and Hold level.
Wow, this is cool! Thanks! :)
dietcoke
Trader
Posts: 162
Joined: Tue Nov 15, 2011 9:59 pm

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

Post by dietcoke »

gaheitman wrote:
Also, I added a quick selection sort (ok, the coding was quick, not the algorithm ;) ) to sort the symbolNames array. It's so much easier to find things now with my old eyes....
George

:lol: Once a coder eh....

I just rewrote symbolsToTrade in the order I wanted them to appear:

"AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDUSD,CADCHF,CADJPY,CHFJPY,EURAUD,EURCAD,EURCHF,EURGBP,EURJPY,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPJPY,GBPNZD,GBPUSD,NZDCAD,NZDCHF,NZDJPY,NZDUSD,USDCAD,USDCHF,USDJPY";
Image
fxarun
Trader
Posts: 41
Joined: Tue Feb 07, 2012 10:21 am
Location: Chennai India

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

Post by fxarun »

Paul,

Think we still have problem with Stoploss.
Since As per the EA SL for WPCRANGE trades should be WR1 for This cadchf symbol.
But it assigned different value.Please look at the image.


Regards
Arun
You do not have the required permissions to view the files attached to this post.
"It's not the strongest species that survive, nor the most intelligent, but the one most responsive to change"
-- Darwin.
jayjonbeach
Posts: 3
Joined: Sun Feb 26, 2012 11:30 pm

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

Post by jayjonbeach »

Just popping by to say thanks to all for sharing

Inundated with many things ATM and a greenhorn Coder at best (trying to learn more, mostly a cut and paste hacker atm) but will try to stick this on chart and do some testing analysing as well when I can.

Thanks again
garyfritz

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

Post by garyfritz »

dietcoke wrote:I just rewrote symbolsToTrade in the order I wanted them to appear:
"AUDCAD,AUDCHF,AUDJPY,AUDNZD,AUDUSD,CADCHF,CADJPY,CHFJPY,EURAUD,EURCAD,EURCHF,EURGBP,EURJPY,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPJPY,GBPNZD,GBPUSD,NZDCAD,NZDCHF,NZDJPY,NZDUSD,USDCAD,USDCHF,USDJPY";
That's what I do too. I always wondered why Baluda had such an odd ordering for his symbols.

Then I ran MultiBob and I discovered he listed them in Volatility-Group order. There was method to his madness after all. :D
HiArt99
Posts: 7
Joined: Thu Jul 12, 2012 8:50 am

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

Post by HiArt99 »

Hi there,

nice coding, and thanks for this.

For GKFX Crim I need to amend the PipFactor code as follows

Code: Select all

void getPipFactor()                                                                          
{
   for ( int i= 0; i < symbolCount; i++ )
   {
      symbolValues[i][iPipFactor] = 10000;       // correct factor for most pairs
      
      string factor100[5] = { "JPY", "XAG", "SILVER", "BRENT", "WTI"};
      for ( int j = 0; j < ArraySize( factor100 ); j++ )
      {
         if ( StringFind( symbolNames[i], factor100[j] ) != -1 ) symbolValues[i][iPipFactor] = 100;
      }   

      string factor10[3] = { "XAU", "GOLD", "SP500"};
      for ( j = 0; j < ArraySize( factor10 ); j++ )
      {
         if ( StringFind( symbolNames[i], factor10[j] ) != -1 ) symbolValues[i][iPipFactor] = 10;
      }   

string factor1[5] = { "UK100", "WS30", "DAX30", "NAS100", "CAC40" };
      for ( j = 0; j < ArraySize( factor1 ); j++ )
      {
         if ( StringFind( symbolNames[i], factor1[j] ) != -1 ) symbolValues[i][iPipFactor] = 1;
      } 
   }
}
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 »

fxarun wrote:Think we still have problem with Stoploss.
Since As per the EA SL for WPCRANGE trades should be WR1 for This cadchf symbol.
But it assigned different value.Please look at the image.
Arun,

Setting stoploss yourself (stoploss > 0 or useATRStopLoss = true) overrules standard NB 10.2 stoploss settings.

Paul
Check the MQL4 Market for my best EA's and Indicators.
fxarun
Trader
Posts: 41
Joined: Tue Feb 07, 2012 10:21 am
Location: Chennai India

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

Post by fxarun »

Hi paul
Sorry for my ignorance.
thanks a lot.

arun
"It's not the strongest species that survive, nor the most intelligent, but the one most responsive to change"
-- Darwin.
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.6 in post 1.
Changes:
  • Added sort option to sort symbol names, defaults to true
  • Improved initialization of symbol names array
  • Introduced pip factor input variables
Happy trading.

Paul
Check the MQL4 Market for my best EA's and Indicators.
dextroze
Trader
Posts: 19
Joined: Fri May 25, 2012 4:07 am

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

Post by dextroze »

Paul, can i marry ur brain .. fabulous work btw.
Post Reply

Return to “10.x EA forum”