How does tsl (trailing stop loss) works? — Tradetron Community
← Community

How does tsl (trailing stop loss) works?

Keyword help 9,708 views

BToka

Any possible guidance on this ?

Umesh Ranglani Tradetron team

There are 3 settings you can use to setup the Trailing Stop loss feature on your strategy.

Activate at allows you to set the absolute amount of money the strategy should be in profit for the TSL to get activated. At this level the TSL will set to 0 which means if the profit falls back to 0, the strategy will exit and you will not end up making no profit no loss.

As the profit increases and goes in favour of your strategy, you want to trail the stop loss so that you dont give away all the notional profit the strategy had made. For which you use the other 2 settings … You can set it up to increase the TSL by xxx amount when the profit increases by yyy … So lets say you activate the TSL at 3000 profit and then choose to increase it by 1000 with every 1000 increase in profit. So when the profit touches 4000, the TSL will be at 1000 and at 5000 profit it will be at 2000 ; now if the profit drops to 2000, the strategy will exit for all positions.

TSL can only be setup at strategy level and not at a set level. If you wish to set it up at a set level, you have to use your own keywords and conditions to make that happen.

Chetan

Could you please share an example how-to set trailing stop loss for different sets?

Ashish Vivek Thakur

TSL works for Strategy only… and not for individual sets… although it will be really nice to have it for each set…

@Chuser see if you can use exit conditions for your set as a universal exit condition and then you will be able to use Trailing Stop Loss…

Pallavi Date

how does apply each stock trailing stop loss

Ujjwal

TSL in tradetron works on the strategy level.

Sushant Shekhar

How does strategy multiplier affect trailing stop loss? Is every value in trailing stop loss setting getting scaled by multiplier?

Ujjwal

yes, TSL gets adjusted as per the multiplier

Sushant Shekhar

Hi,
I was thinking of implementing a Set level trailing stop loss. For this purpose, I need to find the peak of PnL until that moment. Is there any keyword which can do that?

Or is there a template code to implement set level trailing stop loss?

Learn

@subsacnt were you able to find how to do it?

Ujjwal

hi, currently set level tsl is not possible. can be achieved by custom coding service

Learn

Is there any sample Python code available for this?

Dkorsegaonkar

what is ‘stoploss trigger’ in order condition builder window ?
i want to set Bracket order for my strategy with Trailing stoploss, What should i do ?

Shiv_Kushwaha

Hi, Kindly let me know if we can apply each leg-wise or set-wise Trailing Stop loss now, or any suggestion to do so in Tradetron

Tradetron Team Tradetron team

Tradetron now has four kinds of trailing stop loss. The older replies here say TSL works only at strategy level; that is no longer the whole picture.

The four TSLs

  1. Leg TSL / Leg SL Trail (keywords): trail one traded leg. Add it in Repair Once, pick the instrument and its location, choose Points or Percentage. No comparator needed.
  2. Universal Exit TSL (keyword): strategy-level trailing, usable only inside Universal Exit.
  3. Advanced Settings TSL: set on the strategy itself. It is “TSL to cost”: once the activation level is reached, the stop moves to cost and locks profit. Fields: Activate at, When profit increased by, Increase TSL by.
  4. Portfolio TSL: one combined target / SL / TSL across several deployments, in Portfolio Management.

The four fields (Leg TSL and Universal Exit TSL)

  • Activate at: the favourable move before trailing starts. Must be non-zero.
  • Lock profit at: where the stop sits once trailing starts.
  • Increase profit by: the extra favourable move needed before the stop steps up.
  • Increase TSL by: how far the stop moves each step.

Example: you buy a PUT at 100 with Activate at = 20 (Points). Trailing begins only once the price is above 120.

Things to know

  • Enter values at 1X. They scale with the deployment multiplier automatically.
  • Leg TSL works only when that leg enters once per counter. It does not trail re-entries.
  • Test in Live Offline before going live.

Guides: Trailing Stop Loss (TSL): How It Works on Tradetron · Leg TSL video: https://www.youtube.com/watch?v=M2PlEGXmSNc · Keywords: Keyword Documentation — Tradetron

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.