Automated Trading on Tradingview can be challenging. But with some strategies employing smart trading techniques, you can find your way to a reliable setup. There are many aspects of automated trading I've employed and studied. Those are as follows:
Trailing Take Profits: Allowing a trade to surpass the original profit target if the price continues in your favor, followed by an offset value.
Stop On Close: Waiting for a trade to close a bar below your stop loss before exiting a trade.
Scaling Exits: Exiting a partial position at a set limit price between the entry and final take profit target.
More info available on the chart.