I want to know how to display the PNL of each order separately. When you scale in, the algorithm will automatically merge the PNL, but I want to display my new order as a separate order. How can I prevent them from merging
I think it’s not possible.
#Several is correct, it is not possible. There used to be a Group trades by order function in NT7 but it could be inaccurate. It was abandoned in NT8. There was much discussion between traders and NT Support staff, some very experienced coders on here tried and no-one succeeded so I think it’s fair to say never going to happen with NT8, if ever
Best,
Doable but not with existing tools available with the platform. You’ll need custom code to read the Executions table and do some gymnastics to tie trades together with either FIFO or LIFO logic. I did this a while back and it produced output like below. Gives you total PnL points in the combined trade, individual entry/exists/PnL and other info after exiting the trade. While position was open, it would show all the relevant info in real time in a table on the chart as price changed.
