Holy Graily Bob 'n Sixths

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
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 Sixths

Post by SteveHopwood »

I had the same errors as Boulder today - and I could not even find the damn trade the blasted bot was whinging about.

Here is what I think is happening:
  • HGBnS detects a trade signal and sends the pending trades.
  • The Sixths are redrawn and a pending or two end up on the wrong side of the middle line.
  • HGBnS tries to set/reset the tp to the middle line, which is impossible.
I will sort this out tomorrow. Probably, the pendings that end up on the wrong side of the middle line need deleting.

Teething problems only. HGBnS is fuckin amazing.

: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
TraderJoeForex
Trader
Posts: 1157
Joined: Fri Mar 08, 2013 10:29 pm
Location: South London

Holy Graily Bob 'n Sixths

Post by TraderJoeForex »

Bob's recent and brilliant CSS with HGI posts have reminded me it may be preferable to only trade the turn back into the higher trend if there is one so that we are buying the dips in an uptrend etc rather than counter trend.

Could your CSS filter be activated in the code to test this in due course Steve?
Peepaws
Trader
Posts: 121
Joined: Thu Nov 27, 2014 11:19 pm

Holy Graily Bob 'n Sixths

Post by Peepaws »

My 2 demos are setup, one with Stop only and the other with Stop and Limit orders.

Just waiting for trade triggers now!

Will keep updating.


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

Post by SteveHopwood »

TraderJoeForex » Thu Jun 02, 2016 1:48 am wrote:Bob's recent and brilliant CSS with HGI posts have reminded me it may be preferable to only trade the turn back into the higher trend if there is one so that we are buying the dips in an uptrend etc rather than counter trend.

Could your CSS filter be activated in the code to test this in due course Steve?
Done. V1f in post 1.

Coders, retrofitting CSS to ea's you wrote using my shells is easy when you know how. Load the attached into meta editor even if you usually use a different one, and follow the bookmarks to see the code you need to add.

:xm:
You do not have the required permissions to view the files attached to this post.
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
vectieba
Trader
Posts: 15
Joined: Thu May 05, 2016 6:03 am
Location: South Africa

Holy Graily Bob 'n Sixths

Post by vectieba »

Hi Steve

Not sure if this will help but I just got the order open error with the following

2016.06.02 12:38:48.652 Holy Graily Bob n Sixths NZDJPY.,H4: NZDJPY. Holy Graily Bob n Sixths OP_SELL order send failed with error(130): invalid stops

2016.06.02 12:38:48.363 '8671728': order sell market 0.03 NZDJPY. sl: 74.452 tp: 73.973
2016.06.02 12:38:48.652 '8671728': order sell 0.03 NZDJPY. opening at market sl: 74.452 tp: 73.973 failed [Invalid S/L or T/P]

It was trying to open the order on the middle line and use the middle line as take profit.
User avatar
TraderJoeForex
Trader
Posts: 1157
Joined: Fri Mar 08, 2013 10:29 pm
Location: South London

Holy Graily Bob 'n Sixths

Post by TraderJoeForex »

SteveHopwood » Thu Jun 02, 2016 9:36 am wrote: Done. V1f in post 1.

Coders, retrofitting CSS to ea's you wrote using my shells is easy when you know how. Load the attached into meta editor even if you usually use a different one, and follow the bookmarks to see the code you need to add.

:xm:

Fantastic, thank you. Will report back how I get on.
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 Sixths

Post by SteveHopwood »

I just had a long loll in the bath. :clap: :clap: :clap:

Using CSS turns HGBnS into a trend trader re-entering the trend after a deep retrace. It makes sense to be able to set a more distant take profit target and send more grid trades to take advantage of the trend resumption.

I have set up two more inputs under the TakeProfitPips input that allows us to choose our own tp sixths line. I describe how in post 1.

V 1g is in post 1.

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

Post by SteveHopwood »

I just loaded up the latest and noticed that I had not turned the DCC time frame into one of those dinky little ENUM's that ensures we can only enter an appropriate time frame. I have replaced this in 1g without bothering to change the version.

Easy change to make yourselves. Copy this over the top of line 274:
extern ENUM_TIMEFRAMES CssTf=PERIOD_D1;

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

Post by SteveHopwood »

V 1h is in post 1. You do not need this update if you are not using Limit orders as well as Stop orders (AddLimitOrders input).

Dan pm'd me to say he was getting 'invalid stop' errors and the limit orders not being sent. I had got my '+' and '-' the wrong way around. So:
line 1821
price = Ask + (DistanceBetweenTrades / factor);

should be
price = Ask - (DistanceBetweenTrades / factor);

line 1833
price = Bid - (DistanceBetweenTrades / factor);

should be
price = Bid + (DistanceBetweenTrades / factor);

: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.
Peepaws
Trader
Posts: 121
Joined: Thu Nov 27, 2014 11:19 pm

Holy Graily Bob 'n Sixths

Post by Peepaws »

Thanks Steve! Will update when I get home.
Post Reply

Return to “Thingy Bob EA's”