So according to the manual, the price() function is just a mean price of the bar period.

Is there a way to set a Stop Order Entry based on actual Tick price?

I'm guessing maybe function tick() could do but I'm not quite figuring out how to do this...
If someone would be so kind to provide me some sample code on how this could be done I would surely be grateful.

Thank you