Technical problems running HGB'nG? Post here.

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
User avatar
patmontes
Trader
Posts: 367
Joined: Wed Apr 23, 2014 10:42 pm

Technical problems running HGB'nG? Post here.

Post by patmontes »

Hi Guys
I experienced this just a few minutes ago on EJ.
The pips was negative but hedge closed by yellow wavy on top. Replacement grids were sent but got deleted right after. Version 2d default set and only magic was changed.
You do not have the required permissions to view the files attached to this post.
Peepaws
Trader
Posts: 121
Joined: Thu Nov 27, 2014 11:19 pm

Technical problems running HGB'nG? Post here.

Post by Peepaws »

k3v1n0s » Mon Mar 07, 2016 5:46 pm wrote:Hi guys,

krzysiekqq2 : There is indeed a 3 level low semafor signal on the chart, but your group of sell trades is 7 pips in the hole (-7), and under "3 level semafor inputs" you have "CloseOnlyInPositivePips" enabled, so HGB'nG isn't supposed to close your trades. But if you turn positive, your trades will then be closed.

peepaws : "CloseTradesOnRelevantSemafor" waits for the close of the candle in order to close trades, and that if the 3 level semafor signal is still valid. "CloseImmediatelySemaforAppears" closes them as soon as the signal emerges, as long as the other conditions are also met ("CloseOnlyInPositivePips" etc.).

Cheers,

Kevin

Ahh thanks for setting me straight there Kevin, I didn't realize those 2 setting were independant of each other!

:arrrg: :arrrg: :youknow:
User avatar
krzysiekqq2
Trader
Posts: 69
Joined: Sun Oct 11, 2015 11:59 am
Location: Gdynia, town at Baltic sea cost

Technical problems running HGB'nG? Post here.

Post by krzysiekqq2 »

Hmmmmmm. Having written that "This is not a huge problem here because the code is fairly new" it has shown itself to be robust today. Maybe you are doing something wrong?

Feel free to ask out your settings here. Perhaps just be a tad on the careful side when suggesting the code is wrong?
Steve, there was null% intention in my message that there is something wrong with code. If you got such perception I appologize. I always check first, if all is correct from my side.
Cheers,
k3v1n0s
Trader
Posts: 27
Joined: Mon Jan 13, 2014 8:50 pm
Location: Luxembourg

Technical problems running HGB'nG? Post here.

Post by k3v1n0s »

patmontes » 08 Mar 2016, 03:08 wrote:Hi Guys
I experienced this just a few minutes ago on EJ.
The pips was negative but hedge closed by yellow wavy on top. Replacement grids were sent but got deleted right after. Version 2d default set and only magic was changed.
Hi pat,

Did you really have a hedged position on EJ? Graphically it seems to me as if only one buy stop had been triggered and closed out. Can you check?

"CloseProfitableSideOnYellowWavy" only applies to a hedged position.

HGB'nG has also an option "CloseOnYellowWaveRange" which closes out unhedged trades, regardless of whether they are in profit or not.

I am ok with that option, and also turned "CloseOnOppositeSignal" on (which will do the same when unhedged), because those signals are shwoing that the initial trade idea has been unvalidated by the market and it is better to take a loss (or a profit) on that.

Fyi. When hedged, "CloseOnOppositeSignal" will close out the opposite side trades of the signal and install a fresh grid in that direction. If the market heads back into that direction, our positions become hedged again.

Cheers,

Kevin
User avatar
patmontes
Trader
Posts: 367
Joined: Wed Apr 23, 2014 10:42 pm

Technical problems running HGB'nG? Post here.

Post by patmontes »

Thank you Kevin

I had a buy at 125 and a sell at 124.44
Both closed 124.26 approx.

Thanks for the explanation. I did not change the setting from the ones you mentioned and was enabled
Last edited by patmontes on Tue Mar 08, 2016 1:41 pm, edited 1 time in total.
k3v1n0s
Trader
Posts: 27
Joined: Mon Jan 13, 2014 8:50 pm
Location: Luxembourg

Technical problems running HGB'nG? Post here.

Post by k3v1n0s »

patmontes » 08 Mar 2016, 13:38 wrote:Thank you Kevin
I had a buy at 125 and a sell at 124.17
Both closed 124.26 approx.
Thanks for the exclamation. I did not change the setting from the ones you mentioned and was enabled
Pat,

Although a lot has already been fixed, there still could be some flaws in the program logic. I might have figured out why HGB'nG behaved like that. I'll have a look at the code this afternoon, and Steve will have the final word if there are changes to be made. ;)

Cheers,

Kevin
User avatar
patmontes
Trader
Posts: 367
Joined: Wed Apr 23, 2014 10:42 pm

Technical problems running HGB'nG? Post here.

Post by patmontes »

Cheers Kevin :hi:
You've made a very good impact on HGBnG... Thank you very much!!! :hi:

Wow there are new options in the settings :!!:
User avatar
tonyharmony
Trader
Posts: 148
Joined: Sat Dec 20, 2014 10:54 pm
Location: Ipswich, Queensland Australia

Technical problems running HGB'nG? Post here.

Post by tonyharmony »

Just a quick couple of questions.

Has anyone noticed on their GP account firstly, IsGlobalPrimeOrECNCriminal=false it is true on the charts when loaded. I also have accounts with Axitrader and Think Forex, that don't have this issue?

Second, for some reason when HGB'nG placed pendings on NZDUSD there were no take profits placed, yet on the rest it was fine...

What I did when I downloaded HGB'nG V2h, I set the code how I like it, then apply it to all 3 Brokerage accounts, and only GP had this problem!

It doesn't make any sense to me. Also, they are all demo accounts, so I have to get clarity before I go live.

I thought I'd ask here first, before I contact GP...

Thanks in advance

Tony
One can't learn from one's success, but one can learn an enormous amount from one's failures! Determination to succeed is the only goal....
vsmakkal
Trader
Posts: 56
Joined: Tue Sep 23, 2014 12:50 am

Technical problems running HGB'nG? Post here.

Post by vsmakkal »

Hi Tony, I believe it autodetects GP.. despite what u set it.

From user guide: IsGlobalPrimeOrECNCriminal: set this to true if your criminal insists on twostage
order-sending. This is irrelevant if you do not use StopLoss and
TakeProfit. Remember that Cowboy Cowboy IBFX are ECN even though they do their best to hide
this fact and stop all their 'valued clients' actually sending any trades; the EA has
code to detect Cowboy Cowboy IBFX as the crim and set this input accordingly. It will also detect
Global Prime accounts.

Not sure about the TP on NZUSD pair.. someone more well versed than me is need here.. cheers,

Sara
User avatar
retireme
Trader
Posts: 131
Joined: Fri May 11, 2012 6:37 am

Technical problems running HGB'nG? Post here.

Post by retireme »

Hi Tony,

You might also check the EA log to see if there was any errors for NU invalid stops.

Rgds
RM
To raise new questions, new possibilities, to regard old problems from a new angle, requires creative imagination and marks real advance in science. - Albert Einstein
Post Reply

Return to “Thingy Bob EA's”