HGIMatrix

The title says it all
Post Reply
User avatar
cfudge
Trader
Posts: 37
Joined: Wed May 01, 2013 4:59 pm
Location: Kamloops, B.C. Canada

HGIMatrix

Post by cfudge »

So I think I understand what Rene is saying and it is what I am experiencing...I have been watching the matrix and I see flashes of red indicating an update but when I cross reference back to each chart it does not match up.
I first switched TFs on the chart I am running just the matrix on ( I opened a EURUSD chart and put the matrix there with a line chart turned black so the matrix is the only thing on the screen) and then I still had to go and change TFs on each chart before they synced up.

EDIT; I just realised that I have isiCustom set to false if that makes any difference
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

HGIMatrix

Post by milanese »

renexxxx » Thu Dec 18, 2014 5:35 am wrote:
milanese » Thu Dec 18, 2014 8:30 am wrote: the iCustom call should update everytime you call, I see here no potential problem in the code.., is it happening with all version or only with the 15.xx or 14.xx?

Cheers :)

Tommaso
Thank you Tomasso to check your code for the iCustom calls.

I really don't know if the problem only occurs with 15.xx, or also with 14.xx. In fact, I haven't witnessed the problem occurring myself yet (but I only use 14.05) As you know, one of the hardest problems to debug are those that only occur seldom and intermittently. That doesn't mean that I will give up on this one, though.

What I do know is this: HGIMatrix loads the various HGI indicators once (for each symbol/timeframe combination ). This is reported in the 'Journal' tab. After a while (we don't know how long), some (we don't know which and why) symbols are getting the wrong signals. This problem is resolved by switching timeframes (i.e. re-initializing HGIMatrix). Re-initializing HGIMatrix means reloading the HGI indicators. So, the 'old' HGI memory pointer is producing wrong signals, but a new one gives the right signals. This could just be due to some memory leaks or corruption (i.e. Empty4), something you or me can not do anything about. As an aside, Empty4 used to load the required indicator for every iCustom call -- nowadays in the later versions, memory is cached so that it doesn't have to reload it again. Probably reloading the indicator for every iCustom call was better (but slower).

Let me know if you have any other ideas.
I would not every call do a reload, but after some time at exp every new candle or every second candle, because imo it is something that is caused by how Empty4 handles the memeory....

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

HGIMatrix

Post by renexxxx »

Tommaso, Al and cfudge,

To my knowledge there is no such thing in MQL as a 'forced' reload of the iCustom indicator. In other words, there is no way to forcibly unload the cached indicator (which would force Empty4 to reload and re-initialize) the indicator. Once the iCustom calls have been made one time, the HGI indicator is loaded and cached. Only manually changing time frames (or changing a parameter) will unload/reload them.

Let me know if you know otherwise.
User avatar
alorente
Trader
Posts: 358
Joined: Sat Aug 25, 2012 8:47 am

HGIMatrix

Post by alorente »

renexxxx » Thu Dec 18, 2014 9:13 am wrote:Tommaso, Al and cfudge,

To my knowledge there is no such thing in MQL as a 'forced' reload of the iCustom indicator. In other words, there is no way to forcibly unload the cached indicator (which would force Empty4 to reload and re-initialize) the indicator. Once the iCustom calls have been made one time, the HGI indicator is loaded and cached. Only manually changing time frames (or changing a parameter) will unload/reload them.

Let me know if you know otherwise.
Hello Rene. I have tried to send you a PM with the results of the test but it is stuck in the Outbox and not going out, so I´ll publish it here for you:

Sorry Rene. I put it next to the 15.04 I had before and the new one is much worse. It even makes up symbols that aren´t in the chart. The 15.04 doesn´t update all pairs, but when it does, it does it correctly. The new one updates incorrectly many times.

I will continue to monitor, but I have little hope of it working...

Here is a picture of both side to side. There are errors in arrows and wavies.
You do not have the required permissions to view the files attached to this post.
Observation is the path to discovery.
drunka
Trader
Posts: 86
Joined: Thu Dec 11, 2014 8:05 pm

HGIMatrix

Post by drunka »

alorente » Thu Dec 18, 2014 5:38 pm wrote:
renexxxx » Thu Dec 18, 2014 9:13 am wrote:Tommaso, Al and cfudge,

To my knowledge there is no such thing in MQL as a 'forced' reload of the iCustom indicator. In other words, there is no way to forcibly unload the cached indicator (which would force Empty4 to reload and re-initialize) the indicator. Once the iCustom calls have been made one time, the HGI indicator is loaded and cached. Only manually changing time frames (or changing a parameter) will unload/reload them.

Let me know if you know otherwise.
Hello Rene. I have tried to send you a PM with the results of the test but it is stuck in the Outbox and not going out, so I´ll publish it here for you:

Sorry Rene. I put it next to the 15.04 I had before and the new one is much worse. It even makes up symbols that aren´t in the chart. The 15.04 doesn´t update all pairs, but when it does, it does it correctly. The new one updates incorrectly many times.

I will continue to monitor, but I have little hope of it working...

Here is a picture of both side to side. There are errors in arrows and wavies.
Sherlock Holmes raises the question: Are you sure you were allready on that said chart, changed nothing and then a symbol appeared on HGIMatrix but not on the Chart?

I ask because I had the feeling that I experienced the same phenomenon but I'm not sure if I might hae refreshed the chart and something like this happend?
- symbol appeared on the chart in HGIMatrix
- refreshed chart by changeing timeframe
- symbol disappeared from the chart but HGIMatrix did not refresh as fast as the chart
- got the feeling HGIMatrix shows symbols which are not there (again I can't really confirm this)

I just watched the M1 TF for some time and to me it seems like it's a problem with repainting symbols on the chart and HGIMatrix lagging behind it and not refreshing fast enough to the new circumstances. But I also saw cases where the chart drawings where lagging behind HGIMatrix. :geek:

Rene, when it comes to coding I am like :uff: but if you need help with testing just tell :)
User avatar
nanningbob
Trader
Posts: 4564
Joined: Sun Dec 04, 2011 1:23 pm

HGIMatrix

Post by nanningbob »

Matrix has made pg1 post 1. You should get some visits. Does 15.06 help?
I trade http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3964,
I talk about my philosophy of trading here.
http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3627
"The key to converting something useful to others is simplicity. Complexity is the enemy to execution." Tony Robbins
User avatar
alorente
Trader
Posts: 358
Joined: Sat Aug 25, 2012 8:47 am

HGIMatrix

Post by alorente »

nanningbob » Fri Dec 19, 2014 12:08 pm wrote:Matrix has made pg1 post 1. You should get some visits. Does 15.06 help?
Bob, I am still testing it with 15.06 but as far as I can tell, it is updating beautifully now that it doesn´t have to deal with the repainting issue. I am beginning to trust it again. What a weapon...
:!!:
Observation is the path to discovery.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

HGIMatrix

Post by renexxxx »

nanningbob » Fri Dec 19, 2014 9:08 pm wrote:Matrix has made pg1 post 1. You should get some visits. Does 15.06 help?
Awesome Bob!

At the moment I am working with Tommaso on a hgi-library that would allow us to remove the iCustom calls altogether.

Just uploaded a minor update to HGIMatrixMTF in post 1.

Thanks for your blessings!

Rene.
sudhindragk
Trader
Posts: 45
Joined: Sat Nov 23, 2013 5:31 pm

HGIMatrix

Post by sudhindragk »

Hi guys,#

Thanks for the awesome updates. Just a query ...might be stupid one...why is the H1 not coming on screen. It shows 15m and h4 tf.

Regards
Sudhindra
User avatar
alorente
Trader
Posts: 358
Joined: Sat Aug 25, 2012 8:47 am

HGIMatrix

Post by alorente »

sudhindragk » Fri Dec 19, 2014 1:10 pm wrote:Hi guys,#

Thanks for the awesome updates. Just a query ...might be stupid one...why is the H1 not coming on screen. It shows 15m and h4 tf.

Regards
Sudhindra
Write 15,60,240 in the input.
Observation is the path to discovery.
Post Reply

Return to “Indicators and matrixes”