[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 60

 
BBSL:
what do you mean by the phrase

importing #import "statistics.mq4", #import "files.mq4".

???

what should be the reaction of MT in your opinion ?

 
sergeev:
what do you mean by the phrase

???

what should be the reaction of the MT in your opinion ?


Good evening sergeev !

My understanding is that

- it includes commands from these files, when compiled into a project source file...)

 
BBSL:


Good evening sergeev!

My understanding is that

- it includes commands from these files, when compiled into a project source file...)


probably not a file after all, but a certain code...
 
BBSL:


Good evening sergeev!

My understanding is that

- it includes commands from these files, when compiled into a project source file...)

no. this is an import command from compiled ex4 or dll files

To include code you need include, which you already use.

 

Be sure to look up import in the help.

You must have lost another import after the imported functions.

 

Can you please tell me how to implement in code form the expression:

"if the currently selected order is buy and there is no current sell order, then...".

Thank you in advance!

 
sergeev:

Be sure to look up import in the help.

you must have lost another import. after the imported functions


Yeah, I definitely forgot to put import... Thank you!

But the problem remains, it's complaining about MAIN and Name variables declared in Variables.mq4 ( #include <Variables.mq4> ), maybe I've surely missed something else!

It's like it doesn't see Variables.mq4...

 
BBSL:


Yes, I definitely forgot to put it there... Thanks!

But the problem remains, it swears at variables MAIN and Name declared in Variables.mq4 ( #include <Variables.mq4> ), maybe I missed something else!

It's as if he doesn't see Variables.mq4...

If it didn't, it would swear it didn't see it, so it does.

check the MAIN name - maybe Russian A...

 
nemo811:

Can you please tell me how to implement in code form the expression:

"if the currently selected order is buy and there is no current sell order, then...".

what is the concept of "current" - for buy and for sell ?
 
sergeev:
what is the concept of "current" - for buy and for sell ?

I mean open orders (market orders)