[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 145
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Where is error ?
Apparently too close to the current price. You should check MarketInfo(Symbol(),MODE_STOPLEVEL);
Apparently too close to the current price. We should check for MarketInfo(Symbol(),MODE_STOPLEVEL);
It is 210 points to the price. And tester gives error 3.
Up to a price of 210 points. And the tester gives error 3.
I think it's set incorrectly, somewhere in the past.
Up to a price of 210 points. And the tester gives error 3.
I had this error recently. Somehow I got over it.
Please help to find error. I can't find it anymore. I don't even know where to look for it. Error like: '\end_of_program' - unbalanced left parenthesis
if(NormalizeDouble(MathAbs(OrderOpenPrice()-Win_Price),Digits) < NormalizeDouble(Dist,Digits)) // missing closing bracket
if(NormalizeDouble(MathAbs(OrderOpenPrice()-Win_Price),Digits) < NormalizeDouble(Dist,Digits)) // missing closing bracket
Vinin , thank you very much :-). Sorry for such a ridiculous mistake, I am just beginning to program, I am gaining experience...
I think it's misdirected, somewhere in the past.
Exactly. That was the problem.
I'm back to you for help... I think I finished the EA, .... But I can't seem to close an order according to some specific conditions. I keep getting an error when searching for a ticket or an order number, or else I get an invalid value in my codes when trying to determine which order to close. I do not have a fun- bility of orders, but it seems possible to manage without it, perhaps there is a wrong installation of consecutive operations in the code, but it seems right. Help who can, look at the code, advise what needs to be added to close the order by a condition, make comments on the implementation of the code in terms of correctness of the sequence of processing in the fun-i start, and the feeling that I'm like a loop and in some moments when the condition is not opened order (skipped to the next case) ....... ! !!! ..))) Here is the code!
Here is the code. As I am here, I have one more question ... are there any restrictions on the EA implementation, in terms of multiple recalculation or parameter request from a brokerage company?
i'm waiting for some help and a bit of criticism )
Please help me to find the error. I can't... I don't even know where to look for it. Error like: '\end_of_program' - unbalanced left parenthesis
Semyon Semyonych...
Learn to write a construction like this:
and then start filling it in, then you'll almost never get confused.
Error like: '\end_of_program' - unbalanced left parenthesis is very unpleasant because the compiler can not pinpoint the location of the error, so it is better not to do, but avoid it by the method described above, you can somewhere make a template and paste in the right places.
The next "You can't tuck a cassock into your jeans"
>> take it away, your code with the corrections is in the attached file.