# Plug in your indicator in Trading view and Control your TP, SL & Trailing SL - Free Futures Template

**URL:** <https://community.delta.exchange/t/plug-in-your-indicator-in-trading-view-and-control-your-tp-sl-trailing-sl-free-futures-template/2493>\
**Category:** APIs & Algo Trading\
**Created:** [October 3, 2026, 2:11pm UTC](https://community.delta.exchange/t/plug-in-your-indicator-in-trading-view-and-control-your-tp-sl-trailing-sl-free-futures-template/2493 "2026-10-03T14:11:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayush.aggrwl](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@ayush.aggrwl](https://community.delta.exchange/u/ayush.aggrwl)\
**Post date:** [October 3, 2026, 2:11pm UTC](https://community.delta.exchange/t/plug-in-your-indicator-in-trading-view-and-control-your-tp-sl-trailing-sl-free-futures-template/2493/1 "2026-10-03T14:11:32Z")

</div>

We are releasing a free TradingView strategy template for traders trading futures on Delta Exchange (BTC, ETH, SOL, XRP, gold tokens, US stock tokens and every other perpetual listed on the exchange). It lets you attach take-profit, stop-loss and trailing stop-loss to any indicator you already trade, and routes every resulting order to your Delta account automatically. You supply the entry logic; the template manages the trade from open to close.

Full walkthrough:

[![](https://canada1.discourse-cdn.com/flex004/uploads/deltaexchange/original/1X/ab7086e2d09ed8233e940fee5aaf0f5bad9fde72.jpeg "How to Automate TP, SL & Trailing Stop Loss for Futures Strategy | FREE Delta Exchange Template") ](https://www.youtube.com/watch?v=tmOFycLjrA0)

## From signal to execution -

Automating a strategy on TradingView has until now meant building the entire execution layer yourself: position tracking, stop and target placement, reversal handling, and correctly formatted webhook payloads. The alternative was trading your signals manually and managing every exit by hand.

With this template, you add your entry conditions and nothing else. Targets, stops, trailing stops, reversals and order dispatch are already built in and tested.

## Key features

- **Bring your own signal** — one indicator or several. A clearly marked block in the code is the only section you edit.
- **Take-profit and stop-loss** — configurable in points or percentage.
- **Trailing stop-loss** — follows price as the trade moves in your favour, with an optional activation threshold so it only engages once you are in profit.
- **Automatic reversal** — an opposite signal closes the open position and opens the new one, sent as two separate orders.
- **Intrabar execution** — stops and targets rest as live orders, so they trigger the moment price touches your level rather than at candle close.
- **Auto-sync on deployment** — prevents the strategy from sending an exit for a position your Delta account never opened.
- **Full backtest** — runs in TradingView’s Strategy Tester, with commission and slippage set by default.
- **On-chart status panel** — live position, entry price, active stop and target levels, and running P&L.

## How to integrate

1. Create a webhook strategy on Delta Exchange India and copy the Strategy ID.
2. Add the template to your chart and paste the Strategy ID into the settings.
3. Insert your indicator in the marked signal block and assign the two entry conditions. Everything outside that block stays as it is.
4. Configure quantity, take-profit, stop-loss and trailing stop.
5. Create the alert. Right-click the chart, select Add alert, and set Condition to the strategy. Set Trigger to **Order fills only** , set Message to `{{strategy.order.alert_message}}`, and paste your Delta webhook URL.
6. Test before going live. Run the backtest, then run it on Delta testnet until you have seen a complete cycle: entry, target, stop and reversal.

A single alert covers entries, exits and reversals. No further configuration is required.

## Links

- **Template:** [Trading View link](https://www.tradingview.com/script/eu0Nwl8S-Delta-Exchange-Futures-TP-SL-TSL-Template/)
- **Video walkthrough:** [Open walkthrough](https://www.youtube.com/watch?v=tmOFycLjrA0)

---

<div class="post-metadata">

**Author:** ![patriatsanjay](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@patriatsanjay](https://community.delta.exchange/u/patriatsanjay)\
**Post date:** [October 4, 2026, 12:08am UTC](https://community.delta.exchange/t/plug-in-your-indicator-in-trading-view-and-control-your-tp-sl-trailing-sl-free-futures-template/2493/2 "2026-10-04T00:08:27Z")

</div>

> आदरणीय डेल्टा एक्सचेंज टीम,

---

<div class="post-metadata">

**Author:** ![MSG](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MSG](https://community.delta.exchange/u/MSG)\
**Post date:** [October 4, 2026, 11:13am UTC](https://community.delta.exchange/t/plug-in-your-indicator-in-trading-view-and-control-your-tp-sl-trailing-sl-free-futures-template/2493/3 "2026-10-04T11:13:27Z")

</div>

Thank you for your useful information ,as I am a aged person and not tech savvy, but holding trading account with Delta exchange, so I request you please help me to set up the trading system in my account, my contact number is 9474092155.  
Please do the needful and oblige.  
Thanking you,  
Somen Mitra
