Greetings!
Quote:
Which function should I use to rescue the entry price of the last open order.
Do you mean move your SL to Break Even?
Quote:
function which returns the entry price of the last open order.

You have to select the start point "Last Trade Event" in order to retrieve the value.