πŸ›‘ Practice Lab #4 β€” Trailing Stop Strategy

← Practice Labs πŸ“Š Reports πŸ”΄ HAL

S.E.T.-Aligned Trailing Stop

Generate Pine Script v6 + ThinkScript code for a trailing stop that activates only AFTER the trade is in 1R profit and never moves down or replaces the initial S.E.T. stop. The trail locks in profit; the S.E.T. stop protects the entry. Two stops, two jobs, no contradiction.

Pine Script v6 ThinkScript Activates after 1R ⚠ S.E.T.-aligned exit overlay
⚠ S.E.T. Rule: The initial stop set at entry IS the S.E.T. stop. Position size was already computed FROM that stop (1% Γ— account Γ· stop_distance). The trailing stop is a separate overlay; it never replaces or weakens the original S.E.T. stop. The effective stop = max(S.E.T. stop, trailing stop).

Configure your trailing stop

Default 2 β€” Academy standard for swing trades.
Trail activates at this profit level. 1.0R = breakeven + initial stop.
Manual is more flexible. SMA cross is for backtesting demos.
Set parameters and click Generate. Typical: 4–8 seconds.
Pine Script output will appear here.
ThinkScript output will appear here.