For plotting only when the trade was opened, store the pending bar in a TradeVar. A line between the pending and fill price can be plotted with plotGraph and LINE.