I find it can't be use in Netting mode, it will lose some close position if the position is not close at the same time.
It will be lost by the code "hist_position.PositionsTotal();" when I use it.
Am I right?
This library is very helpful! Thank you very much
Thank you for sharing this code. Very helpful!
Hi,
Very useful routine.
However I get the following ERROR from time to time.
CHistoryPositionInfo::HistoryPositionCheck > Error: the selected position is still open.
Trying to find under what circumstances this occurs and how to prevent this happening.
Wow great! I had another but incomplete because missed PositionTotal, magic, etc…
👋👌
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
CHistoryPositionInfo Class:
A class for easy access to the closed position properties.
Author: amrali