Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 521
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
Happy Easter to all! How to solve the problem, in mql4 double type did not give -9315605757223320000.00, -9232595408891630000.00 when calculating prices and mql5 dug them out from somewhere? Maybe a glitch in the quotes? How to circumvent this situation? Thank you.
Where's the code?
Here's a rough one:
Please send me direct link to mt4. i am trying to download mt4 but mt5 is installed instead. Thank you in advance.
Thank you, I see. How do I keep track if I close a part of an order two or three times? For example, I closed a 0.1 lot, then I closed 0.5, then I closed another 0.25. The last closed position will be equal to the open position ticket, but how should I look for a profit on a previous closed one?
Thank you, I see. How do I keep track if I close a part of an order two or three times? For example, I closed a 0.1 lot, then I closed 0.5, and then I closed another 0.25. The last closed position will be equal to the open position ticket, and the profit of the previous closed one, how should I search for it?
p1 is the only one. keep your own records and history.
Another option is to use the order history of the terminal, but it has some tricky nuances.
p1 and the only one. keep your own records and history.
What a twist!))
I found, here on the forum, a function for calculating profits from a certain date"function returns total profits in the currency of the positions closed since a certain date".
I assume this will work for me. Only how to find out what was the date when the position, which I partially close, was opened?