I have an odd situation and I'm not sure if it's due to something I'm doing wrong or if it's a quirk of how NT closes positions. I'd be grateful for any suggestions.
I'm using NT to simulate trades whilst taking a live feed from eSignal. The strategy I've developed works fine on historical data but in real time I get the following scenario (the price values shown are examples but the stops etc. are genuine)
Buy at market, 6 contracts, at 6,820 stop loss 20 points away at 6,800
Order fills as follows:
3 contracts @ 6,820.5 stop loss at 6,800.50
Price goes above 6,845 so strategy now moves the stop loss to lock in 5 points of profit and the result is as follows:
3 contracts now have the stop loss at 6,825.50
Sell at market to exit long, 4 contracts at 6,870 and move stop loss to 20 points away, which is 6,850. The result is as follows:
Stop loss for 3 contracts now at 6,850
Stop loss for 3 contracts now at 6,850 (no, that's not a typo)
Price goes up to 6,880 so now use setstoploss to set it to 20 points away so I get this scenario:
Price goes below 6,860 and I now have this situation:
Short position for 1 contract now open at 6,860
Any suggestions/comments gratefully received.
Thanks - Stefan
Comment