Download MetaTrader 5
To add comments, please log in or register
Install apps from the library right in MetaTrader. It is easy!
Andrew West
216
Andrew West 2014.05.06 10:00 
Check your extern bool variables, they are not giving the correct settings, they are hit and miss.
Keith Watford
Moderator
8008
Keith Watford 2014.05.06 10:09  
MrLong:
Check your extern bool variables, they are not giving the correct settings, they are hit and miss.

Who are you talking to and about what??
Andrew West
216
Andrew West 2014.05.06 10:41  
GumRai:

Who are you talking to and about what??

I'm letting the forum know, bool variables are not giving the correct readings, they are hit and miss, should be false but giving a true reading or is that not what the forum is for?
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.05.06 11:05  

Maybe your coding is wrong which is why that happens.


Show us your code if you are so confident that MT4 is at fault and your codes are right.

Andrew West
216
Andrew West 2014.05.06 11:24  

How is it possible to enter true and get false ??

extern bool doNotBuySell=true;

Alert( doNotBuySell); retuns false.

Try it yourself.

Alain Verleyen
Moderator
28672
Alain Verleyen 2014.05.06 11:29  
MrLong:

How is it possible to enter true and get false ??

extern bool doNotBuySell=true;

Alert( doNotBuySell); retuns false.

Try it yourself.

And what is the setting's value in the properties window ?
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.05.06 11:39  
I bet it is false.
Andrew West
216
Andrew West 2014.05.06 11:42  
angevoyageur:
And what is the setting's value in the properties window ?


Okay, setting's value in the properties window is set to false, but I've always coded into the EA and re-compiled to change the settings,

this is no longer the case, and only new to 646.

To change the settings you would now need to go into the properties box.

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.05.06 11:45  

Actually when you re-compile, MT4 will retain the settings value. It is a feature and it is not a bug.


Now, what do you want to say about the title ?

Andrew West
216
Andrew West 2014.05.06 12:08  
deysmacro:

Actually when you re-compile, MT4 will retain the settings value. It is a feature and it is not a bug.


Now, what do you want to say about the title ?


Well this feature has just arrived just like all the other bugs that have appeared in MT4, I have always re-complied and set the properties to default settings, this is the first time it has not done so and has only
happened since 646, if MQ change something they should let people know.

Now, what do you want to say about the title ? <== I say re-compile but the settings will not change.


And by the tone of your post, you have a communications problem.

qjol
3243
qjol 2014.05.06 12:12  
please don't shoot
/ /1234
To add comments, please log in or register