Questions from Beginners MQL5 MT5 MetaTrader 5 - page 547

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
There are a lot of examples in the code base! And first of all you have to adjust your logic in everything you do! Why, for example, to represent Magik in extern's, will you optimize the value of Magik to increase profitability? ;)
Which Magik are we talking about?
And in the code, I take it it's the numbers with a minus that cause the error?
And in the code, I take it it's the numbers with a minus that cause the error?
Yes.
You can write it like this: a_200 = b; But a-200 = b; - you will get an error.
Yes.
You can write: a_200 = b; But a-200 = b; - you will get an error.
Which Magick are we talking about?
Yes.
You can write: a_200 = b; But a-200 = b; - you will get an error.
But: b = a-200; will not give an error.
If the compiler gives no errors, but the orders do not open correctly, all at once. It could be because of faulty logic of the algorithm.
To be more precise, if you disable the order closing block, the orders open correctly; if you enable the order closing block, the orders open at once on every tick.
If the compiler gives no errors, but the orders do not open correctly, all at once. It could be because of faulty logic of the algorithm.
To be more precise, if you disable the order closing block, the orders open correctly; if you enable the order closing block, the orders open at once on every tick.
If the compiler gives no errors, but the orders do not open correctly, all at once. It could be because of faulty logic of the algorithm.
To be more exact, if you disable the order closing block, the orders open correctly; if you enable the order closing block, the orders open at once on every tick.
Errors are of three types.
Syntax errors - they are detected at the compilation stage.
Logical - they are detected during debugging and testing.
Runtime - run-time errors are usually caused by incorrect data, for example,division by zero or array overrun.
You will not get any help without the code.
I'd hate to show the code, as the first version proved to be very survivable. It survived for 10 years without optimisation. Now I want to make it a bit more complex and profitable.
The code is very simple.
Still, orders may be opened on every tick due to errors in the logic.