Skip to content

What should my alert message look like?

Short answer

One order per alert, in JSON with the symbol, the action and the quantity. The formats of PickMyTrade, TradersPost, PineConnector and Copygram work too.

Updated 1 min read
{
  "symbol": "{{ticker}}",
  "action": "{{strategy.order.action}}",
  "quantity": "{{strategy.order.contracts}}",
  "price": "{{close}}"
}

TradingView placeholders

  • {{ticker}} the symbol the alert fired on.
  • {{strategy.order.action}} buy or sell, in a strategy alert.
  • {{strategy.order.contracts}} the order size.
  • {{close}} the price when the alert fired.

Symbols

Use {{ticker}} or a root such as NQ, MNQ, ES, MES, CL or GC. Thor maps it to the front-month contract on every account. You never type contract months.

Actions

You sendThor does
buy, long, bull / sell, short, bearOpens or adds in that direction
close, exit, flat, closeallCloses everything on the symbol
closelong / closeshortCloses that side only
buy / sell with "reverse_order_close": trueCloses the position, then opens in that direction
reverseCloses the position, then opens a long

One order per message. A message holding several orders, such as [ {...}, {...} ], is refused. Send one alert per order.

The quantity is the leader’s size: each follower still applies its own multiplier.

Was this helpful?

Still stuck?

Ask Thor Support in the chat, or open a ticket in #open-a-ticket on our Discord.

Service status