All articles

July 21, 2026 · 4 min

Sync TradingView with your trading journal in 5 minutes

If you trade a strategy on TradingView, you know the problem: trades stay in the strategy tab, the journal stays empty, and the behavioral analysis never happens. The good news: TradingView can fire a webhook on every closed trade, and that's all an automatic journal needs.

How it works

  1. Paste the sync block at the end of your Pine strategy code (v5 or v6). The block is provided in TradeDiscipline, Settings, TradingView.
  2. Create an alert on the strategy, condition "alert() function calls only".
  3. Tick "Webhook URL" in the alert's Notifications tab and paste the URL shown in your settings (it already contains your personal token). Leave the Message field empty: the message is built by the Pine block.

That's it. On every closed trade, TradingView sends the full trade and it appears in your journal.

What gets synced

Symbol, direction, volume, entry and exit price, timestamps, commission, and the P&L in your account currency: the journaled amount is exact, including in forex. If an alert fires twice, the server deduplicates: no double entries in your journal.

The limits, honestly

  • It syncs trades from a Pine strategy. Manual trades placed directly on the chart don't trigger strategy alerts: for those, CSV import remains the way.
  • Alert webhooks require a paid TradingView plan (that's a TradingView limit, not ours).

What's next?

Once trades are in the journal, the real work starts: discipline score, off-plan trade detection, the cost of your bad habits in euros. Automatic sync (TradingView, MT4/MT5, cTrader, NinjaTrader, Tradovate) is a Premium feature (€29.99/month). But start free: full journal, daily CSV import and 1 discovery AI analysis, no credit card. Try it.

Turn theory into practice

Create my account