Hi,I am new here,
I am trying by many days to solve a problem compiling SBP Bob family's .mq4 files.
I have compiled in the right way only "SBP Bob latest version".....
every others gave me the same errors in SBP core library:
I am not a coder and I do'nt have so much experience to solve this problem.
I have found a post in the forum about this problem searching "undeclared identifier"
and I tryed to solve it downloading files many times after eliminate them,restarting platform and so on,but unfortunaly nothing happens.
I thanks you for any help about that.
I would thank for the wonderfull work developed here trough the years.....
seems incredible ........it's a universe and so much to learn,really wonderfull.
Thanks again for any help
regards
Sangratan (Sergio)
"SBP core library" errors ?
- sangratan
- Trader
- Posts: 56
- Joined: Thu Feb 24, 2022 9:39 am
- Location: Pisa
"SBP core library" errors ?
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
"SBP core library" errors ?
You don't compile Library or Include files separately. Slopey Peaky Bob, for example, pulls the SPB core library code into its own compiled version automatically.

Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- sangratan
- Trader
- Posts: 56
- Joined: Thu Feb 24, 2022 9:39 am
- Location: Pisa
"SBP core library" errors ?
Thanks Steve for your answer....I am really sorry for my misunderstanding....
can you tell me step by step what I have to do please ...
I tryed to compile for exemple Slopey Holy Graily Bob but comes errors and not .ex4 file.....
what have I to do to get .ex4 file to put in expert foulder in Empty4 platform ?
This is what'happening ...
thanks again for your patience and help
regards
Sangratan
can you tell me step by step what I have to do please ...
I tryed to compile for exemple Slopey Holy Graily Bob but comes errors and not .ex4 file.....
what have I to do to get .ex4 file to put in expert foulder in Empty4 platform ?
This is what'happening ...
thanks again for your patience and help
regards
Sangratan
You do not have the required permissions to view the files attached to this post.
- r1ch4rd
- Trader
- Posts: 137
- Joined: Fri Jan 20, 2012 2:19 pm
- Location: Cambridge, UK
"SBP core library" errors ?
Do you have it in your indicator folder?sangratan » Sun Mar 20, 2022 3:33 pm wrote:Thanks Steve for your answer....I am really sorry for my misunderstanding....
can you tell me step by step what I have to do please ...
I tryed to compile for exemple Slopey Holy Graily Bob but comes errors and not .ex4 file.....
what have I to do to get .ex4 file to put in expert foulder in Empty4 platform ?
This is what'happening ...
thanks again for your patience and help
regards
Sangratan
It should be in your expert folder.
- sangratan
- Trader
- Posts: 56
- Joined: Thu Feb 24, 2022 9:39 am
- Location: Pisa
"SBP core library" errors ?
Hi,
any SBP Bob's family MQL4 files are in expert's foulder......
If I try to compile to do .ex4 files comes those errors .....
and if try to put one directly on chart it comes message in the journal that I attached above.....
may be somebody can share .ex files ?
Thanks for any help
Sangratan
any SBP Bob's family MQL4 files are in expert's foulder......
If I try to compile to do .ex4 files comes those errors .....
and if try to put one directly on chart it comes message in the journal that I attached above.....
may be somebody can share .ex files ?
Thanks for any help
Sangratan
- sangratan
- Trader
- Posts: 56
- Joined: Thu Feb 24, 2022 9:39 am
- Location: Pisa
"SBP core library" errors ?
Here is....
You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
"SBP core library" errors ?
It turns out that I have done something wrong somewhere.sangratan » Sun Mar 20, 2022 8:31 pm wrote:Hi,
any SBP Bob's family MQL4 files are in expert's foulder......
If I try to compile to do .ex4 files comes those errors .....
and if try to put one directly on chart it comes message in the journal that I attached above.....
may be somebody can share .ex files ?
Thanks for any help
Sangratan
I loaded up Slopey Peaky Holy Graily Bob into the editor and tried to compile, and saw the same error messages that you are seeing. I have added a feature to Slopey Peaky Bob Latest Version that I did not add to the (at least some of) other versions.
I will look into this at some point. For now, use this quick fix:
- Try to compile Holy Graily.
- Double click the first of the error messages you see.
Code: Select all
//Using ATR for individual pairs as a basket TP
if (UseAtrForBasketTP)
{
double atrVal = getAtr(symbol, TpAtrTimeFrame, TpAtrPeriod, 0);
IndividualBasketTargetPips = (int) ((atrVal * factor) * (TpPercentOfAtrToUse / 100) );
}//if (UseAtrForBasketTP)
Code: Select all
/*
//Using ATR for individual pairs as a basket TP
if (UseAtrForBasketTP)
{
double atrVal = getAtr(symbol, TpAtrTimeFrame, TpAtrPeriod, 0);
IndividualBasketTargetPips = (int) ((atrVal * factor) * (TpPercentOfAtrToUse / 100) );
}//if (UseAtrForBasketTP)
*/
Go back to Holy Graily and recompile and all should then be well.
This problem could well be a feature of many of the SPB family that has not emerged so far as most of us are using the Slopey Peaky Bob Latest Version and are single pair basket trading - hence the new feature that caused your difficulties. I will sort it out at some point.
Let us know how you get on.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- sangratan
- Trader
- Posts: 56
- Joined: Thu Feb 24, 2022 9:39 am
- Location: Pisa
"SBP core library" errors ?
:hi: :hi: :hi: :hi: :hi: :hi: :hi:
Perfect.....
it works....
So many thanks for your help Steve,
Sometimes becouse of my newbie condition I doubt about many things,sorry for that.
I'll try with others experts......
Thanks again and have a good night
Sangratan
Perfect.....
it works....
So many thanks for your help Steve,
Sometimes becouse of my newbie condition I doubt about many things,sorry for that.
I'll try with others experts......
Thanks again and have a good night
Sangratan
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
"SBP core library" errors ?
Brilliant. You have brought to my attention something that needs sorting out, so thanks for that.sangratan » Sun Mar 20, 2022 9:57 pm wrote::hi: :hi: :hi: :hi: :hi: :hi: :hi:![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Perfect.....
it works....
So many thanks for your help Steve,
Sometimes becouse of my newbie condition I doubt about many things,sorry for that.
I'll try with others experts......
Thanks again and have a good night
Sangratan
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.