Holy Graily Bob's Candle Power

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's Candle Power

Post by SteveHopwood »

Coenraad has just sent me a bloop spot. Line 1604:
HgiStatus = hgiuparrowtradable;

should be:

HgiStatus = hgidownarrowtradable

I was wondering why my buys were not closing following a down signal. :arrrg:

I will put up a fix in time for next week. Thanks Coenraad :clap: :clap: :clap: :clap: :clap:

: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's Candle Power

Post by TraderJoeForex »

TraderJoeForex » Thu Sep 14, 2017 8:47 pm wrote:... I added a 200pip emergency SL and a 2pip BE and JS.

Here are results for last 24hours on two pairs GJ and EU.
Now 3000pips in 48hours! Steve You have created a monster :good:
You do not have the required permissions to view the files attached to this post.
User avatar
TraderJoeForex
Trader
Posts: 1157
Joined: Fri Mar 08, 2013 10:29 pm
Location: South London

Holy Graily Bob's Candle Power

Post by TraderJoeForex »

Also the difference between EU and GJ above as example is far far greater than the difference in their respective volatility.
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's Candle Power

Post by SteveHopwood »

TraderJoeForex » Fri Sep 15, 2017 7:01 pm wrote:
Now 3000pips in 48hours! Steve You have created a monster :good:
I do always try to entertain.

I am no longer sure that my anti-bunching code is watertight.

Me being my usual gung-ho me, I put this bot on my live trading account. Usual stuff: minimal lot sizes; market would have to move about a gazillion pips against me before causing a problem.

So, as usual I have 32 buys and 41 sells open.

And HGI appears to have generated enough signals to have closed most of those trades because they were once in profit, yet the damn bot has left them smugly in place.

So as usual, code that I thought was watertight when I released it is actually bollocks. :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg:

Anybody with a firing synapse fancy running SHF? :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg:

Ho hum.
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's Candle Power

Post by TraderJoeForex »

SteveHopwood » Fri Sep 15, 2017 10:12 pm wrote: I do always try to entertain.

I am no longer sure that my anti-bunching code is watertight.

Me being my usual gung-ho me, I put this bot on my live trading account. Usual stuff: minimal lot sizes; market would have to move about a gazillion pips against me before causing a problem.

So, as usual I have 32 buys and 41 sells open.

And HGI appears to have generated enough signals to have closed most of those trades because they were once in profit, yet the damn bot has left them smugly in place.

So as usual, code that I thought was watertight when I released it is actually bollocks. :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg:

Anybody with a firing synapse fancy running SHF? :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg:

Ho hum.
My results with the set file I posted essentially bi passes the intended HGI exit procedure with BE and JS instead. So don't give up. This one is definately worth straightening out. Having the intended basket close working alongside BE and JS could be very strong indeed.
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's Candle Power

Post by SteveHopwood »

V 1a is in post 1.

I had a look at the code intended to stop trades bunching up close together; it was rubbish. I reckon I only thought it was working because hedged baskets closed so quickly whilst I was testing the code.

Bloop spotters, line 178 declares a couple of order open prices arrays:
double BuyPrices[], SellPrices[];

These arrays are populated in CountOpenTrades and sorted into an ascending array at the end of the function.

bool EnoughDistance(int type, double price) is called by LookForTradingOpportunities() as a final check that the proposed trade is appropriate. EnoughDistance() uses the BuyPrices[] and SellPrices[] arrays to check that the open orders just above and below are at least MinDistanceBetweenTradesPips away from the proposed new trade.

Not sure the code is dead right yet. It seems to produce trades with an appropriate distance in between them in Crapergy Tester, but we all know how poor is my eye for detail. Have a look and see what you think.

: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.
Yannis
Trader
Posts: 56
Joined: Tue May 22, 2012 7:42 am

Holy Graily Bob's Candle Power

Post by Yannis »

Steve, I think you carried the previous error with this version, line 1736.
In the ReadIndicatorValues():

Code: Select all

         if (signal==TRENDDN)
         {
            if (CloseOnLargeArrows)
               HgiStatus = hgiuparrowtradable;
         }
should read:
HgiStatus = hgidownarrowtradable
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's Candle Power

Post by SteveHopwood »

Yannis » Sun Sep 17, 2017 2:07 pm wrote:Steve, I think you carried the previous error with this version, line 1736.
In the ReadIndicatorValues():

Code: Select all

         if (signal==TRENDDN)
         {
            if (CloseOnLargeArrows)
               HgiStatus = hgiuparrowtradable;
         }
should read:
HgiStatus = hgidownarrowtradable
Thanks Yannis. No idea how that crept back in.

Corrected 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's Candle Power

Post by SteveHopwood »

TraderJoeForex » Fri Sep 15, 2017 11:43 pm wrote:
My results with the set file I posted essentially bi passes the intended HGI exit procedure with BE and JS instead. So don't give up. This one is definately worth straightening out. Having the intended basket close working alongside BE and JS could be very strong indeed.
I applied your set file apart from taking out the stop loss and changing the magic number. It was not long before trades started to close.

The first 20 minutes of trading have netted 865 pips yielding $78 (0.01 lots) and halving the open trades. I will add your set file to post 1 as a recommended set tomorrow. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

Nice one, TJF. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :party: :party: :party: :party: :party: :party:

: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's Candle Power

Post by SteveHopwood »

Less than 30 minutes into the trading week: +2069 pips and $184.

I am enjoying this. :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.
Post Reply

Return to “Thingy Bob EA's”