Home Forums Trading view How can I avoid duplicate orders when TradingView sends multiple alerts?

How can I avoid duplicate orders when TradingView sends multiple alerts?

  • Author
    Posts
    • I’m using a TradingView strategy with AlgoDelta, but sometimes multiple alerts are triggered within a short period of time. Because of this, I’m worried that duplicate orders might get placed for the same signal.

      Is there any way to avoid duplicate entries while using AlgoDelta?

    • Yes sir, this is one of the most common questions when users start automating their TradingView strategies.

      In most cases, duplicate orders are not caused by AlgoDelta. They usually happen because the TradingView alert or the strategy is configured in a way that sends multiple alerts for the same trading signal.

      To avoid this, you can follow these recommendations:

      -Step 1:

      While creating the TradingView alert, set the Trigger option to:

      -One Per Bar Close

      This ensures that TradingView sends only one alert after the candle closes instead of sending multiple alerts while the candle is still forming.

      -Step 2:

      Make sure your strategy or indicator generates only one Buy or Sell signal for a single trading opportunity.

      If your script keeps returning the same signal on every tick, TradingView may continue sending alerts.

      -Step 3:

      If you’re using a Pine Script strategy, use proper entry conditions so that a new order is generated only when a fresh signal appears instead of on every price update.

      -Step 4:

      If you’re using the Custom Bridge, make sure the Upside and Downside executions are configured correctly. If you’re using the JSON Bridge, verify that your generated syntax matches your intended trading logic.

      So, in simple terms, the best practice is:

      -Use “One Per Bar Close” while creating alerts.
      -Generate alerts only when a new trading signal occurs.
      -Avoid writing strategy logic that repeatedly sends the same signal.

Viewing 1 reply thread
×

Start a Discussion

Get help from the AlgoDelta community.

×

Welcome Back!

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

⚠️

Delete This?

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

Scroll to Top