OPEN-SOURCE SCRIPT
Trader Marks Trailing SL + TP (BE @ 66%)

📌 Title
Trader Marks Trailing SL + TP (BE @ 66%)
📌 Description
This indicator combines Stop-Loss, Take-Profit, and Trailing Stop management into one tool.
It offers two different modes:
S/L+ EXACT → Reproduces the classic ATR Trailing Stop Indicator [Chart] (by ZenAndTheArtOfTrading) with full accuracy.
Advanced (Delay + BE + Ratchet) →
Uses a fixed SL until X hours after entry
Then switches to ATR-based trailing stop (ratchet, never reverses)
Moves the stop to Break-Even once Y% of the distance to the target has been reached
📌 Features
✅ Two modes: Classic & Advanced
✅ Works for both Long & Short trades
✅ Manual entry, SL and TP levels
✅ Start delay for trailing (e.g. 12 hours)
✅ ATR-based ratcheting (never moves backwards)
✅ Automatic Break-Even stop at 66% of the way to TP (adjustable)
✅ Visual plots for Entry, SL, TP, current Stop, and 66%-threshold
✅ Alerts for Stop-Hit, TP-Hit, and BE activation
📌 Parameters
Setup
Direction: Long / Short
Entry Price
Stop-Loss
Take-Profit (manual)
Mode
S/L+ EXACT
Advanced (Delay+BE+Ratchet)
S/L+ Parameters
ATR Length (default 14)
High/Low lookback (default 7)
ATR Multiplier (default 1.0)
Basis: High/Low, Close, or Open
Advanced Parameters
ATR Length (e.g. 14)
ATR Multiplier (e.g. 1.0)
Update only on bar close (true/false)
Start delay in hours (e.g. 12)
BE Threshold in % of distance to TP (default 66%)
Option to stop trailing after BE
📌 Alerts
Stop Hit (Long)
Stop Hit (Short)
TP Reached (Long)
TP Reached (Short)
Break-Even Active
📌 Recommended Defaults
Mode: Advanced (Delay+BE+Ratchet)
ATR Length: 14
Lookback: 7
ATR Multiplier: 1.0
Start Delay: 12 hours
Break-Even Threshold: 66%
Trader Marks Trailing SL + TP (BE @ 66%)
📌 Description
This indicator combines Stop-Loss, Take-Profit, and Trailing Stop management into one tool.
It offers two different modes:
S/L+ EXACT → Reproduces the classic ATR Trailing Stop Indicator [Chart] (by ZenAndTheArtOfTrading) with full accuracy.
Advanced (Delay + BE + Ratchet) →
Uses a fixed SL until X hours after entry
Then switches to ATR-based trailing stop (ratchet, never reverses)
Moves the stop to Break-Even once Y% of the distance to the target has been reached
📌 Features
✅ Two modes: Classic & Advanced
✅ Works for both Long & Short trades
✅ Manual entry, SL and TP levels
✅ Start delay for trailing (e.g. 12 hours)
✅ ATR-based ratcheting (never moves backwards)
✅ Automatic Break-Even stop at 66% of the way to TP (adjustable)
✅ Visual plots for Entry, SL, TP, current Stop, and 66%-threshold
✅ Alerts for Stop-Hit, TP-Hit, and BE activation
📌 Parameters
Setup
Direction: Long / Short
Entry Price
Stop-Loss
Take-Profit (manual)
Mode
S/L+ EXACT
Advanced (Delay+BE+Ratchet)
S/L+ Parameters
ATR Length (default 14)
High/Low lookback (default 7)
ATR Multiplier (default 1.0)
Basis: High/Low, Close, or Open
Advanced Parameters
ATR Length (e.g. 14)
ATR Multiplier (e.g. 1.0)
Update only on bar close (true/false)
Start delay in hours (e.g. 12)
BE Threshold in % of distance to TP (default 66%)
Option to stop trailing after BE
📌 Alerts
Stop Hit (Long)
Stop Hit (Short)
TP Reached (Long)
TP Reached (Short)
Break-Even Active
📌 Recommended Defaults
Mode: Advanced (Delay+BE+Ratchet)
ATR Length: 14
Lookback: 7
ATR Multiplier: 1.0
Start Delay: 12 hours
Break-Even Threshold: 66%
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.