Old and defunct Holy Graily Bob

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Locked
DoctorGremlin
Trader
Posts: 50
Joined: Wed Oct 30, 2013 6:21 pm
Location: Frankfurt, Germany

Holy Graily Bob

Post by DoctorGremlin »

Hi Steve,

yesterday i opened a live cent account at roboforex, and i fell over some problems.
at first, i get an error in the experts tab:

2014.12.03 07:00:44.288 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume
2014.12.03 07:10:42.986 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume
2014.12.03 07:20:46.645 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume


those errors only occur on JPY pairs, others are working fine. Any idea how to fix that?

Second problem, HGB wants to open range trades exactly every ten minutes (see above). I think it could be fixed with the number of range trades set to 1, but i think that shouldn't be the solution.

Edit: Just after writing this text, HGB started opening a range trade on JPY pairs, so it kind of fixed itself, but i think the 10 minute problem still remains. Anybode else has this problem?
taipan
Trader
Posts: 355
Joined: Sat Feb 16, 2013 11:27 am

Holy Graily Bob

Post by taipan »

DoctorGremlin » Wed Dec 03, 2014 2:23 pm wrote:Hi Steve,

yesterday i opened a live cent account at roboforex, and i fell over some problems.
at first, i get an error in the experts tab:

2014.12.03 07:00:44.288 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume
2014.12.03 07:10:42.986 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume
2014.12.03 07:20:46.645 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume


those errors only occur on JPY pairs, others are working fine. Any idea how to fix that?

Second problem, HGB wants to open range trades exactly every ten minutes (see above). I think it could be fixed with the number of range trades set to 1, but i think that shouldn't be the solution.

Edit: Just after writing this text, HGB started opening a range trade on JPY pairs, so it kind of fixed itself, but i think the 10 minute problem still remains. Anybode else has this problem?

see post #305 by Radar, not sure it will fix your problem. I have fixed mine. I have also use this to fix my Secret Bob v1g.
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Holy Graily Bob

Post by Radar »

Hey Taipan,
taipan » Wed Dec 03, 2014 4:23 pm wrote:
see post #305 by Radar, not sure it will fix your problem. I have fixed mine. I have also use this to fix my Secret Bob v1g.
Nope, what I posted won't fix that... I only prevented the SL adjustment problem, it won't fix the invalid lot-size problem.

Have fun!

Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
Radar
Trader
Posts: 437
Joined: Fri Mar 23, 2012 5:39 pm
Location: Round the bend ;)

Holy Graily Bob

Post by Radar »

Hey DoctorGremlin,
DoctorGremlin » Wed Dec 03, 2014 3:53 pm wrote:Hi Steve,

yesterday i opened a live cent account at roboforex, and i fell over some problems.
at first, i get an error in the experts tab:

2014.12.03 07:00:44.288 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume
2014.12.03 07:10:42.986 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume
2014.12.03 07:20:46.645 Holy Graily Bob USDJPY,H1: USDJPY Holy Graily Bob OP_BUY order send failed with error(131): invalid trade volume


those errors only occur on JPY pairs, others are working fine. Any idea how to fix that?
At least it is telling us what's wrong, (Lot is either too small, or too big)... Copy the following into an empty text file, save it as Lot_Info.mq4 and save it into your Scripts folder... Drop it on any chart to find out Minimum, Maximum, and Step sizes...

Code: Select all

// Lot_Info.mq4

int start()
{
   Alert("Minimum Lot-Size = ", string(MarketInfo(Symbol(), MODE_MINLOT)));
   Alert("Maximum Lot-Size = ", string(MarketInfo(Symbol(), MODE_MAXLOT)));
   Alert("LotStep = ", string(MarketInfo(Symbol(), MODE_LOTSTEP)));
return(0)
}
There's nothing in HGB that messes with the lot sizes, so it has to be caused by your current lot sizes being incompatible with one of the above br0ker settings for USDJPY.

Have fun!

Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Holy Graily Bob

Post by SteveHopwood »

And bear in mind that I get seriously pissed at people who blame my code for their own stupid mistakes. That is code that has worked seamlessly and flawlessly time and time again for years.

Anyone here not aware of what happens when I get pissed at someone? Do say, and I will show you with pleasure.

I do include a certain amount of idiot checking in my code but I am not going to try to accommodate every dimwit too thick to use an EA properly. The ability to use an ea is one of my post 1 stipulated requirements. Frankly, if you cannot even set your lot size correctly, then go to Babypips and learn how to.
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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Holy Graily Bob

Post by SteveHopwood »

V 1f is in post 1.

Elixe fixed the faulty code that resulted from my mis-understanding the wavy lines. Given that the faulty version banked 60 pips overnight and currently has trades open a c. +350, the fixed version should be an absolute monster.

Coming up is adding to Trend/Rad trades every x pips. I promised Bob a script to place the pendings for him, so I will do that and add the code to HBG later on.

This is fun.

:xm:
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.
gringoh

Holy Graily Bob

Post by gringoh »

Oh yes it is

:party:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Holy Graily Bob

Post by SteveHopwood »

Watch your HGI_Name input. By default it is set to the latest version in the HGI thread, so make sure you have downloaded it.

:xm:
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.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Holy Graily Bob

Post by Gertje »

Actually,

It's so much fun it should [and probably will be] illegal.
HGB.png
Started with an old demo, and never cleared the error-inflicted trades.
Between the banked losses this week and the float, over 1.000 green pips.
:!!:

This one is on the H1, after trying [and nearly loosing my shirt] on the M15. Just changed TF, didn't bother to clear the old trades.
HGB H1.png
You do not have the required permissions to view the files attached to this post.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Holy Graily Bob

Post by Gertje »

Hi Steve,

Not sure if you mentioned this to be on your to-do list, the EA still opens multiple trades for a single signal.
See attached, 3 trades on a trend signal, each 10 minutes apart [being the indi-check delay].
HGB.png
You do not have the required permissions to view the files attached to this post.
Locked

Return to “Thingy Bob EA's”