[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 416

 
Egori4:
then I need to check the Order Type as well? (if Tip=0, then it's buy, if Tip=1 - sell. and Ticket_B is open buy, Ticket_S is open sell)

If you have tickets stored in Ticket_B and Ticket_S, why do you need a cycle at all?

Just select by ticket and see if there are conditions to change it

 

Where does the "Input Parameters" tab in the "Expert properties" go ??? Example:

extern int A=1;
extern int B=2;
int init(){return(0);}
int deinit(){return(0);}
int start(){return(0);}

Everything is fine, but as soon as I add stdlib.mqh:

#include <stdlib.mqh>
extern int A=1;
extern int B=2;
int init(){return(0);}
int deinit(){return(0);}
int start(){return(0);}

Can't see the input parameters:

 
sss2019:

That's the thing, it's all right, but there's still an error.

Help me out! ))
 
Sepulca:

Everything is fine, but as soon as I add stdlib.mqh:

Can't see the input parameters:


https://www.mql5.com/ru/forum/105156

https://www.mql5.com/ru/forum/103852

 
How can I change the time in the terminal? One DC gives one terminal time ( +2 GMT), the other gives GMT terminal time, I would like to work with the same time... How do I change the time in the terminal?
 
sss2019:

Help! ))

You can remove, as a test, all External from the indicator parameter list, leaving the indicator without parameters at all. Then the call will be simple:
iCustom(Symbol(),0,"RMRCS_entry-point",0,1);

And then, little by little, add only the necessary parameters.

 
yellownight:
How can I change the time in the terminal? One DC gives one terminal time ( +2 GMT), the other gives GMT terminal time, I would like to work with the same time... How do I change time in terminal?
It is not provided. The server time is set by broker.
 
Sepulca:

You can remove all External from the indicator parameter list as a test and leave the indicator without parameters at all. Then the call will be simple:

And then add only the required parameters a little at a time.


And at 64 parameters it will slow down.

since you can no longer

 
yellownight:
If broker's stop set fields are inactive before opening a trade, then OrderSend(); won't open an order with a stop set?
It won't open, it will give error 130. We need to open and then modify the order.