How do I know in mql4 which order execution a broker has ? Request Execution, Instant Execution orMarket Execution ?
is it easier not to bother with the question at the start of the run of the EA to ask the type of execution to know if you can immediately put a stop or should I put them after
hello !!! help me solve this problem - how to get an integer number from the value returned by TimeSeconds () function, with which arithmetic operations ==, >,< are available later ?????????
shljachov: hello !!! help me solve this problem - how to get an integer number from the value returned by TimeSeconds () function, with which arithmetic operations ==, >,< are available later ?????????
Hello! Could you please tell me how to record that an order is opened only once (while the condition is met) and when the order closes (even if the condition is still met) no more orders are executed!
lowech: Hello, could you please tell me how to set an order to be opened only once (as long as the condition is met) and when the order closes (even if the condition is still met) no more orders are executed!
Please, are you referring to one open position in the market or one pending order? In either case we need to check if there is a position/order in the market, and if there is, we need to return(0) before we place the order.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hmm, try it this way:
How do I know in mql4 which order execution a broker has ? Request Execution, Instant Execution orMarket Execution ?
is it easier not to bother with the question at the start of the run of the EA to ask the type of execution to know if you can immediately put a stop or should I put them after
set up
hello !!! help me solve this problem - how to get an integer number from the value returned by TimeSeconds () function, with which arithmetic operations ==, >,< are available later ?????????
The TimeSeconds () function returns an integer
TimeSeconds () returns an integer number
but the number it returns is not compared to 1 or 2 (a regular integer).
Comparison.
Make a simple indicator and see:
Hello, could you please tell me how to set an order to be opened only once (as long as the condition is met) and when the order closes (even if the condition is still met) no more orders are executed!