Alert Message Format
JSON Payload Structure
{
"symbol": "{{ticker}}",
"action": "buy",
"price": {{close}},
"strategy": "My Strategy Name",
"confidence": 0.8,
"secret": "YOUR_WEBHOOK_TOKEN"
}Field Reference
Field
Type
Required
Description
Actions Explained
buy — Open Long Position
buy — Open Long Positionsell — Open Short Position
sell — Open Short Positionclose — Close Position
close — Close PositionPartial Close
TradingView Variables
Variable
Description
Example Output
Complete Alert Examples
RSI Oversold Buy Signal
MACD Crossover Sell Signal
Take Profit Close
Partial Take Profit (Close 50%)
Idempotency
Last updated
