does anyone has any idea what is going on? :/
I cannot get to the root of this. I made other EA that uses Bitmap Labels in Mt4 and it works fine. (sometimes it also generate clicks in the wrong places, but only if clicking too quickly - but here missclicks are a rule) Please help
angreeee: does anyone has any idea what is going on? :/
| Are your books one column but two feet wide? No because that is unreadable. They are 6 inches, sometimes two columns, so you can read it easily. So should be your code. I'm not going to go scrolling back and forth trying to read it. Edit the post with formatted code and you might get additional help. |
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I created Indicator/EA for MT5 and it works fine. The problem occured when i converted it to MT4. I used same exact libraries that i used for MT5 versions like:
a) MT5 - https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_bitmap_label
b) MT4 - https://docs.mql4.com/constants/objectconstants/enum_object/obj_bitmap_label
MT5 code fragment for button creation:
MT5 code for button click press check:
MT4 version for button creation:
MT4 version checking the click:
As you can see they are almost exactly the same, but the SringConcatenate yet the results in MT4 version are crazy.
Only first 2 buttons work as they should, others - see for yourself on the movie: (even clicking outside any button activates them)
https://www.youtube.com/watch?v=MyulEve5988&feature=youtu.be