Hi

I want to lock the profit once it achieve a certain price level. But before this I do not want to trail in any way. I have tried many different ways but I can code it properly.
Any ideas?