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

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.
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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。