Wow, this is cool! Thanks!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.
MultiBob, a multi symbol NB10.2(a) autotrader
-
shiningstar
- Posts: 7
- Joined: Sun Aug 26, 2012 2:47 pm
Re: MultiBob, a multi symbol NB10.2(a) autotrader
-
dietcoke
- Trader
- Posts: 162
- Joined: Tue Nov 15, 2011 9:59 pm
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
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";
-
fxarun
- Trader
- Posts: 41
- Joined: Tue Feb 07, 2012 10:21 am
- Location: Chennai India
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
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.
-- Darwin.
-
jayjonbeach
- Posts: 3
- Joined: Sun Feb 26, 2012 11:30 pm
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
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
That's what I do too. I always wondered why Baluda had such an odd ordering for his symbols.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";
Then I ran MultiBob and I discovered he listed them in Volatility-Group order. There was method to his madness after all.
-
HiArt99
- Posts: 7
- Joined: Thu Jul 12, 2012 8:50 am
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
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;
}
}
}- 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
Arun,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.
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
Hi paul
Sorry for my ignorance.
thanks a lot.
arun
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.
-- Darwin.
- 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
New version MultiBob v1.1.6 in post 1.
Changes:
Paul
Changes:
- Added sort option to sort symbol names, defaults to true
- Improved initialization of symbol names array
- Introduced pip factor input variables
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
Paul, can i marry ur brain .. fabulous work btw.
