Hello world
I recently discovered this wonderful forum and the plethora of useful indi's and EA's on offer for free here. Truly amazing stuff !
And on top of that the SHF-community seems to consist solely of intelligent, non-altruistic traders. I am grateful that I found this place.
I read HGI-basics, a good portion of HGI and all of this thread (as well as pages and pages of other ineresting topics like Baluda CSS, the 10.x series et al.) Obviously, I have thoroughly read (studied even) the mauals of the tools I currently use.
As a result I can wrap my head around most of the HGI and HGB-mechanics, so I started demo-testing on an FXCM-account 2 weeks ago
(I know, bad ciriminal, I also read about GP, and seriously consider swapping out my current criminal for Global Prime)
Questions do still arise however, and re-reading the manual, searching this forum and inspecting the code have failed to provide for an answer, so I turn to the good people of SHF for a gentle push in the right direction. My flaming-shields are up, just in case
I noticed this behaviour on USDCAD earlier today (but also a couple of times last week, on different pairs)
17_04_2017_12-18-23.png
I tried to retrace the sequence of events. This is what I believe happened:
º a blue wavy line appeared below the candle at 0828 GMT+2. Price was around 1.33045 then.
º HGB placed multiple pending buy orders, the first (lowest) one at 1.33400 with SL and TP 300
º the second one at 1.33600 with SL and TP both 300
º the 1.33800 did not get placed
º neither did the 1.34000 (but this seems logical, since I have 'TrendWaveMiss100' set to true)
º the next pending trade placed was at 1.34200, and then at 1.34400 and so on
I have 2 questions:
º What could have happened to the 1.33800 ?? Is it too close to the 1.34000 to be placed ?? If so, what setting makes this so ??
º Why is the first buy order only placed at 1.33400, although price was at 1.33045 ?? Why does HGB decide to 'skip' or 'miss' the first 400 pips ?
Could these lines be the cause ??
Code: Select all
if (CloseEnough(price, PriceCeiling100) )
if (TrendMultiMiss100)
price = NormalizeDouble(price + (20 / factor), Digits);
Is there something wrong with the digits being used
(as you can see in the screenshot, this criminal uses 5 for USDCAD). Or with the value of 'factor' perhaps ?? I see a reference to 'factor' in line 569 in the code, referring to line 846, which in turn points to a function starting on line 5853. I suspect that is the code that figures out the number of digits (and thus the size of a pip) and deem it possible a wrong result is being used.
For the sake of completeness I also add a screen of HGB's Trend trading settings. Notice I had to divide the TP and SL values by 10 to get them where they are now (I would otherwise be stopped out way too late, or never reach TP)
17_04_2017_13-36-18.png
I am probably missing something obvious here, but can't seem to figure out what.
Thanks in advance for helping a fresh HGB-fan out !

You do not have the required permissions to view the files attached to this post.