Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1936
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
Can you tell me how to find an arrow among other objects in mql4? Remove all arrows and leave the lines
Well, read the documentation
Good time to all mql4 users. We have a function which closes the part of the furthest losing order in a series by percentage points at the expense of profitable positions in any direction. We need help in finalizing this function! Namely, we need to partially close all remaining orders in the series (due to profitable positions of any direction) instead of the first one. Thanks in advance!
ProfitPer=OrderProfit()+OrderCommission()+OrderSwap();//ПРОФИТ ОДНОГО ОРДЕРА
When there are a lot of orders in the grid, it gives a total loss when it closes, although it should close all of them at zero. I ended up removing commissions and swaps altogether