[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 745
![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
:) Impatience is usually trained in another office... :)
You don't need to train my patience for that. I'm very patient.
Sorry. I just have a big workload and don't want to waste my time at all.
And I'm even more sorry, because the author of the topic probably does not know about it. Probably a schoolboy.
There is no need to train my patience for that. I am very patient.
I'm sorry. I just have a big workload and don't want to waste my time at all.
And I'm even more sorry, because the author of the topic probably does not know about it. Probably a schoolboy.
Sorry about the offtops.
ZS. My daughter is a schoolgirl and she understands a lot... :)
It still opens this order in a batch.
Here's how I set the variables in my Expert Advisor.
and here's the order opening
It's hard not to agree with artmedia70 about the layout of your code. It is very hard to read, you have to look at it for a long time to understand anything, and then you have to put brackets, spaces, and indents correctly. Please watch your style and avoid chaos in writing code, even though it is composed of different blocks, different authors. You should bring it in one, your own style, so it will be easier to work with it in the future and modernize it.
I tried it in the tester, it seems to open only one pending order (BUYLIMIT), but I really don't know what else it should do and under what circumstances.
It's hard not to agree with artmedia70 about the layout of your code. It is very hard to read, you have to look at it for a long time to understand anything, and then you have to put brackets, spaces, and indents correctly. Please watch your style and avoid chaos in writing code, even though it is composed of different blocks, different authors. Bring it into one, your, style, so that later it will be easier for you to work with it and modernize.
I have tried it in the tester, it seems to open only one pending order (BUYLIMIT), but I really don't know what else it should do and under what circumstances.
How do I calculate the amount of recent losing trades !!!
Thank you...
How do I calculate the amount of last losing trades !!!
Thanks...
How many recent ones? ... exactly in grams... :)
Do a loop on closed orders of the terminal, check the profit of the order and, if it is minus, increase the counter of the number of losing orders closed, or, if you want the amount in money, not the number of losing orders, then add its profit (which is minus) to the last value of variable double, in which you have stored the amount of lots in money...
Must be really needed... :) Or my mouse is stuck...
MT4/logs location folder
MT4\tester\logs location folder
I've got it right here:
D:\Program Files\MetaTrader - E-Global TFG account-1654729\logs
D:\Program Files\MetaTrader - E-Global TFG account-1654729\tester\logs
Thank you very much for the reply, and apologies for the many posts of the same type, I wanted to do the cleaning myself but I got caught up in the market today. Thanks again everyone .
Hi all! Dear artmedia70, drknn, Abzasc, the day before yesterday using your advice I dropped the missing Wingdings font file to the Windows folder and in the terminal Fractals appeared normally. Thanks a lot to all of you guys. Regards Furkat.