how to get last closed order's close price ? thank you

 

thank you. please give me some code. i think my problem is how to set orderselect type .

Reason: