Connect TradingView to Tradetron (indicators, strategies, Pine Script) — Tradetron Community
← Help Center

Connect TradingView to Tradetron (indicators, strategies, Pine Script)

Integrations & API 2 views

TradingView alerts can trigger trades on Tradetron. TradingView sends a webhook with a JSON message that carries your strategy’s auth token.

Setup in short

  1. In Tradetron go to My Strategies, click the three dots on your strategy, choose API OAuth, set Hybrid Mode as needed, and click Link. This gives you the auth token. The token works for that one strategy only and changes if you unlink and relink.
  2. In your TradingView alert, set the webhook URL to: https://api.tradetron.tech/api? (keep the ? at the end).
  3. Put the signal in the alert message, for example:
    {"auth-token":"<your-auth-token>","key":"nifty_buy","value":"1","key1":"nifty_sell","value1":"1"}
    Start with key/value, then key1/value1, key2/value2 and so on.

Full walkthrough: How to connect TradingView strategies with Tradetron. There is also a free course: Automating TradingView signals on Tradetron · TT Uni

Can I use TradingView indicators and strategies?

Yes. Built-in indicators and custom strategies both work. Set an alert on any condition and send it by webhook. The steps are the same.

Can I use Pine Script?

Yes, through alerts. Pine Script does not run on Tradetron itself; only its alerts come in through the webhook. To run the logic on Tradetron, rebuild it in the condition builder or Python.

Hybrid Mode

With API signals, Tradetron does not check your conditions by default. Set Hybrid Mode = Yes if you also want Tradetron to run your target and stop loss exits.

QTY vs LOTS

GET RUNTIME in an Fx formula only works when the position builder is set to QTY. It does not work with LOTS or VALUE.

Good to know

  • Chartink is not supported as a signal source.
  • A received signal stays set until a Universal Exit. If your strategy loops, reset the signal runtime variable to 0 at entry and at exit.
  • Webhooks are limited to 3 per second, 30 per minute and 250 per hour.

Need help? Chat with support on tradetron.tech.

:sparkles: Edited with AI from the original Tradetron article, checked against current docs (Oct 2026). Spot something wrong? Tell us in the Community.

Still stuck? Ask the community

Tradetron अब हिन्दी में भी उपलब्ध है हिन्दी में देखें Continue in English