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.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.