stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Holy Graily Bob's Candle Power
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5272
Page 2 of 36
Author:  wallywonka [ Tue Sep 12, 2017 9:37 am ]
Post subject:  Holy Graily Bob's Candle Power

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.
Author:  SteveHopwood [ Tue Sep 12, 2017 10:42 am ]
Post subject:  Holy Graily Bob's Candle Power

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:
Author:  szfxtrader [ Wed Sep 13, 2017 8:06 am ]
Post subject:  Holy Graily Bob's Candle Power

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!
Author:  thomasmore [ Wed Sep 13, 2017 3:02 pm ]
Post subject:  Holy Graily Bob's Candle Power

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:
Author:  szfxtrader [ Wed Sep 13, 2017 10:00 pm ]
Post subject:  Holy Graily Bob's Candle Power

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!
Author:  Yannis [ Thu Sep 14, 2017 6:21 am ]
Post subject:  Holy Graily Bob's Candle Power

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
Author:  szfxtrader [ Thu Sep 14, 2017 9:32 am ]
Post subject:  Holy Graily Bob's Candle Power

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
Author:  SteveHopwood [ Thu Sep 14, 2017 12:30 pm ]
Post subject:  Holy Graily Bob's Candle Power

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:
Author:  TraderJoeForex [ Thu Sep 14, 2017 8:47 pm ]
Post subject:  Holy Graily Bob's Candle Power

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.
Author:  szfxtrader [ Thu Sep 14, 2017 8:51 pm ]
Post subject:  Holy Graily Bob's Candle Power

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.
All times are UTC Page 2 of 36