
I would like to partially close the position using a TradingView bot based on a TradingView alert. Method: I would like a script that sends a notification from TradingView in the form of an alert, but this does not close the entire position—only a portion of it! This is not a fixed profit-taking level, but profit-taking controlled by a script based on an indicator. Currently, there is only a script for closing the entire trade! I need a new one for partial closing!