How to connect the JSON Bridge with a TradingView indicator?

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

I have an SMA indicator on TradingView.

When the fast SMA crosses above the slow SMA, it gives a LONG signal. When it crosses below, it gives a SHORT signal.

Now I want to use those signals to place trades in Futures through AlgoDelta.

How can I connect my TradingView indicator with the JSON Bridge?

Posted Jun 3
Reply

    1 Reply

    Tech Support AlgoDelta
    Tech Support AlgoDelta Automation Expert ·

    Yes, you can definitely do that using the JSON Bridge.

    The main difference is that indicator-based trading requires two separate alerts — one for LONG signals and one for SHORT signals.
    <h3>Step 1</h3>
    Go to the JSON Bridge and click:

    Generate Syntax

    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:

    • Exit on Opposite
    • Stop Loss
    • Target
    • Rollover

    After configuration, copy the generated JSON syntax.

    Step 2: Copy the webhook URL from the JSON Bridge.

    Step 3 : Open TradingView and apply your indicator on the chart.

    Then create a new alert.

    Step 4 :In the Condition dropdown, select your indicator.

    Step 5 : For the first alert, select: Crossing Up : This will be your LONG signal alert.

    Step 6 : In the Value dropdown below, select the same indicator.

    Step 7 : In the Trigger option, select: Once Per Bar Close :

    This is generally recommended to avoid false signals.

    Step 8 : Give any alert name you want.

    In the Message section, paste the JSON syntax generated from the JSON Bridge. Click Apply.

    Step 9 : Open the Notifications section.

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

    Then click Create

    Step 10 : Now create a second alert.

    Keep everything exactly the same except:

    Crossing Up

    should be changed to:

    Crossing Down

    This will become your SHORT signal alert.

    That’s it.

    Now:

    • When the indicator generates a LONG signal → Futures BUY order will be placed
    • When the indicator generates a SHORT signal → Futures SELL order will be placed
    Verified Solution
    • Thanks a lot. The steps are too detailed with images it’s very easy to connect JSON Bridge with trading view. – 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.