OPEN-SOURCE SCRIPT
업데이트됨

Crash Prevention OpenSource by exp3rts

752
Open Source Version - no updates!

Crash Prevention OpenSource by exp3rts – Automated Exit Strategy for TradingView

This indicator allows you to automatically close positions based on dynamic price levels derived from the previous candle with a configurable offset. Perfect for risk management and automated “hard stop” exits.


Key Features:
  • Flexible Exit Directions: Choose to trigger exits for Long, Short, or Both directions.
  • Dynamic Exit Levels: Lines are automatically calculated above/below the previous candle plus/minus a user-defined offset in points.
  • Visual Cues: Clear arrows indicate the exact bar where price touched the exit line.
  • Session-Independent: Works on any chart and timeframe without manual adjustments.
  • Webhook Alerts: Sends JSON alerts on touch, enabling integration with external systems or bots.
  • Auto-Close Logic: Ensures positions are closed immediately when the threshold is breached, keeping trades in check.


How it works:
For Long exits, the line is drawn below the previous bar’s low minus the offset.
For Short exits, the line is drawn above the previous bar’s high plus the offset.
When price crosses the line, the position is closed, an arrow is plotted on the chart, and an alert is fired.


Ideal for traders who want strict stop management or automated exit conditions while keeping visual clarity on the chart.
릴리즈 노트
- clean-up

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.