Still an unsolved problem for me.
Occurs in Library but doesn't seem to give an ERROR with an error code (which I could find in my logs). I just get a message in the Terminal window and refers to my EA (which is very long).
This is where the error is generated - but doesn't really help me
int deals=HistoryDealsTotal(); if(deals<2) { if(log_level>0) Print(__FUNCTION__+" > Error: the selected position is still open."); return(false); }
Any help appreciated
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
how to 'track' error
CHistoryPositionInfo::HistoryPositionCheck > Error: the selected position is still open.
Just don't know how to figure out where this is occurring and how to fix the problem.
Should I be 'closing' something, somewhere
Any pointers appreciated