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.
betterskin

Holy Graily Bob

Post by betterskin »

did you ever fix the problem of the EA not closing trades on the wavy ?
trendinator
Trader
Posts: 156
Joined: Sat Dec 06, 2014 12:22 am

Holy Graily Bob

Post by trendinator »

just a thought. in the history check (HistoryOK) it looks for 100 bars. but HGI needs 550 to function correctly as pointed out by tommaso. perhaps worth changing? will test out the new version 3 :)
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 »

trendinator » Mon Feb 23, 2015 12:37 pm wrote:just a thought. in the history check (HistoryOK) it looks for 100 bars. but HGI needs 550 to function correctly as pointed out by tommaso. perhaps worth changing? will test out the new version 3 :)
Good point.

The upside of having shells from which to quickly create ea's is that the basics are already there.

The downside is redundant code. HGI ensures there are sufficient bars on the chart. The EA 100 bars check is redundant - at least it is until I finally bite the bullet and incorporate Tommaso's HGI library into HGB. The stumbling block there is not a coding one but an emotional one. I remember only too well the last time I incorporated a library that users needed to download into an ea. :arrrg:

Ask yourself this; given that a lot of people have a lot of trouble getting a basic EA to work, what happens when they then have to incorporate a library? I will do this at some point - but need to be feeling strong when I do so. :lol:

: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.
SWG123
Trader
Posts: 565
Joined: Wed Nov 16, 2011 3:02 pm
Location: Cape Town

Holy Graily Bob

Post by SWG123 »

SteveHopwood » Mon Feb 23, 2015 11:55 pm wrote: Good point.

The upside of having shells from which to quickly create ea's is that the basics are already there.

The downside is redundant code. HGI ensures there are sufficient bars on the chart. The EA 100 bars check is redundant - at least it is until I finally bite the bullet and incorporate Tommaso's HGI library into HGB. The stumbling block there is not a coding one but an emotional one. I remember only too well the last time I incorporated a library that users needed to download into an ea. :arrrg:

Ask yourself this; given that a lot of people have a lot of trouble getting a basic EA to work, what happens when they then have to incorporate a library? I will do this at some point - but need to be feeling strong when I do so. :lol:

:xm:
Please forgive me if this is a stupid suggestion but HGI v16.04 was designed by Tommaso to circumvent the 550 bar history requirement, so ....
User avatar
droland
Trader
Posts: 52
Joined: Tue Nov 15, 2011 9:40 pm
Location: Vancouver, BC, Canada

Holy Graily Bob

Post by droland »

SteveHopwood » Mon Feb 23, 2015 2:55 pm wrote:
trendinator » Mon Feb 23, 2015 12:37 pm wrote:just a thought. in the history check (HistoryOK) it looks for 100 bars. but HGI needs 550 to function correctly as pointed out by tommaso. perhaps worth changing? will test out the new version 3 :)
Good point.

The upside of having shells from which to quickly create ea's is that the basics are already there.

The downside is redundant code. HGI ensures there are sufficient bars on the chart. The EA 100 bars check is redundant - at least it is until I finally bite the bullet and incorporate Tommaso's HGI library into HGB. The stumbling block there is not a coding one but an emotional one. I remember only too well the last time I incorporated a library that users needed to download into an ea. :arrrg:

Ask yourself this; given that a lot of people have a lot of trouble getting a basic EA to work, what happens when they then have to incorporate a library? I will do this at some point - but need to be feeling strong when I do so. :lol:

:xm:
wow, you are so right there. Maybe slowly modify your own code to whatever the library has to offer over your own realistic time frame. I have figured out (to some degree) your coding path logic and adding outside libraries really does complicate matters.

Just me gut thoughts, not being a high end coder.

Dave R.
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 »

droland » Mon Feb 23, 2015 11:53 pm wrote:
SteveHopwood » Mon Feb 23, 2015 2:55 pm wrote:
trendinator » Mon Feb 23, 2015 12:37 pm wrote:just a thought. in the history check (HistoryOK) it looks for 100 bars. but HGI needs 550 to function correctly as pointed out by tommaso. perhaps worth changing? will test out the new version 3 :)
Good point.

The upside of having shells from which to quickly create ea's is that the basics are already there.

The downside is redundant code. HGI ensures there are sufficient bars on the chart. The EA 100 bars check is redundant - at least it is until I finally bite the bullet and incorporate Tommaso's HGI library into HGB. The stumbling block there is not a coding one but an emotional one. I remember only too well the last time I incorporated a library that users needed to download into an ea. :arrrg:

Ask yourself this; given that a lot of people have a lot of trouble getting a basic EA to work, what happens when they then have to incorporate a library? I will do this at some point - but need to be feeling strong when I do so. :lol:

:xm:
wow, you are so right there. Maybe slowly modify your own code to whatever the library has to offer over your own realistic time frame. I have figured out (to some degree) your coding path logic and adding outside libraries really does complicate matters.

Just me gut thoughts, not being a high end coder.

Dave R.
The next upside is this: when I decide to start incorporating the HGI library into HGB, I will have Tommaso to hold my hand and mop up my tears. :)

: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
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

Holy Graily Bob

Post by milanese »

SteveHopwood » Tue Feb 24, 2015 12:36 pm wrote: The next upside is this: when I decide to start incorporating the HGI library into HGB, I will have Tommaso to hold my hand and mop up my tears. :)

:xm:
:xm: I will do so :xm:
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
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 »

betterskin » Mon Feb 23, 2015 5:07 am wrote:did you ever fix the problem of the EA not closing trades on the wavy ?
No, and it sure looks as though there is one.

: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.
trendinator
Trader
Posts: 156
Joined: Sat Dec 06, 2014 12:22 am

Holy Graily Bob

Post by trendinator »

CloseOnOppositeTma is still broken for yellow waves if WaveTradeBlueToYellowOnly=true

i really think the TmaStatus needs to be broken up into 4 different signals, which is really what it is - YellowAbove, YellowBelow, BlueAbove, BlueBelow.

honestly its a real mess at the moment, theres TmaStatus, WaveStatus, BuyWaveSignal, SellWaveSignal, WaveIsBuyTrend, WaveIsSellTrend.

most of them are redundant, it really needs to be simplified in my opinion.

also...
i think ShouldPendingsBeDeleted isn't quite working as I thought it might. say we have Rad trades, then the price retraces away from the pendings, then we get a different kind of signal, say Trend Arrow signal in the same direction. the pendings won't be deleted because it is a different trade type due to:

if (OrderComment() != comment) continue;

what we really want is to delete any pendings if they are more than XX pips (20?) away from the current signal, no? then make new trades at the correct level to the new signal.

correct me if im wrong here. :)
acostafulano
Trader
Posts: 243
Joined: Tue Dec 06, 2011 3:40 pm

Holy Graily Bob

Post by acostafulano »

Steve, I think both the functions

- Open only one trade per candle
and
- Min Distance between trades

Are still broken (See screenshots, which corresponds to the attached setfile)
7212 HGIG - M15 - 45SL-35TP.set
To sum it up:
Multiple trades within less than the min distance to each other, and all of them taken within the same M15 candle (if you see, maybe 1 each minute, as long as the signal is still there, I suppose).
USDJPY.PNG
EURCAD.PNG
Now, I cannot code for shit, but I've been looking at codes of other robots with a similar working function and I found these snippets:

if (MyRealOrdersTotal(Magic)==1 && Allow_Second_Trade && Time[0]!=Last_Time && LastOpenType()==0 && Ask<=(LastBuyPrice()-Distance*PointValue()))

I have tried to adapt these piece of code to the way HGB is written and came up with this (just for the sake of trying something rather than just ask you).

//Minimum distance between trades
//Trend
if (TrendMinDistanceBetweenTradesPips > 0)

if ( Ask<=( TrendMostRecentBuyPrice - (TrendMinDistanceBetweenTrades / factor) ) )
(THIS IS WHAT I REPLACED WITH THE PREVIOUS THINGY INTENDED TO DO THIS)
return(false);

This will probably not work (I'm about to try it), since as I said, I can't code, but I'd appreciate if you could point me in the right direction or perhaps use this idea to attempt a new fix of this functions.

Diego
You do not have the required permissions to view the files attached to this post.
Locked

Return to “Thingy Bob EA's”