How to convert below Strategy script line to Study script , to reflect in ALERT window, for enabling Buy & Sell for this conditions
strategy.exit ("Stop loss long", from_entry= "Long", loss = close*0.01/syminfo.mintick)
strategy.exit ("Take Short Profit", from_entry= "Short", profit= close*0.01/syminfo.mintick)