OPEN-SOURCE SCRIPT

Turtle Soup_Long Sys1 & Sys2

609
Gold stepped line โ€” System 1: the rolling 20-day high. Price closing above it is an S1 long breakout, labeled S1 โ–ฒ
Teal stepped line โ€” System 2: the rolling 55-day high. Breakout labeled S2 โ–ฒโ–ฒ and takes priority over S1 if both fire simultaneously
Gold fill zone โ€” the band between S1 and S2 highs โ€” shows you where youโ€™re in โ€œno manโ€™s landโ€ between the two systems
Coral stepped line โ€” 10-day low channel, the original S1 exit rule
Orange stepped line โ€” 20-day low channel, the original S2 exit rule
Orange fill โ€” shaded zone between the two exit channels so you can visually see the exit buffer below price
Purple stepped line โ€” the ATR trailing stop. Starts at 2ร— ATR below entry, trails up in 0.5 ATR increments as price advances and as pyramid units are added. Never moves down. Disappears when flat
Dashboard table โ€” live S1/S2 levels, both exit channel lows, current ATR value, and trade status showing system type + number of units
Labels โ€” S1 โ–ฒ on 20-day breaks, S2 โ–ฒโ–ฒ on 55-day breaks, +2U / +3U / +4U on pyramid adds, EXIT when the trade is closedโ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹โ€‹

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.