Home Forums Trading view How to connect the JSON Bridge with a TradingView indicator?

How to connect the JSON Bridge with a TradingView indicator?

  • Author
    Posts
    • 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?

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

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

      Generate Syntax

      Configure your trade settings.

      Example:

        <li style=”font-weight: 400;” aria-level=”1″>Order Type: Strategy Order
        <li style=”font-weight: 400;” aria-level=”1″>Script Type: Future
        <li style=”font-weight: 400;” aria-level=”1″>Symbol: NIFTY-N (NFO)
        <li style=”font-weight: 400;” aria-level=”1″>Expiry Gap: 0
        <li style=”font-weight: 400;” aria-level=”1″>Product: Carry Forward
        <li style=”font-weight: 400;” aria-level=”1″>Quantity: 1
        <li style=”font-weight: 400;” aria-level=”1″>Transaction Type: Buy / Sell

      You can also configure:

        <li style=”font-weight: 400;” aria-level=”1″>Exit on Opposite
        <li style=”font-weight: 400;” aria-level=”1″>Stop Loss
        <li style=”font-weight: 400;” aria-level=”1″>Target
        <li style=”font-weight: 400;” aria-level=”1″>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 <b>Condition</b> 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.

        <li style=”font-weight: 400;” aria-level=”1″>Enable Webhook URL
        <li style=”font-weight: 400;” aria-level=”1″>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:

        <li style=”font-weight: 400;” aria-level=”1″>When the indicator generates a LONG signal → Futures BUY order will be placed
        <li style=”font-weight: 400;” aria-level=”1″>When the indicator generates a SHORT signal → Futures SELL order will be placed
    • Thanks a lot.

      The steps are too detailed with images it’s very easy to connect JSON Bridge with trading view.

Viewing 2 reply threads
×

Start a Discussion

Get help from the AlgoDelta community.

×

Welcome Back!

Enter your email to sign in or create an account. No passwords needed.

Pending Approval

⚠️

Delete This?

Are you sure you want to delete this? This action is permanent and cannot be undone.

Scroll to Top