How to place indicator based order with trading view
you can use APIBridge™ to achieve this.
https://www.youtube.com/watch?v=Te53EQZ-avE