HGI XtraTF Display

Includes an archive of all previous Bob stuff
User avatar
gprince66
Trader
Posts: 73
Joined: Tue Jan 12, 2016 7:15 am
Location: Austin, TX USA

HGI XtraTF Display

Post by gprince66 »

Here's a little indicator that will display HGI signals for any time frame. The settings allow you to choose your wingding style and size, this helps differentiate the different TF signals for multiple HGI indis on same chart.

Hers's a link for the wingding codes:
https://docs.mql4.com/constants/objectc ... /wingdings

The image below shows HGI on H4 TF (regular style) and HGI_XTF is set to D1 (hollow style).

I'm not sure if the alerts are set up correctly, will test next week. Any input/suggestions are welcome.

Thanks and enjoy.

Gary

almost forgot, you need to put hgi_lib.mqh in 'Include' folder and hgi_lib.ex4 in 'Libraries' folder.
Screenshot (41).png
.
You do not have the required permissions to view the files attached to this post.
User avatar
Wavegarrick
Trader
Posts: 1172
Joined: Sun Dec 30, 2012 11:21 am
Location: South Africa

HGI XtraTF Display

Post by Wavegarrick »

Hi Gary,

This is going to be most helpful. :good:

Thank you.

Cheers
Leon
User avatar
Wavegarrick
Trader
Posts: 1172
Joined: Sun Dec 30, 2012 11:21 am
Location: South Africa

HGI XtraTF Display

Post by Wavegarrick »

Hi Guys,

For the newer users, here is the hgi_lib.mqh file from Rene's Hgi matrix which must go into your include folder:
hgi_lib.mqh
The hgi_lib.ex4 file which must go into the library folder is on Pg 1 of the Hgi thread.
Sorry for taking the liberty Gary. I know you will get questions regarding this.

Cheers
Leon
You do not have the required permissions to view the files attached to this post.
User avatar
gprince66
Trader
Posts: 73
Joined: Tue Jan 12, 2016 7:15 am
Location: Austin, TX USA

HGI XtraTF Display

Post by gprince66 »

Thanks Leon, much appreciated! :good:
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

HGI XtraTF Display

Post by traderduke »

Gary
Thank you, it will give us an interesting HGI prospective on one chart.

Ray
User avatar
gprince66
Trader
Posts: 73
Joined: Tue Jan 12, 2016 7:15 am
Location: Austin, TX USA

HGI XtraTF Display

Post by gprince66 »

Thanks Ray,

The idea for this indi came to me in a dream... guess who needs a new hobby :smile:

Gary
User avatar
rapple
Trader
Posts: 277
Joined: Fri Feb 21, 2014 10:56 pm
Location: Sydney, Australia

HGI XtraTF Display

Post by rapple »

Nice work Gary

I will give it a go :good:
User avatar
traderduke
Trader
Posts: 306
Joined: Mon Nov 28, 2011 7:30 pm
Location: East Coast USA

HGI XtraTF Display

Post by traderduke »

Gary
This is a very useful tool for reaffirming the many hits the HGI OF THE CHART Frame may give. I use the HGImatrix and one of the indicators I find useful is a Next TF automatic adjustment.
Is there any chance you could incorporate that into the HGI_XTF. Then each Chart TF could automatically show the Higher TF.
I know we could load 5 XTFs on the matrix templet, my present templet, but I thought this option would sever better us in a lot of ways.
I have attached the indicator with the option which also allows the higher TF to jump more than 1 TF. When I use a15M chart, I use H1.

Thank you very much for all you contribute to this forum
Ray

PS: I was looking into requesting the NextTF for the Baulda SuperSlope, any thoughts?
RK-FX Sniper's Ergodic CCI Trigger-AL-next TF-v2.5.mq4
You do not have the required permissions to view the files attached to this post.
User avatar
gprince66
Trader
Posts: 73
Joined: Tue Jan 12, 2016 7:15 am
Location: Austin, TX USA

HGI XtraTF Display

Post by gprince66 »

Ray,

Baluda.SuperSlope:
the indi has an extern variable 'autoTimeFrame'...
set this to true and the indi will auto display the next higher TF

EDIT: the autoTimeFrame in Baluda.SuperSlope refers to the TF in column two, my mistake.


HGI_XTF:
add a block of 'if' statements at the end of 'OnInit()' just above 'return(INIT_SUCCEEDED);'

Code: Select all

if( _Period == PERIOD_M1 ) userTimeFrame = PERIOD_M5; 
else if( _Period == PERIOD_M5 )  userTimeFrame = PERIOD_M15;
else if( _Period == PERIOD_M15 ) userTimeFrame = PERIOD_M30;
...
...
...

Hope this helps. :good:
User avatar
gprince66
Trader
Posts: 73
Joined: Tue Jan 12, 2016 7:15 am
Location: Austin, TX USA

HGI XtraTF Display

Post by gprince66 »

Here's a new version with 'autoHigherTF' . I also noticed the signals were getting eaten up by candles so I added a function to redraw/adjust bar 1 signal spacing. I also added a signal line so we can see what price level the signal occurred.

Keep the suggestions coming.

Gary

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

Return to “Nanningbob's Holy Grail Indicator forum”