stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Old and defunct Holy Graily Bob
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3966
Page 87 of 129
Author:  KingOfCoolville [ Tue Jan 13, 2015 8:04 am ]
Post subject:  Holy Graily Bob

boinvest » Mon Jan 12, 2015 11:01 pm wrote:
KingOfCoolville » Mon Jan 12, 2015 7:13 pm wrote:
Hi,

I have this behavior also. I am running latest version (post 1?). I have duplicate trades at the same price and also duplicate pending orders.
Well, Please make sure you are running the latest version as this has been fixed.
As a rule, post 1 holds the most recent version.. ;)
At this moment version h.

SpiderX » Mon Jan 12, 2015 3:24 pm wrote:Hi Steve,
There is a bug in the CheckTradingTimes() in the shells...
Though it will only surface when using #propertystrict, since accessing an out of bounds array causes the EA to exit.

Cheers
Great I am on it..

I am also working on HGB version 3, which is exciting :clap:
Many things changed under the hood, and new functions going to be added.
And mql strict.
Hope to present it to you soon.. ;)

Also had some minor fixes for 2h, but didnt bother to look at the shell fix yet.
Other fixes were small, not exciting enough to publish an update.
Hi Boinvest.

I am using version 2h that you posted a couple of pages ago. This morning still had duplicate pending orders.

THanks
Author:  art [ Tue Jan 13, 2015 8:39 am ]
Post subject:  Holy Graily Bob

Much the same for me Cyrus,over 2000 pips last week, left trades open over weekend down so far this week,
Author:  Sandovich [ Tue Jan 13, 2015 9:45 am ]
Post subject:  Holy Graily Bob

"Hi Boinvest.

I am using version 2h that you posted a couple of pages ago. This morning still had duplicate pending orders.

THanks
KingOfCoolville
Trader"

I also had duplicate trades both on 2g and 2h RAD trades , to overcome this I used the setting in the EA :
Safety Feature / Min minutes between trades = 240

Worked for me .
Author:  art [ Tue Jan 13, 2015 9:57 am ]
Post subject:  Holy Graily Bob

duplicates for me also
Author:  matt_32 [ Tue Jan 13, 2015 10:38 am ]
Post subject:  Holy Graily Bob

@ boinvest


Regarding the duplicate orders issue. I am running 2 instances of HGI (v 2h).

One (A) is just wave, rad, trend following with multiple pendings disabled.
The other (B) is almost OOTB with multiple pendings enabled.

The problem of same orders being send at the same time (identical orders) only occurs in (A). By problem I mean 3-10 orders taken at the same time at exactly the same price level.

Hope this helps

Matt
Author:  boinvest [ Tue Jan 13, 2015 10:57 am ]
Post subject:  Holy Graily Bob

rostaus » Tue Jan 13, 2015 4:13 am wrote:Thanks for the tip retireme, if anyone has adjusted any settings that could be advantageous to everyone, I'm sure everyone would appreciate a post.
Or maybe not :roll: Dunno, not everyone is as sharing and caring ;)
Well, couple of pages back, there was a idea to open a HGB forward test topic..
Seems a interesting idea.
kwchau » Tue Jan 13, 2015 12:23 am wrote:
As I have observed and said in earlier posts, the EA will fire the same pending every 10 minutes if the signal is still valid. As these pending trades are set at the same "00" lines, when they are executed, they appeared to be duplicate trades.

My temporary fix with setting is to set the MaxOverallTrade the same as the MaxMultiTrade for Trend, Rad Wave and WaveTrend, in my case it is 5. Then the EA will fire 6 pendings if there is a signal, eg, if it is a Rad signal, it will fire a Rad pending and 5 Rad Multiple pendings.

This works for me to fix the "duplicate" trades issue.
And afterwards there has been posted a new fixed version.
From my own tests, it seems to be fixed.
From a coding view it should be fixed..
And I receive no other message that it is'nt...
So I assume it is fixed..
You can revert back to normal sets.
Author:  boinvest [ Tue Jan 13, 2015 11:14 am ]
Post subject:  Holy Graily Bob

Sandovich » Tue Jan 13, 2015 9:45 am wrote:"Hi Boinvest.

I am using version 2h that you posted a couple of pages ago. This morning still had duplicate pending orders.

THanks
KingOfCoolville
Trader"

I also had duplicate trades both on 2g and 2h RAD trades , to overcome this I used the setting in the EA :
Safety Feature / Min minutes between trades = 240

Worked for me .
Great, our messages croseed in cyberspace :)
Ok, so this cannot be considered fixed ;)
Strange thins really, from a coding point of view..

From a couple of messages i recieved, people are also reporting bugs, which are'nt.
So to everyone in general.. before wasting yours and my time make sure you understand how this thingy works.
Before posting about bugs.. ;)
There is a noob topic http://www.stevehopwoodforex.com/phpBB3 ... =87&t=3979

Sorry, for the "mess" there are multiple 2h versions. Ones I distributed in PM's and a the most recent version which is in this topic :).

Right now, I could post version 2i, which fixes the shell bug (Thanks Spider), and the minimum trades between pips.
From my experience, there is some more code in the shell which does'nt comply to the new mql code rules.
But 2i could potentially have the same multiple open bug..
Really, from coding point of view, should be fixed. the thing I've broken myself earlier.
Sorry, I do make mistakes sometimes :oops:

Well, I am much more focused on the version 3.
I was previously talking about a new shell..
Then, I decided to drop the new shell, library based thingy.
I've found that it has discussed a couple of times in this forum, and for unclear reasons it hasn't been adopted.

So, what's next...
I will continue developing this thingy. (Yeah version 3)
Combine a little stuff of my ideas and what I already had, so it's in the style Steve and others around here use.
I've written some code for a advanced Rollover protection.
To be implemented in this EA, but in my opinion would be beneficial for many EA's.

Also made some improvements for the counting and management of orders.
Should also fix the double openings thingy.
And using strict build 600 code.
Will publish a new one when it's ready. :)
Author:  boinvest [ Tue Jan 13, 2015 11:21 am ]
Post subject:  Holy Graily Bob

Wiggy1965 » Mon Jan 12, 2015 10:55 pm wrote:Steve/boinvest,

Just and observation, but trailing stop may not be working correctly...

I have trailing set to 60, however stops do not trail.... stops are being moved to BE +5 and the EA is showing "Breakeven is set to 60 pips: BreakEvenProfit = 5 Pips" and "Trailing stop is set to 60 pips"

I have only configure the EA to trail by 60...

Regards
Wiggy
Dunno,
Have'nt used this yet..
Think its something to be developed looked into in version 3.
Which is a major rewrite..
Fixed many things to comply with mql strict rules..
That made me change some thingys in the Order management..

Anyone else, experiencing the same??
Author:  Wiggy1965 [ Tue Jan 13, 2015 11:25 am ]
Post subject:  Holy Graily Bob

Hi boinvest,

I had this situation occur on a couple pairs....see below

Multiple buy stops canceled, then orders closed within 20secs of opening....

I removed EA and reloaded template and reattached EA and it went away....
HGB multiple trades 13-1-2015 (2).jpg
Just one more thing, i had a look around and it is not clear, do you need the indicator on every chart that the EA is running on....? Also, what is the impact if you have a second chart of the same pair with the indicator, no ea running....? so two pound charts, 4h chart with EA and indi and a second pound chart with just the indi....and you swapped timeframes on the chart with the indi only.....The reason i asked this, is i think the pairs that i had these multiple orders, i may have had a second chart open with the indi and changed times frames.......

Regards
Wiggy
Author:  milanese [ Tue Jan 13, 2015 11:29 am ]
Post subject:  Holy Graily Bob

Wiggy1965 » Tue Jan 13, 2015 11:25 am wrote:Hi boinvest,

I had this situation occur on a couple pairs....see below

Multiple buy stops canceled, then orders closed within 20secs of opening....

I removed EA and reloaded template and reattached EA and it went away....


Just one more thing, i had a look around and it is not clear, do you need the indicator on every chart that the EA is running on....? Also, what is the impact if you have a second chart of the same pair with the indicator, no ea running....? so two pound charts, 4h chart with EA and indi and a second pound chart with just the indi....and you swapped timeframes on the chart with the indi only.....The reason i asked this, is i think the pairs that i had these multiple orders, i may have had a second chart open with the indi and changed times frames.......

Regards
Wiggy
no the EA needs no indicator on the chart, it must only be in the indicator folder..
All times are UTC Page 87 of 129