INVITE-ONLY SCRIPT
Adaptive Entry/Exit Signals with Optional TP Confirmation

Adaptive Entry/Exit Signals with Optional TP Confirmation (Indicator)
What’s unique
What it does
This indicator highlights six events on the active timeframe:
Optionally, it draws dynamic exit lines that mirror the thresholds used by the logic.
How signals are calculated (high level):
Trend bands
Entries
Exits
Take-Profit (optional)
If TP % > 0, the tool computes a TP from the entry bar and confirms with RSI (default: >70 for longs, <20 for shorts).
Exit Lines (optional)
Inputs (essentials)
Filters (toggleable)
Visuals
Alerts Included
Tip: For stable behavior, set alerts to Once per bar close.
Notes & Best Practices
Repainting & Data Policy
Chart Types
Limitations & Disclosure
Version & Scope
What’s unique
- Gated entry sequencing: Prevents duplicate Long/Short labels within the same move (“lock/unlock”).
- Exit-line visualization tied to prior extremes: Plots step lines showing the exact exit thresholds the logic uses.
- Optional multi-filter confluence: ADX/DI trend check, Chandelier Stop, hold/cooldown rules.
- Optional Take-Profit (TP) confirmation using RSI.
What it does
This indicator highlights six events on the active timeframe:
- Long — potential long entry
- Exit Long — exit condition for an open long
- Long TP — take-profit trigger for a long
- Short — potential short entry
- Exit Short — exit condition for an open short
- Short TP — take-profit trigger for a short
Optionally, it draws dynamic exit lines that mirror the thresholds used by the logic.
How signals are calculated (high level):
Trend bands
- highBand = highest high of the last Trend Window bars
- lowBand = lowest low of the last Trend Window bars
Entries
- Long when price breaks (or equals) the previous bar’s highBand.
- Short when price breaks (or equals) the previous bar’s lowBand.
- Gating:
- Lock/unlock prevents multiple entry labels in one directional move.
- A bar-ordering gate reduces immediate flip-flops.
Exits
- Exit Long = lowest(low, Exit Window)[1]
- Exit Short = highest(high, Exit Window)[1]
- Optional filters can require:
- Close beyond the exit line
- ADX/DI (Average Directional Index/Directional Indicators, Wilder) trend-loss check
- Chandelier Stop (ATR-based) confluence
- Minimum hold time after entry
Take-Profit (optional)
If TP % > 0, the tool computes a TP from the entry bar and confirms with RSI (default: >70 for longs, <20 for shorts).
Exit Lines (optional)
- Plotted as step lines while “in position”:
- Long Exit Line = lowest(low, Exit Window)[1]
- Short Exit Line = highest(high, Exit Window)[1]
Inputs (essentials)
- Trend Window — lookback for high/low bands
- Exit Window — lookback for exit thresholds
- TP % — percent distance from entry to compute TP (0 disables)
- RSI Length / Cutoffs — for TP confirmation
Filters (toggleable)
- Close must cross the exit line
- ADX/DI trend-loss check (Wilder’s method)
- Chandelier Stop (ATR-based) confluence
- Minimum hold bars after entry
- Cooldown bars after exit before re-entry
Visuals
- Show/hide trend bands and exit lines.
Alerts Included
- Long Entry, Short Entry
- Exit Long, Exit Short
- Long TP, Short TP
Tip: For stable behavior, set alerts to Once per bar close.
Notes & Best Practices
- This is an indicator, not a strategy; it does not open/close trades.
- Signals are calculated on the current chart timeframe only (single-timeframe logic).
- Parameter choices are context-dependent. As a starting point:
- Faster charts: consider a slightly larger Exit Window and enable Close must cross to reduce wick exits.
- Slower charts: filters can be relaxed.
Repainting & Data Policy
- No lookahead is used.
- The script does not request higher timeframes for its logic.
- On real-time (in-progress) bars, visuals and alerts can update until the bar closes. For confirmation-style use, wait for bar close and/or use the provided filters (e.g., close-only or 2-bar style confirmation).
Chart Types
- Designed for standard Candlestick/Bar charts.
- Not intended for Heikin Ashi, Renko, Kagi, Point & Figure, or Range charts.
Limitations & Disclosure
- No performance claims are made.Past behavior does not guarantee future results.
- For educational and analytical purposes only; not financial advice. Always do your own research and use risk management.
Version & Scope
- Scope: Entry/Exit/TP framework with optional exit filters and exit-line visualization.
- Engine: Single-timeframe logic (no MTF); Wilder-style ADX/DI implemented internally for portability.
- Pine version: v5
- External libraries: none
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡aitradingsignals。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
To request access, please DM me on TradingView with the subject "Access Request".
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
🚀 Unlock our advanced tools → aitradingsignals.co
📥 Contact me for script access & strategy guides
🎯 Built for momentum, breakout & BTC cycle traders
📥 Contact me for script access & strategy guides
🎯 Built for momentum, breakout & BTC cycle traders
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡aitradingsignals。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
To request access, please DM me on TradingView with the subject "Access Request".
提醒:在請求訪問權限之前,請閱讀僅限邀請腳本指南。
🚀 Unlock our advanced tools → aitradingsignals.co
📥 Contact me for script access & strategy guides
🎯 Built for momentum, breakout & BTC cycle traders
📥 Contact me for script access & strategy guides
🎯 Built for momentum, breakout & BTC cycle traders
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。