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 19 of 53
Author:  shiningstar [ Wed Sep 26, 2012 5:39 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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! :)
Author:  dietcoke [ Wed Sep 26, 2012 8:45 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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";
Author:  fxarun [ Wed Sep 26, 2012 9:45 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  jayjonbeach [ Thu Sep 27, 2012 3:34 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  garyfritz [ Thu Sep 27, 2012 3:37 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  HiArt99 [ Thu Sep 27, 2012 7:01 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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;
      } 
   }
}
Author:  Baluda [ Thu Sep 27, 2012 7:42 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  fxarun [ Thu Sep 27, 2012 8:41 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

Hi paul
Sorry for my ignorance.
thanks a lot.

arun
Author:  Baluda [ Thu Sep 27, 2012 11:55 am ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

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
Author:  dextroze [ Thu Sep 27, 2012 1:41 pm ]
Post subject:  Re: MultiBob, a multi symbol NB10.2(a) autotrader

Paul, can i marry ur brain .. fabulous work btw.
All times are UTC Page 19 of 53