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 am having 2 errors when I click to complile the FatPanel.mq5 Expert:
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 833 45
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 3834 25
Thank You
Error:
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 833 45
and
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 3834 25
Please, help me...
I am having 2 errors when I click to complile the FatPanel.mq5 Expert:
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 833 45
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 3834 25
Thank You
I'm also having the same problem.
Error:
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 833 45
and
cannot convert type 'string' to 'bool' PanelDispatcher.mqh 3834 25
Please, help me...
Easy,
Explicitly cast to int and then to bool.
It would look like this
properties[i].bool_value=(bool)((int)propertyValue)
Note that the propertyValue parameter is a string, and within the casting rules you can't convert a string to a boolean.
Easy,
Cast explicitly to int and then to bool.
It would look like this
properties[i].bool_value=(bool)((int)propertyValue)
Note that the propertyValue parameter is a string, and within the casting rules you can't convert a string to a boolean.
Hi Jonathan, I followed your tip and apparently it worked. I made this change to PanelDispatcher.mqh and compiled Fatpanel.mq5. The two previous errors disappeared and the compilation at least happened. Unfortunately, 21 PanelDispatcher.mqh alerts now occur, which (perhaps) is the cause of errors when trying to use FatPanel. I think they've stopped this project, which is a shame. But thanks for your help!
Hi Jonathan, I followed your tip and apparently it worked. I made this change to PanelDispatcher.mqh and compiled Fatpanel.mq5. The two previous errors disappeared and the compilation at least happened. Unfortunately, 21 PanelDispatcher.mqh alerts now occur, which (perhaps) is the cause of errors when trying to use FatPanel. I think they've stopped this project, which is a shame. But thanks for your help!
Good morning,
So apparently there have been no updates on this project, but the way it works I've already used it myself, but I didn't find it very useful, because in order to expand we would have to put more strategies inside the EA modules.
These alerts that are appearing don't prevent it from working, note that often it's just a compiler alert informing you that there isn't a type conversion or even the lack of some return check. An example of this is when we use the Print() function, if we pass a variable that is used as a counter within the programme attached with some kind of message, the compiler will automatically display a warning message, saying that there is a lack of casting of your integer variable to string, for example, in the image you attached in the first post, the second line is a case of what I told you, it tells you that there is no check for the OrderSend() function because it is a bool type and it would be interesting to have a control point for it, but that doesn't mean it doesn't work.
I hope I've helped.
att
Sorry to pull this dead thread of out grave :)
Is this working anymore?
I try to compile it and get 55 errors!