How to define Buy price in Exit Long Script

How to define Buy Price in Exit Long Script.

I want to exit long after buy price is 0.05% up.

you can define manually by using price alert indicator

https://zerodha.com/expert-advisors/code/price-alert-indicator