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

Holy Graily Bob

Post by trendinator »

SteveHopwood » Wed Feb 11, 2015 9:33 pm wrote:Probably needs a new set of yellow wave status thingies. I will mull this over and do some recoding later.

:xm:
yes perhaps split wavestatus into bluewavesell, bluewavebuy, yellowwavesell, yellowwavebuy ?

then close on wavestatus == bluewavebuy || yellowwavebuy

and you can have the open on bluewavebuy only too :)

another thing...
sometimes the following situation occurs.
there are some pendings open. then the price will retrace away from the pendings. then a new signal is given in the same direction but it isnt taken because the pendings are still open. so there are a lot of missed pips because the pendings are now miles away but 'still valid'.

perhaps this would work - delete pendings on a new signal (in the same direction) and then open new pendings at a level correct for the new signal (but still keep old open trades open until opposite arrow or wave). just a thought :)
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 »

It might be simple after all.

We change line 3914 from:
if (WaveStatus == Wavesell)

to

if (WaveStatus == TmaYellowWave)

: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 »

SteveHopwood » Wed Feb 11, 2015 9:41 pm wrote:It might be simple after all.

We change line 3914 from:
if (WaveStatus == Wavesell)

to

if (WaveStatus == TmaYellowWave)

:xm:
still need to know if its above or below the price so that the closeonoppositeTMA works properly :)
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 » Wed Feb 11, 2015 11:55 am wrote:
SteveHopwood » Wed Feb 11, 2015 9:41 pm wrote:It might be simple after all.

We change line 3914 from:
if (WaveStatus == Wavesell)

to

if (WaveStatus == TmaYellowWave)

:xm:
still need to know if its above or below the price so that the closeonoppositeTMA works properly :)
I am not going to be dogmatic about this because I am not sure. What I think is that because the yellow wavy's indicate the start of a range period and the blue ones the end of a range, then it doesn't matter where the market is in relation to the yellow. Trades that were triggered by the blue need changing.

I noted your point about the pendings by the way, and will look into it this afternoon. Sounds like an excellent idea.

: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
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 2x is in post 1, including fixes for points raised earlier by trendinator. Bear in mind that I am not certain that these fixes are watertight yet.

I have also included code to delete existing pendings unaccompanied by a market trade, when HGB finds a new signal. He calls void ShouldPendingsBeDeleted(string comment) when this happens - how this works will be obvious to the coders.

: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.
acostafulano
Trader
Posts: 243
Joined: Tue Dec 06, 2011 3:40 pm

Holy Graily Bob

Post by acostafulano »

Steve, is the multiple entries per candle issue being addressed or looked into??

I'm not sure if I'm the only one having this issue, though I know most people here are trading HGB differently from how I am (myself using instant market entries only, and no multiple pendings).

I was thinking of a workaround for this, maybe call the HGI Indicator every 5 or 10 minutes instead of every minute.... but this is obviously not the ideal solution.

Please let me know if I shall do this or if there's a fix in the works.

thx
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 »

acostafulano » Wed Feb 11, 2015 1:41 pm wrote:Steve, is the multiple entries per candle issue being addressed or looked into??

I'm not sure if I'm the only one having this issue, though I know most people here are trading HGB differently from how I am (myself using instant market entries only, and no multiple pendings).

I was thinking of a workaround for this, maybe call the HGI Indicator every 5 or 10 minutes instead of every minute.... but this is obviously not the ideal solution.

Please let me know if I shall do this or if there's a fix in the works.

thx
To tell the truth, I had forgotten about it. I will look into 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
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 »

I just had a quick peek. All the code does is look to see if a trade has opened and closed during the same candle (bool HaveTradesAlreadyClosedThisCandle()). That is not effective enough, so I will think through the solution and post it later.

: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.
acostafulano
Trader
Posts: 243
Joined: Tue Dec 06, 2011 3:40 pm

Holy Graily Bob

Post by acostafulano »

Great. thanks!
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 2y is in post 1, with an attempted fix for the more than one trade per candle thingy. As well as the checking function itself being faulty, there were calls to it missed out altogether.

: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.
Locked

Return to “Thingy Bob EA's”