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
wallywonka
Trader
Posts: 188
Joined: Thu May 12, 2016 7:46 am

Holy Graily Bob's Candle Power

Post by wallywonka »

SteveHopwood » Mon Sep 11, 2017 8:03 pm wrote:Mine closed its fourth M5 GJ $10 hedged basket of the day a while ago. This is fun.

You guys might want to set MinMinutesBetweenTradeOpenClose to zero. A stop order can fill when the market is moving quickly in a favourable direction, then a basket can close less than a minute after the order filled, generating a 'possible rogue trade' and causing the bot to hang up its hat. This happened to me twice today.

:xm:
Hi Steve, fantastic work on this little gem you've created!

Not sure if that's what happened to me here, but I had a GBPJPY trade go past the $10 close basket earlier and didn't close out..ended up closing it manually about $30 in profit, I'll see if it happens again.
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 pm'd with a bloop spot. I have added the fix to V1.

DIYers, line 1370@
if (price <= LowestSellLimitPrice)

should be:
if (price <= LowestSellPrice)

That is me not taking enough notice of Auto-complete. :arrrg:

Thanks Coenraad. Nice spot. :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.
szfxtrader
Trader
Posts: 377
Joined: Sun Feb 10, 2013 9:36 am

Holy Graily Bob's Candle Power

Post by szfxtrader »

SteveHopwood » Tue Sep 12, 2017 10:42 am wrote:Coenraad has just pm'd with a bloop spot. I have added the fix to V1.

DIYers, line 1370@
if (price <= LowestSellLimitPrice)

should be:
if (price <= LowestSellPrice)

That is me not taking enough notice of Auto-complete. :arrrg:

Thanks Coenraad. Nice spot. :clap: :clap: :clap:

:xm:
Thank you very much!
thomasmore
Trader
Posts: 275
Joined: Tue Nov 15, 2011 10:35 pm
Location: Knokke, Belgium

Holy Graily Bob's Candle Power

Post by thomasmore »

SteveHopwood » 12 Sep 2017, 12:42 wrote:Coenraad has just pm'd with a bloop spot. I have added the fix to V1.

DIYers, line 1370@
if (price <= LowestSellLimitPrice)

should be:
if (price <= LowestSellPrice)

That is me not taking enough notice of Auto-complete. :arrrg:

Thanks Coenraad. Nice spot. :clap: :clap: :clap:

:xm:
You do not have the required permissions to view the files attached to this post.
szfxtrader
Trader
Posts: 377
Joined: Sun Feb 10, 2013 9:36 am

Holy Graily Bob's Candle Power

Post by szfxtrader »

Hi Steve,

Did you notice that the EA is opening many trades near each other without respect the MinDistanceBetweenTradesPips = 20? Thank you in advance for your support and reply!
Yannis
Trader
Posts: 56
Joined: Tue May 22, 2012 7:42 am

Holy Graily Bob's Candle Power

Post by Yannis »

Just a heads up for people not using GP as a broker (I haven't seen any relevant message from other traders and since most are using GP as their broker, I assume GP doesn't have the limitation I describe below)

I started a couple of new tests last Tuesday, setting up 26 pairs with Tickmill UK.
Since yesterday, the EA triggers non-stop error 148 which translates to "amount of open and pending orders has reached the limit" and is obviously unable to place any new order which messes up everything.

The current total of open orders is 160, I assume is that specific broker's limit allowed.

I don't know if and how that issue could be tackled by the EA, or if it is by far time to change broker...

Edit: Testing on 6 GBP pairs hasn't trigger that error so far, it is hoovering around a total of 50 positions currently opened for the all 6 pairs
You do not have the required permissions to view the files attached to this post.
szfxtrader
Trader
Posts: 377
Joined: Sun Feb 10, 2013 9:36 am

Holy Graily Bob's Candle Power

Post by szfxtrader »

Hi Steve,

I don't know if it will make any difference, by default, the EA is set as EveryTickMode = false, but the ReadIndicatorValues() may not be in the right place according to your code comments*


* Line 3767: ReadIndicatorValues();//This might want moving to the trading section at the end of this function if EveryTickMode = false
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 »

szfxtrader » Thu Sep 14, 2017 9:32 am wrote:Hi Steve,

I don't know if it will make any difference, by default, the EA is set as EveryTickMode = false, but the ReadIndicatorValues() may not be in the right place according to your code comments*
ReadIndicatorValues() needs to be where it is for the HGI closure routines to work as intended.

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

I thought I'd give this a go with a twist to attempt to control the number of open positions. I added a 200pip emergency SL and a 2pip BE and JS.

Here are results for last 24hours on two pairs GJ and EU.
You do not have the required permissions to view the files attached to this post.
szfxtrader
Trader
Posts: 377
Joined: Sun Feb 10, 2013 9:36 am

Holy Graily Bob's Candle Power

Post by szfxtrader »

SteveHopwood » Thu Sep 14, 2017 12:30 pm wrote: ReadIndicatorValues() needs to be where it is for the HGI closure routines to work as intended.

:xm:
Thank you for the clarification.
Post Reply

Return to “Thingy Bob EA's”