I've been looking all over the forum and codebase for a local trade copier that closes the last trade before opening the next but only of the current type (buy or sell). Can someone point me to one if you are familiar or share code? Thank you
- Trade Copier Source Code
- How can I use CPositionInfo to determine if an opened trade is a Buy or Sell before I close?
- Close only the last order, not all
You can look at the Market - check this search link.
In my post I said I already did/tried this.