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
I have written a method for close the position
The first way for viewing profits is the PositionGetDouble function that gives me the 16.6999 number and the second one is the OrderCalcProfit function that gives me 16.7199 number.
So the results are different, but I expect the same result because there are identical input data.
Can you explain to me why the results are different? How to fix it?
Look at the attached file: