* This function can only be used in signals. * To retrieve the total number of trades in specified position use [[PosTradeCount]].* Use [[PosTradeExitBar]] to get the bar number of the bar on which the exit order happened.
To retrieve the total number of trades in specified position use [[PosTradeCount]].