How to connect the JSON Bridge with a TradingView strategy?

Asked by Radhesh Joshi · SOLVED
1 reply 859 views Jump to solution Reply
Radhesh Joshi Original Post
Strategy Builder

I have a strategy running on the Nifty chart in TradingView.

What I want is:

  • When a BUY signal comes then I have to Buy Nifty Futures
  • When a SELL signal comes then I have to Sell Nifty Futures

I’m not sure how to connect JSON Bridge with my TradingView strategy.

Can someone explain the complete setup process?

Posted Jun 1
Reply

    1 Reply

    Tech Support AlgoDelta
    Tech Support AlgoDelta Automation Expert ·

    Yes, you can definitely do that with the Json bridge

    Just follow these steps:

    Step 1: Go to the JSON Bridge page and click: Generate Syntax

    Step 2:  Configure your trade settings.

    Example:

    • Order Type: Strategy Order
    • Script Type: Future
    • Symbol: NIFTY-N (NFO)
    • Expiry Gap: 0
    • Product: Carry Forward
    • Quantity: 1
    • Transaction Type: Buy / Sell

    You can also configure optional settings like:

    • Exit on Opposite
    • Stop Loss
    • Target
    • Rollover

    Step 3:  After filling the details, the JSON will be generated automatically on the right side.

    Copy that JSON.

    Step 4:  Now copy the webhook URL from the yellow copy icon available in the JSON Bridge.

    Step 5:  Open TradingView and apply your strategy on the chart.

    Then create a new Alert.

    In the Condition dropdown, select your strategy.

    Step 6:  Go to the message section:

    Give any alert name, for example: JSON ALERT

    Now paste the copied JSON into the Message section.

    Click Apply.

    Step 7: Go to the Notifications section.

    • Enable Webhook URL
    • Paste the webhook URL copied from the JSON Bridge

    Then click Apply.

    That’s it.

    Now whenever:

    BUY signal comes from your strategy -> Nifty Future BUY order will be placed.

    SELL signal comes from your strategy -> Nifty Future SELL order will be placed.

    Verified Solution
    • Perfect, this is exactly what I was looking for. The steps were too detailed and with images it’s easy to configure. Thanks for the help. – Radhesh Joshi Jun 14
    Markdown supported · ```json for code blocks · paste or drop screenshots

    Be specific and kind. Never share API keys, passwords or personal account details.

    Welcome to the community

    Log in or create your account in under a minute.

    1. 1Mobile
    2. 2E-mail
    3. 3Password
    +91

    Have a password?

    By continuing you agree to the community guidelines. We’ll send a one-time code by SMS.