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

Wavegarrick's HGI Trading
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5514
Page 49 of 67
Author:  Ehrenmat [ Tue Apr 07, 2020 4:40 pm ]
Post subject:  Wavegarrick's HGI Trading

Wavegarrick » Today, 16:06 wrote:
geojalencar » Tue Apr 07, 2020 11:02 am wrote:Hello good people.

How can I turn off the solar wind alert in the UBD indi?

:)
Hi J.Alencar,

Yes those alerts are quite annoying. Even if you have alerts set to false and re compile the solar winds indicator, the alerts still come up. Something I did try was to delete or comment out line 132 to 151 in the code. It compiles with 3 errors, but the indi still seems to work and don't give you anymore alerts. Have not tested it over a period though to establish if it is a fix or not. Perhaps some coder will be able to help.

Cheers
Leon.
Hey Leon & Co,

here is a version with alerts turned off by default. I only changed the extern bool DoAlerts in line 17 to false. I didn't change the name of it to not interfere with Leon's UBD setup.
Solar Winds joy.mq4
@ Steve: I hope you haven't fixed it already and had no unnescessary work :oops:

Cheers,

Mat

:hi:
Author:  geojalencar [ Tue Apr 07, 2020 5:17 pm ]
Post subject:  Wavegarrick's HGI Trading

Thank you very much and Take care of yourself in these difficult times.
Author:  Wavegarrick [ Tue Apr 07, 2020 5:37 pm ]
Post subject:  Wavegarrick's HGI Trading

Many thanks Steve for helping,

The indicator:
Solar Winds joy.mq4
Screenshot_467.png
With my limited coding knowledge I suspect that the above lines of code could be the cause of the continuous alerts. Crumbs hope so :mrgreen:

Thanks again
Leon
Author:  Wavegarrick [ Tue Apr 07, 2020 5:42 pm ]
Post subject:  Wavegarrick's HGI Trading

You are fast Mat. :) Thanks, however even if you set line 17 to false it still gives continuous alerts.

Cheers
Leon.
Author:  SteveHopwood [ Tue Apr 07, 2020 5:46 pm ]
Post subject:  Wavegarrick's HGI Trading

Ehrenmat » Tue Apr 07, 2020 4:40 pm wrote:
Hey Leon & Co,

here is a version with alerts turned off by default. I only changed the extern bool DoAlerts in line 17 to false. I didn't change the name of it to not interfere with Leon's UBD setup.



@ Steve: I hope you haven't fixed it already and had no unnecessary work :oops:

Cheers,

Mat

:hi:
No I hadn't. You got in first. Thanks for that.

I would probably have spent 10 hours trawling through code I do not understand, instead of taking your simple route. You saved me a lot of pain. :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

:xm: :rocket:
Author:  Ehrenmat [ Tue Apr 07, 2020 6:08 pm ]
Post subject:  Wavegarrick's HGI Trading

Wavegarrick » 21 minutes ago wrote:You are fast Mat. :) Thanks, however even if you set line 17 to false it still gives continuous alerts.

Cheers
Leon.
Hey Leon,

I have tried the version at my end and there weren't any alerts anymore after editing line 17.

Please delete the old compiled .ex4 file of the Solar Winds joy indicator and restart Empty4 with the new .mq4 file placed in the Indicators folder, I uploaded. Alternatively, you can do a right click in the indicators section in Empty4 and choose refresh instead of restarting the program. Both actions lead to a recompilation of all mq4 files that have no corresponding ex4 file. The problem here is, that Empty4 doesn't recompile a .mq4 file if there already exists a corresponding .ex4 file...

@ Steve: I was only able to solve the issue that fast since the alerts annoyed me and I had already turned them off that way two days ago. I just didn't know that all the others at SHF were upset by it, too :D

Cheers,

Mat

:hi:
Author:  Wavegarrick [ Tue Apr 07, 2020 6:39 pm ]
Post subject:  Wavegarrick's HGI Trading

Hi Mat,

I must thank you. A dumb oversight on my part. :arrrg: This is why I value Guys like you Steve, Thomas and the likes here.

Many thanks.
Cheers
Leon
Author:  Gitarrain [ Sat Apr 11, 2020 8:34 am ]
Post subject:  Wavegarrick's HGI Trading

Wavegarrick » Tue Apr 07, 2020 8:27 am wrote:Hi Gitarrain,

I use Hgi_v16.09, nevertheless it should make no difference. I get no pop up alerts. The only reason I can think of is that you have Hgi running on open charts and you haven't disabled or set your alerts to false.

Cheers,
Leon
Hi Leon,

I donot let HGI running on open charts, all alerts come from the USD setting. Pls see the pictures as below, I think it need to turn off HGI alert in .mqh file before loding USD set., but there is only .ex4 file for HGI.

Cheers,
Gitarrain
Author:  Wavegarrick [ Sat Apr 11, 2020 11:39 am ]
Post subject:  Wavegarrick's HGI Trading

tomele » Sun Sep 15, 2019 4:37 pm wrote:Hi @all.

Fantastic, Matthias.

:yahoo: :yahoo: :yahoo:

But we can achieve this much easier. USD has a built-in HGI (using the HGI library). We need to simply change the settings to what we want here. The signals are also the same.

This will be much faster and have a smaller CPU footprint than calling the MTF TD indicator each time.

Cheers
Thomas

.
Hi Gitarrain,
I had some time to investigate your problem. Look at Thomas's post above. "USD has a built-in HGI (using the HGI library)". Therefore look at your Usd indicator_ name setting. You have it as HGI_v17.00. This is wrong. Your setting is reading from the indicator and not the library. You must type in "HGI" only. I am sure this will solve your problem.

Cheers
Leon.
Author:  Gitarrain [ Sat Apr 11, 2020 7:45 pm ]
Post subject:  Wavegarrick's HGI Trading

Wavegarrick » Sat Apr 11, 2020 11:39 am wrote:
tomele » Sun Sep 15, 2019 4:37 pm wrote:Hi @all.

Fantastic, Matthias.

:yahoo: :yahoo: :yahoo:

But we can achieve this much easier. USD has a built-in HGI (using the HGI library). We need to simply change the settings to what we want here. The signals are also the same.

This will be much faster and have a smaller CPU footprint than calling the MTF TD indicator each time.

Cheers
Thomas

.
Hi Gitarrain,
I had some time to investigate your problem. Look at Thomas's post above. "USD has a built-in HGI (using the HGI library)". Therefore look at your Usd indicator_ name setting. You have it as HGI_v17.00. This is wrong. Your setting is reading from the indicator and not the library. You must type in "HGI" only. I am sure this will solve your problem.

Cheers
Leon.
Hi Leon,

Thanks, finnally I solve the problem.

Cheers,
Gitarrain
All times are UTC Page 49 of 67