The high price can be said to be the purchase price.
Low price can be said to be-selling price.
Because the price of the real-time changing line in the figure is "selling price" (low price), the figure does not show "buying price" (high price).
When there are more orders, it is "buying price" (high price) and "selling price" (low price). The figure does not show that the price is high, so you can't buy the position in the figure. If you buy the position, it will be higher, which is equivalent to deducting the price difference in advance. When selling more than one order, just close the position with the "selling price", that is, the position in the figure will be closed directly. So calculate the price difference first.
Empty orders are sold at "selling price" (low price) and "buying price" (high price), which is exactly the low price shown in the figure, so when you buy, it is only the price shown in the figure, but when you close your position, it is not the price in the figure that will close your position, but the "buying price" that you set to close your position when you take profit. The "buying price" is higher, which is not shown in the figure, as can be seen in the figure. So it is calculated after the difference.