I need code for exist

i need to exist when CLOSE>BUYPRICE+13rs. Is it possible?

by adding +13 to the price you can define manually by using price alert indicator

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