You can create a strategy script pretty easily by using strategy.entry under the same condition as your alert messages. You might need to switch from using alertcondition() to alert() functions, but this is pretty easy.
The main strategy function calls to set up a strategy script are strategy.entry(), strategy.exit(), and strategy.close(). There are a lot of other things you can do with a strategy, but these three functions helped me set up a strategy script pretty quickly without needing to know a whole lot more than this.
Hello there! I hope you are doing well. I would like to ask you something about coding if you do not mined...
Regarding pine script, do you know the script to set an OTO order? (one order triggers the oher).
I am looking for a Limit Buy order with stop loss order (after the Limit buy is filled).