TradingView alert
How to tie a TradingView alert to a TarosDesk signal.
What you need
A TradingView account on a plan that has webhooks, and a signal created in TarosDesk — the address and the secret come from it.
The message text
The message is plain JSON. The required fields are the signal name, the secret, the instrument and the side. TradingView placeholders in curly braces are expanded by the service itself.
Message fields
name
The signal name — the service finds its settings by it.
secret
The signal secret. Without it the message is dropped.
symbol
The instrument. Usually the {{ticker}} placeholder.
side
The side of the trade: buy or sell.
positionSide
What the strategy thinks of the position: long, short or flat.
Modules inside the message
The same message can carry parameters for opening, averaging, closing, the stop, trailing and targets — but only those with the “from signal” box ticked in the signal settings.