Changing the Smiley Face Programmatically?

To add comments, please log in or register
Mike Fraser
13
Mike Fraser  

Hello Everyone,

I know that the smiley face is only ever sad when Allow Live Trading has not been selected when loading the EA.

I would like to make it sad if the input parameters are wrong to highlight the problem, not everyone checks the experts tab, and some of the indicators already use the comment field.

I could put an object across the screen I suppose stating the parameters are wrong, but I'd like to be a bit more subtle.

Thanks in Advance,

Mike

Simon Gniadkowski
17271
Simon Gniadkowski  
Bravehearts2:

Hello Everyone,

I know that the smiley face is only ever sad when Allow Live Trading has not been selected when loading the EA.

I would like to make it sad if the input parameters are wrong to highlight the problem, not everyone checks the experts tab, and some of the indicators already use the comment field.

I could put an object across the screen I suppose stating the parameters are wrong, but I'd like to be a bit more subtle.

You want to highlight a problem . . . in a subtle way ? isn't that a little contradictory ?
thekaptain
53
thekaptain  
How would you determine if input parameters are wrong? If you already have staged code to determine ranges of inputs, you might as well have a prompt to force the user to recognize or address the issue.
qjol
3200
qjol  

u can send "CTRL + E", more simple PostMessageA (Hndl, WM_COMMAND, 33020, 0)

https://www.mql5.com/en/forum/110904

onewithzachy
1863
onewithzachy  
RaptorUK:
You want to highlight a problem . . . in a subtle way ? isn't that a little contradictory ?

I wonder how the smiley looks like.

:D

Mike Fraser
13
Mike Fraser  
onewithzachy:

I wonder how the smiley looks like.

:D


Thanks for all the feedback, I guess the answer is no. I will think of something else, probably an alert will do for now.

Cheers

William Roeder
22355
William Roeder  
Bravehearts2:

highlight the problem,

I'd like to be a bit more subtle.

Remove an EA through MQL4 code - MQL4 forum
To add comments, please log in or register