Forums › ProRealTime English forum › ProOrder support › Partial closure zero quantity exits › Reply To: Partial closure zero quantity exits
06/29/2018 at 8:17 AM
#74692
I can’t replicate the 0 quantity closure.
I used this code as for testing:
1 2 3 4 5 6 7 8 |
if not onmarket then buy 9.6 shares at market endif if barindex-lastbar>2 then sell 0.96 shares at market lastbar=barindex endif |
The 0 closure you are pointing is not a partial close I think, because it is labelled as a “buy exit” and not a sell exit of your buy position.