Super Trend exit based on value — Tradetron Community
← Community

Super Trend exit based on value

Uncategorized 872 views

Uday

Dear Experts,

Thank you for the amazing knowledge that you bring here.

help that I am looking for is with an indicator whenever there is a Buy or Sell signal, once the trade is taken I want to exit once I have 5 rs profit with every signal

9:25 AM Buy signal takes the trade for 1 lot of 25 @200 rs exit once it reaches 205 at 9:27
9:30 AM Sell Signal takes the trade for 1 lot of 25 @200 rs exit once it reaches 205 at 9:35

hoping for help

Tradetron Team Tradetron team

Use a per-leg target that compares the traded leg’s live price with its own entry price. It works the same way for every signal.

Exit condition (Set Exit of each set)

Buy set (bought at 200, exit at 205):
LTP(Traded Instrument Name(Entry, 1, 1, 1)) >= Traded Instrument(Entry, 'price', <underlying>, 1, 1, 1) + Number(5)

Sell set (sold at 200, exit at 195):
LTP(Traded Instrument Name(Entry, 1, 1, 1)) <= Traded Instrument(Entry, 'price', <underlying>, 1, 1, 1) - Number(5)

Traded Instrument with field price returns the fill price of that set’s condition 1, leg 1, so the target follows each new entry automatically.

Simpler option

Add a Repair Once with the Leg Exit keyword and type Target Points = 5 for the leg.

Re-entry on the next signal

After the exit, the set goes back to checking its Entry, so the next Supertrend signal can enter again. If you want to cap trades per day, add a runtime-variable counter to the entry.

Recommended structure: Recomended Structure for Get runtime, Traded instrument, Traded instrument name keyword. | Tradetron Helpdesk · Test in Live Offline first.

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