PROTECTED SOURCE SCRIPT

Entry/Stop/Take — TP: R or Nearest Level + Offset + Prep Lines

30
Title:
Entry/Stop/Take — TP by R-multiple or Nearest Level
Description:
This indicator plots Entry, Stop-Loss and Take-Profit levels after a signal.
How it works:
• Signal example: breakout of a lookback range filtered by EMA200 (you can replace it).
• Stop-Loss = ATR × SL Multiplier.
• Take-Profit modes:
– R-multiple: TP = Entry ± (ATR × SL Mult × TP Mult).
– Nearest level: closest swing resistance (long) or support (short), with configurable offset to exit before the level.
• Lines start at the signal bar and extend until SL or TP is hit.
• Optional right-edge labels and a mini table with values.
Inputs: ATR Length, SL Mult, TP Mult, Lookback (breakout), TP Mode (R-multiple / Nearest level), pivot settings and search window, level offset (%), toggles for labels/table.
Notes:
• No advertisements or external links.
• This script is for educational purposes only and does not constitute financial advice. Backtest and adjust parameters before using in live markets.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน