When I have an open position, for example 10 MNQ contracts, and I add more, say 3 more, how can I know where my break-even point is, so I can sell partially without taking a loss? Sometimes it happens that I sell 1 contract from a position I’ve built by buying contracts at different prices, and even though I’m showing a positive profit on the chart and in the average price on the account data position, I still end up selling that one at a loss—because I don’t know the actual average of all the contracts to determine the price from which I can sell a contract without losing money.
Where I can find it?
You’d have a track it manually.
I’m not sure doing it with NinjaScript is so easy either because Indicator doesn’t have access to fill and position prices so would need to be an AddOn
Simple answer is - NT8 can’t.
FWIW/FYI IMHO I’d ‘move on’ & accept it is what it is.
NT8 took a step backwards wrt this sort of stuff, ‘Group’ trades etc.
Several ppl have tried to make progress, unsuccessfully (many hrs expended). Problems seem to be around querying sql database, & matching/pairing executions in and out.
NT seem to have no appetite
Best,