Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with PriceAlert Panel #27

Closed
jmmac1973 opened this issue Sep 21, 2021 · 3 comments
Closed

Conflict with PriceAlert Panel #27

jmmac1973 opened this issue Sep 21, 2021 · 3 comments

Comments

@jmmac1973
Copy link

Hi,
This is an excellent tool as is PriceAlert Panel. Unfortunately, when I use both in the same chart, it seems they interfeere with each other in a negative way.

When they are both in the same chart,, if I then change the timeframe, usually one of them fails the initialization (-1) and is removed. If I have a Price Alert set, usually PriceAlert is the one removed.

Sometimes there is also interference with the indicator popup windows.

I'm using MT4 build 1340 on Windows 7.
PriceAlert version is 1.03.
PositionSizeCalculator version is 2.39.

Jaime

@EarnForex
Copy link
Owner

EarnForex commented Sep 21, 2021

Hi!

OK, I see the problem. So, the actual problem is within the standard Dialog.mqh file, but this is fixable from "outside". I will update all my panel indicators accordingly. If you need a fix right now, you can add the following line of code somewhere in the OnInit() function of either PriceAlert or PSC:

MathSrand(GetTickCount() + 293029);

Don't add the same line to both indicators. If you add it to both of them, make sure to change the '293029' number to something else there.

EDIT: Thanks for reporting!

@jmmac1973
Copy link
Author

Thanks for the fast reply and quick fix. It works well.

I have a suggestion for the Alert indicator but I'll leave it in the proper place.

@EarnForex
Copy link
Owner

Fixed in 2.41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants