I want to convert a strategy to an indicator to set alerts on it

It is now possible to set alerts based on strategies. Strategy alerts incorporate the strategy mechanism and thus take into account not just the entry and exit conditions, but also the strategy settings like position size, available capital, etc. Strategy alerts trigger each time the order is executed and allow to send a custom alert message for each specific strategy.* function call. 

You can learn more about strategy alerts in this Help Center article.