TradingView Webhook Setup
Step 1: In TradingView, create an Alert on your strategy/indicator. Under "Notifications", enable Webhook URL and paste:
https://www.kiwifx.nz/api/trade?source=tradingview
Step 2: Set the Alert message body to this JSON (replace YOUR_KEY with your license key):
{"license_key":"YOUR_KEY","pair":"{{ticker}}","type":"{{strategy.order.action}}","profit":{{strategy.netprofit}},"lot":0.1,"status":"closed"}
Tip: Your license key is shown in the Performance page after connecting. TradingView Premium is required for webhook alerts. Each alert sends one trade to your journal automatically.