Holy Graily Bob 'n Grid

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
goldcourse
Trader
Posts: 48
Joined: Tue Dec 27, 2011 2:18 am

Holy Graily Bob 'n Grid

Post by goldcourse »

Gertje » Tue Mar 22, 2016 5:14 pm wrote:
goldcourse » Tue Mar 22, 2016 1:45 am wrote:Gertje,

Can you kindly share your set file for v2n. Thanks
Sure, attached.
Be aware there will be DD involved.... :jump:


Margin is beginning to be an issue, $2.000,- is the minimum for 0.01 lots in my opinion.
.
Gertje,

Thanks for the set file. I'll be running it on GBPJPY only with $1,000/0.01 lots. Let's see how it goes!
User avatar
PeterUK
Trader
Posts: 79
Joined: Fri Jun 27, 2014 2:18 pm
Location: London, UK

Holy Graily Bob 'n Grid

Post by PeterUK »

Thanks Steve,

I'll run it on a demo at low TF to see/observe how it triggers this time round :-)

Peter
SteveHopwood » 22 Mar 2016, 11:42 wrote:V 1b is in post 1 with the fix I described above. Keep an eye open especially on your live accounts folks. I am not sure this is the solution.

:xm:
Knowledge owned is Pointless. Knowledge Shared is Priceless!
User avatar
PeterUK
Trader
Posts: 79
Joined: Fri Jun 27, 2014 2:18 pm
Location: London, UK

Holy Graily Bob 'n Grid

Post by PeterUK »

Guys/Gals,

I think you should hold off from running the latest v1b on live... :|

Trades are opening and closing immediately when HGI triggers a signal, and then stops when the HGI signal disappears...
v1b-xauusd-order-bug-chart.jpg
v1b-audcad-order-bug-chart.jpg
v1b-audcad-order-bug.jpg
It'll get fixed eventually :-)

Peter
You do not have the required permissions to view the files attached to this post.
Knowledge owned is Pointless. Knowledge Shared is Priceless!
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 'n Grid

Post by SteveHopwood »

The source of the problem is in the block starting at line 4944. Comment it out and the problem disappears.

Working on 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 'n Grid

Post by SteveHopwood »

I know what the problem is. Fix coming soon.

: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.
traderandy
Posts: 9
Joined: Sun Sep 13, 2015 5:13 am

Holy Graily Bob 'n Grid

Post by traderandy »

Thank you very much Steve.
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 'n Grid

Post by SteveHopwood »

V 1c is in post 1.

I wanted to make use of the enhanced position snapshot building in my latest shells (void CountOpenTrades()) so I commented out the original in case I needed it, and copied the function from my shell. I forgot to update a couple of variables calculations.

You can check that the bot is working properly by going to line 2472 which is a blank line and inserting:
TrendArrowStatus = Trenduparrow;

Recompile and HGBnG will send a grid. Watch it for a few seconds, then delete the code at 2472 and recompile. The bot will find there is no signal, and so will delete the grid.

Buggerin' 'ell. :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg:

: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 'n Grid

Post by SteveHopwood »

I forgot to add to my previous that I have reinstated a safety feature that went AWOL somehow.

PostTradeAttemptWaitSeconds tells HGBnG not to attempt to trade for (default) 3 minutes after attempting to send a trade. This is a vital feature so you must not disable it with a zero value input.

: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
PeterUK
Trader
Posts: 79
Joined: Fri Jun 27, 2014 2:18 pm
Location: London, UK

Holy Graily Bob 'n Grid

Post by PeterUK »

Thanks Steve,

My initial tests of this latest bot v1c seems to be working as expected now :-)

Will see how it goes in the next few hours...

NB: My demos running v2p (my version with 34EMA, 15min TF) is running hot at 0.03 lots (0.01 per 1000 sizeofgollop) hence the large drawdown... will be changing to 0.01 per 2500 to reduce the drawdown and give the account a bit more breathing room... it's the pips that count, so reducing lot size shouldn't affect it :-)

Regards,

Peter
Knowledge owned is Pointless. Knowledge Shared is Priceless!
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 'n Grid

Post by SteveHopwood »

V 1e is in post 1.

This is a teensy change whose need only becomes clear if you manually close your market trades and the bot fails to delete the outstanding stop/limit orders.

Line 4957
if (PendingTradesTotal <= GridSize)

needs to be:
if (PendingTradesTotal < (GridSize * 2) )

because a full grid will consist of GridSize * 2 trades - default 10. If there are less than 10 stop/limit orders and no market order, then a market order has closed/been closed, trading is over for the time being and the pending trades are no longer required.

: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.
Post Reply

Return to “Thingy Bob EA's”