Ask! - page 102

 

I've got a quick question. My broker, IBFX, recently sent this to me...

"If you compiled an Expert Advisor or a Script in build 213, MetaTrader has informed us that you will have to recompile it once you update to Build 214/215.

To recompile go to:

Tools

MetaQuotes Language Editor (F4)

Double left click your Expert Advisor or Script in the Navigator

Left click on the Compile button

Exit MetaQuotes Language Editor"

My question is, what does recompiling do to an EA/script?

Thanks

 
JJLL:
I've got a quick question. My broker, IBFX, recently sent this to me...

"If you compiled an Expert Advisor or a Script in build 213, MetaTrader has informed us that you will have to recompile it once you update to Build 214/215.

To recompile go to:

Tools

MetaQuotes Language Editor (F4)

Double left click your Expert Advisor or Script in the Navigator

Left click on the Compile button

Exit MetaQuotes Language Editor"

My question is, what does recompiling do to an EA/script?

Thanks

It generates a new ex4 code.

 

Filter/No plot bar if in range (time)

Anyone have formula to prevent/filter meta trader from plot bar at specific time/range

 
 
 
Michel:
What is the returned error ? You also should numbered the error messages, but take care that if you have two errors, for example on order 2 and 5, you will display for the order 2 the error of the order 5.

edited:

sorry.. i think the error is displayed in Expert window rite? And this is what I got after renaming the Error from 1 - 5...

Files:
error.gif  13 kb
 
ableze_joepardy:
edited:

sorry.. i think the error is displayed in Expert window rite? And this is what I got after renaming the Error from 1 - 5...

You have the error " trade not allowed in the expert properties"

So hit ctrl-O, then tab "Expert Avisors" and select "Allow live trading"

BTW, renaming the variables will not erase the possibility of false information, you also need to check the error after each OrderSend() call and before the next one.

 
 
 

EA building for dummies

I just noticed this thread after I posted a new one....I think this would be a snap for some of you guys.....

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

I searched for an answer in advance but couldnt come up with much. Any ideas?

Thank you!

Reason: