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

Holy Graily Bob Basics - ask your questions here.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3979
Page 45 of 72
Author:  SteveHopwood [ Tue Mar 17, 2015 9:44 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

hepsibah » Tue Mar 17, 2015 8:34 pm wrote:I am trying to utilise hedging in HGB but am not able to get both long and short trades open at the same time.

I have:

BrokerAllowsHedging = true
TradeLong = true
TradeShort = true
CloseOnOppositeSignal = false

I am using only Trend and RAD signals and, if a buy Trend trade is already open it seems to ignore subsequent sell signals and vice versa - similarly for RAD signals.

I wondered if the fact that you can have only one main signal of each type open means it is not possible to have both a Trend buy and sell open simultaneaously and/or a buy and sell RAD open?

If anyone has this working ok and can point me in the right direction, I'll be most grateful.
(I am in the UK and my broker allows manual opening of simultaneous buy and sell trades).

Thanks
That is a mea culpa. Sorry.

I create all my EA's from shells that save me a lot of typing and ensure that the code is robust - it worked for 5 years previously so it works now, kind of thing. It also allows me to be confidently rude to people who question it - something I always enjoy.

The problem with doing this is that some redundant code gets left behind if I forget to delete/hide it. This is why you have come across BrokerAllowsHedging - it should be hidden from your view because there is no hedging allowed by HGB. This input will be hidden in future releases.

So, to confirm: this input should have been hidden from your view; it has no effect on HGB; HGB has no hedging features.

:xm:
Author:  SteveHopwood [ Tue Mar 17, 2015 10:00 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

hepsibah » Tue Mar 17, 2015 8:34 pm wrote:I am trying to utilise hedging in HGB but am not able to get both long and short trades open at the same time.

I have:

BrokerAllowsHedging = true
TradeLong = true
TradeShort = true
CloseOnOppositeSignal = false

I am using only Trend and RAD signals and, if a buy Trend trade is already open it seems to ignore subsequent sell signals and vice versa - similarly for RAD signals.

I wondered if the fact that you can have only one main signal of each type open means it is not possible to have both a Trend buy and sell open simultaneaously and/or a buy and sell RAD open?

If anyone has this working ok and can point me in the right direction, I'll be most grateful.
(I am in the UK and my broker allows manual opening of simultaneous buy and sell trades).

Thanks
I should say that you are the first person in umpteen thousand to have tried this bot to have both noticed and brought it up.

Congrats on a useful post. :clap:

:xm:
Author:  hepsibah [ Wed Mar 18, 2015 5:25 am ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

SteveHopwood » Tue Mar 17, 2015 10:00 pm wrote: I should say that you are the first person in umpteen thousand to have tried this bot to have both noticed and brought it up.

Congrats on a useful post. :clap:

:xm:
Many thanks for the speedy response - and for not flaming me :shock:

I am loving your forum, the attitude of the subscribers is refreshing and the quality of the contributions is awesome.
Author:  grasshopper [ Wed Mar 18, 2015 6:22 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

I get invalid trade volume error and is seems to be isolated to eur/usd?
Otherwise the pips are piling up in our favor.
Author:  buzznack [ Fri Mar 20, 2015 2:34 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Hi,

My computer has slowed to a crawl since installing HGB. It was fine to start with with rapid opening of charts etc but now its almost at a standstill taking up to two minutes to flick between charts.
Its a new computer with 4gb of ram and a 2.4 ghz processor. Anyone else experiencing this problem and how do i overcome it. Just looked at my task manager and my platform is taking 72% of my CPU capacity.

Andy
Author:  milanese [ Fri Mar 20, 2015 2:42 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

buzznack » Fri Mar 20, 2015 2:34 pm wrote:Hi,

My computer has slowed to a crawl since installing HGB. It was fine to start with with rapid opening of charts etc but now its almost at a standstill taking up to two minutes to flick between charts.
Its a new computer with 4gb of ram and a 2.4 ghz processor. Anyone else experiencing this problem and how do i overcome it. Just looked at my task manager and my platform is taking 72% of my CPU capacity.

Andy
try to set HgiReadDelaySeconds to 300 or 600 and use less pairs... at exp only the majors..

Cheers :)

Tommaso
Author:  buzznack [ Fri Mar 20, 2015 2:48 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Thanks Tommaso that´s improved it no end.

Regards

Andy
Author:  barry [ Sat Mar 21, 2015 2:36 am ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

buzznack » Sat Mar 21, 2015 1:04 am wrote: My computer has slowed to a crawl since installing HGB. It was fine to start with with rapid opening of charts etc but now its almost at a standstill taking up to two minutes to flick between charts.
Its a new computer with 4gb of ram and a 2.4 ghz processor. Anyone else experiencing this problem and how do i overcome it. Just looked at my task manager and my platform is taking 72% of my CPU capacity.

Andy
Andy, in Task Manager, you can click the headers to rank the processes. When you do that, you can see which are the CPU hogs. For me, it was a malfunctioning OneDriveSynch, and Microsoft has a free download to fix that, which worked for me.
Author:  JohnnyAmpere [ Sat Mar 21, 2015 1:22 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

For the past days I've been trying to figure something out. I've noticed while I was testing HGB and now with HGB-Piproid on my Empty4 platform that (almost) exactly the same pending orders were sent out for a signal generated by HGI.
wave.png


I've been reading through the user guide to figure out how to avoid this and I managed doing that by setting PostTradeAttemptWaitSeconds to 14400 for trading on 4H charts and to 3600 for trading on 1H charts. It did not open multiple pending orders for the same signal anymore, but I've got a feeling that this isn't the way how it's supposed to be done and that I'm messing with a setting which I shouldn't.

Is there a correct way solve this? I know I am missing something but I can't figure it out. :arrrg:
Author:  buzznack [ Mon Mar 23, 2015 3:50 pm ]
Post subject:  Holy Graily Bob Basics - ask your questions here.

Hi,
I´ve noticed that the new version of HGB/pip that the pending orders seem to be along way off the current price. For example NZ/jpy the order was placed at 00.10 at 90.93 but the pending order was a buy at 92.40 .
Seems to be a long way off can the setting be adjusted?

Many thanks

Andy
All times are UTC Page 45 of 72