Delete the other platform and start again.barry » Sun Jan 23, 2022 11:33 pm wrote:I tried to set up both setfiles in different GP platforms. One platform works fine, but the other shows this message in the Experts tab: 2022.01.24 09:49:10.708 Slopey Peaky Bob Latest Version XAUUSD,H1: array out of range in 'SPB core library.mqh' (325,29).
I think the message means that an array is returning an invalid value, but I don't know why, or how to fix it.
I have run the Force Load Historical Data script, restarted the platform, and copied the entire MQL4 folder from the platform that works to the platform that gives the message, but still I get the same message.
Both platforms are version 1353 of Empty4.
I'm out of ideas, can anyone help please?
Slopey Peaky Bob
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
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.
-
barry
- Trader
- Posts: 81
- Joined: Thu Mar 01, 2012 5:12 am
Slopey Peaky Bob
Yep, as easy as that, thanks. 
-
dclayw
- Trader
- Posts: 139
- Joined: Wed Nov 13, 2013 6:53 am
- Location: Australia
Slopey Peaky Bob
I just got this error too, on my master Empty4 instance on my PC. I maintain a master Empty4 and build all my VPS instances off that. Was just loading SPB v2t with default settings and it gives that exact out of range error and removes the EA. If I load a set file from one of my current tests it initialises OK so it would seem it does not like one (or some) of the settings in the default set file. No idea which one without going through them one at a time.barry » Mon Jan 24, 2022 9:33 am wrote:I tried to set up both setfiles in different GP platforms. One platform works fine, but the other shows this message in the Experts tab: 2022.01.24 09:49:10.708 Slopey Peaky Bob Latest Version XAUUSD,H1: array out of range in 'SPB core library.mqh' (325,29).
I think the message means that an array is returning an invalid value, but I don't know why, or how to fix it.
I have run the Force Load Historical Data script, restarted the platform, and copied the entire MQL4 folder from the platform that works to the platform that gives the message, but still I get the same message.
Both platforms are version 1353 of Empty4.
I'm out of ideas, can anyone help please?
Never come across this before I don't think and I do this kind of thing all the time. Nothing changed at my end from what I can see, well, an Empty4 update on 16/12. What does the (325,29) refer to, line numbers?
-
lemur6666
- Trader
- Posts: 69
- Joined: Mon Nov 27, 2017 8:29 am
Slopey Peaky Bob
Pair Array access. Please Check if your brokes offers PairsToTrade listed in Expert Porperities.What does the (325,29) refer to, line numbers?
You can also try to modify SPB core library.mqh in line 268 and make it look like follows:
Code: Select all
if (digits!=0)Please come back if it does it for you beacuse, I have no issues with FxPro.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
I did not post last weekend as we could not access the site. Thomas looks after the back end these days and he battled with the problem all day, so all our thanks to him for doing that.
I would have written about a frustrating week that saw no profits banked and some heavy DD. Come the end of this last week and still heavy DD, but some profits also: Since going live on 24th November: I had a happy accident on Thursday. I have an account with just over $12,000 in it and I set SPB on it two weekends ago. 0.02 lots as I am being cautious. I will increase this gradually if the success continues but do not think I will go higher than 0.05 per $10,000 as I definitely do not want to blow this account.
SPB took trades on the Monday. These promptly went into DD and stayed there for the next 10 days.
I went to school on Thursday and stayed on after the end of the day for a Matilda rehearsal. I arrived home to this: I had forgotten to set SPB to close individual baskets at 100 pips, which is both
AND
I closed down and am flat for the weekend.

I would have written about a frustrating week that saw no profits banked and some heavy DD. Come the end of this last week and still heavy DD, but some profits also: Since going live on 24th November: I had a happy accident on Thursday. I have an account with just over $12,000 in it and I set SPB on it two weekends ago. 0.02 lots as I am being cautious. I will increase this gradually if the success continues but do not think I will go higher than 0.05 per $10,000 as I definitely do not want to blow this account.
SPB took trades on the Monday. These promptly went into DD and stayed there for the next 10 days.
I went to school on Thursday and stayed on after the end of the day for a Matilda rehearsal. I arrived home to this: I had forgotten to set SPB to close individual baskets at 100 pips, which is both
You do not have the required permissions to view the files attached to this post.
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.
-
barry
- Trader
- Posts: 81
- Joined: Thu Mar 01, 2012 5:12 am
Slopey Peaky Bob
Using Steve's setfile, for the past two weeks I have seen all trades close and all pendings deleted late in the week (Thursday this week, Friday last week). Both times these closures have surprised me, and the log file has simply logged the closures without saying which setting triggered the closures. Have other testers seen the same, and can anyone help me to understand what caused the closures? I suspected BasketFridayCashTargets, but that wouldn't explain the Thursday close. Thanks for any guidance.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
Last week was frustrating on the tiny account with no banked profits and DD currently at c. 40% and has been higher.
Better luck on the $12,000+ account, trading 0.02 lots so DD bothers me not a jot. There were profits early in the week, followed by 3 days of DD. This continued well into Friday until the markets suddenly turned in my favour and one of the Friday basket close targets was hit and all positions closed. I am where we all love to be at the weekend - out of the markets.
So last week: Cumulative since going live on Jan 24th: I am not going to increase the lot sizes just yet. Soon, if the success continues.

Better luck on the $12,000+ account, trading 0.02 lots so DD bothers me not a jot. There were profits early in the week, followed by 3 days of DD. This continued well into Friday until the markets suddenly turned in my favour and one of the Friday basket close targets was hit and all positions closed. I am where we all love to be at the weekend - out of the markets.
So last week: Cumulative since going live on Jan 24th: I am not going to increase the lot sizes just yet. Soon, if the success continues.
You do not have the required permissions to view the files attached to this post.
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.
-
trader689
- Trader
- Posts: 674
- Joined: Thu Nov 17, 2011 12:53 am
Slopey Peaky Bob
bravo, looking very good Steve
trader
trader
- r1ch4rd
- Trader
- Posts: 137
- Joined: Fri Jan 20, 2012 2:19 pm
- Location: Cambridge, UK
Slopey Peaky Bob
I lost my GP demo account with the settings I posted previously (possibly the switch to the Seychelles).
But my live account with your settings is also doing well Steve.
Once again, thank you for sharing.
Richard :hi:
But my live account with your settings is also doing well Steve.
Once again, thank you for sharing.
Richard :hi:
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Slopey Peaky Bob
Great news Richard.r1ch4rd » Sun Feb 13, 2022 9:19 am wrote:I lost my GP demo account with the settings I posted previously (possibly the switch to the Seychelles).![]()
But my live account with your settings is also doing well Steve.![]()
Once again, thank you for sharing.
Richard :hi:
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.