Questions from Beginners MQL4 MT4 MetaTrader 4 - page 136 1...129130131132133134135136137138139140141142143...268 New comment Asa saas 2018.04.24 15:32 #1351 Ihor Herasko: Only enter the appropriate parameter: You should therefore think 100 times before using static variables in an EA. In a script or indicator is another matter.I see, thank you for your answer. Sacred70 2018.04.25 08:00 #1352 Hi. Can you tell me how to close an order after a certain time? Ihor Herasko 2018.04.25 09:01 #1353 Sacred70: Hi. Could you advise me how to close an order after a certain time?Set the time in seconds.At every tick, go through all open orders and calculate the difference between the current time and the open time of the order.If the obtained difference is greater than or equal to the specified time in seconds, then close the order. [WARNING CLOSED!] Any newbie Questions from Beginners MQL5 how close a position Sobbaka 2018.04.25 11:21 #1354 There is no BRN oil symbol in the mobile version.is it supposed to be? Ihor Herasko 2018.04.25 11:38 #1355 Sobbaka: There is no BRN oil symbol in the mobile version.is it supposed to be?It could be called something else. For example, I know the BCOUSD variant. Sobbaka 2018.04.25 13:10 #1356 Ihor Herasko: It may be called something else. For example, I know of a variant called BCOUSD. No such thing either. I haven't found anything similar.Doesn't anyone know? DmitrievSS 2018.04.26 12:39 #1357 I wrote an owl, started optimising, and it's very slow, even though there are only 5 parameters and the optimisation is by closing prices. How can I reduce the optimization time? Игорь Васильев 2018.05.04 13:24 #1358 Will trade orders be executed from the indicator in MQL4? The compiler doesn't complain about them, it doesn't give any error messages. Of course I will check it myself, but can anyone tell me right away? Errors, bugs, questions "constant expected" compiler error Features of the mql5 Ihor Herasko 2018.05.04 13:42 #1359 Игорь Васильев: Will trade orders be executed from the indicator in MQL4? The compiler doesn't complain about them, it doesn't give any error messages. Of course, I will check it, but maybe somebody will tell me right away.No, they won't. The documentation directly states that they won't. There are other limitations for indicators, take a look. Игорь Васильев 2018.05.04 14:15 #1360 Ihor Herasko:They won't. This is explicitly stated in the documentation. There are other restrictions for indicators, look it up.It's strange, why the compiler doesn't inform about it, when it sees the trade commands in the indicator code. We'll have to pull the trading part out of the indicator into the EA now, linking it to it via ICustom(). It looks like "no tail on the mare and a bow on the side". So confused over profits EURUSD - Trends, Forecasts Testing problem with iCustom(). 1...129130131132133134135136137138139140141142143...268 New comment
Only enter the appropriate parameter:
You should therefore think 100 times before using static variables in an EA. In a script or indicator is another matter.
I see, thank you for your answer.
Hi. Could you advise me how to close an order after a certain time?
There is no BRN oil symbol in the mobile version.
It could be called something else. For example, I know the BCOUSD variant.
It may be called something else. For example, I know of a variant called BCOUSD.
Will trade orders be executed from the indicator in MQL4?
The compiler doesn't complain about them, it doesn't give any error messages.
Of course I will check it myself, but can anyone tell me right away?
Will trade orders be executed from the indicator in MQL4?
The compiler doesn't complain about them, it doesn't give any error messages.
Of course, I will check it, but maybe somebody will tell me right away.
No, they won't. The documentation directly states that they won't. There are other limitations for indicators, take a look.
They won't. This is explicitly stated in the documentation. There are other restrictions for indicators, look it up.
It's strange, why the compiler doesn't inform about it, when it sees the trade commands in the indicator code.
We'll have to pull the trading part out of the indicator into the EA now, linking it to it via ICustom().
It looks like "no tail on the mare and a bow on the side".