Take profit (close via TradingView)
To close a position via TradingView, the message must contain the "Signal id" field so that the correct position can be closed.
The "Signal id" field is not mandatory, if it's omitted all active signals sent by the bot for that symbol will be impacted.
For example, if you have 3 active BTCUSDT signals, if you don't put the "signal id" field, the 3 signals will be closed.
The field typology is alphanumeric 20 characters.
Example:
Entry: {"symbol":"BTCUSDT","invest":"10%","signalId":"john123"}
Close: {"symbol":"BTCUSDT"","type":"close","signalId":"john123"}