for crying out load I can't find any information how to check if a position has been entered and is still active. I enter a postition with
EnterLong(1,"Entry"+i);
and later want to check if a specific position - for instance Entry1 in this case - is open and has not been stopped out. Currently I'm resetting stop levels and getting lots of 'This was an exit order but no position exists to exit' messages which makes me feel rather stupid...
Thanks for some guidance!
Comment