PROTECTED SOURCE SCRIPT
TrendPilot AI v2 โ Smart ATR Indicator with Zones

TrendPilot AI v2 is a smart price-action and ATR-based trading system designed for swing and position traders. It combines trend-following logic with adaptive price zones to help users identify high-probability Buy and Sell opportunities โ along with intelligent re-entry points, weak signal detection, and visual structure zones.
๐ง Core Features:
โ ATR-based Buy/Sell signals with confirmation logic
โ Dynamic 99 EMA Channel for trend context
โ Re-entry triangles for stacking or retracing setups
โ 150 EMA Weak Signal Detection for early trend warnings
โ ๐งญ Price Action Zones (Premium, Equilibrium, Discount)
โ Visual alerts via triangles, labels, and color-coded logic
โ Designed for 15m, 1H, and 4H charts โ also useful on Daily
๐ง How It Works (Logic Breakdown)
1๏ธโฃ Trend Direction โ EMA Channel Logic
A 99 EMA Channel determines the dominant market bias.
If price is above the channel โ trend is Bullish โ Buy signals are valid
If price is below the channel โ trend is Bearish โ Sell signals are valid
2๏ธโฃ Buy/Sell Signals โ ATR Trailing Logic
The system uses custom ATR trailing logic to detect when price momentum shifts.
When a breakout aligns with trend direction, a Buy or Sell label appears.
These are designed to capture the main trend leg or reversal zone.
3๏ธโฃ Re-Entry Signals โ Triangle Visual Cues
During a confirmed trend, if price retraces to the EMA channel, a small triangle is shown:
๐ผ Green triangle: Buy re-entry during bullish trend
๐ฝ Red triangle: Sell re-entry during bearish trend
These are not new signals but continuation cues for advanced traders.
4๏ธโฃ Weak Signal Detection โ 150 EMA Logic
A secondary 150 EMA helps detect possible trend exhaustion.
If price dips below 150 EMA during a bullish run, an orange triangle appears (โ ๏ธ caution).
If price rises above 150 EMA during a bearish run, a blue triangle appears.
This signals potential weakening of the active trend.
5๏ธโฃ Price Zones โ Premium, Equilibrium, Discount
TrendPilot AI v2 draws 3 smart price zones based on ATR & market structure:
๐ฅ Premium Zone (Top) โ Overbought area, caution for long trades
๐จ Equilibrium Zone (Middle) โ Fair value, consolidation possible
๐ฉ Discount Zone (Bottom) โ Oversold, better long entries
These zones help filter signals and avoid entries in risky areas.
Example: Avoid Buy signals inside Premium zone.
๐งช Suggested Use:
โ ๏ธ Note for Users:
This script is not repainting. All signals are plotted with stable logic.
Past performance does not guarantee future results โ always backtest first.
Script does not contain financial advice โ use at your own discretion.
๐ง Core Features:
โ ATR-based Buy/Sell signals with confirmation logic
โ Dynamic 99 EMA Channel for trend context
โ Re-entry triangles for stacking or retracing setups
โ 150 EMA Weak Signal Detection for early trend warnings
โ ๐งญ Price Action Zones (Premium, Equilibrium, Discount)
โ Visual alerts via triangles, labels, and color-coded logic
โ Designed for 15m, 1H, and 4H charts โ also useful on Daily
๐ง How It Works (Logic Breakdown)
1๏ธโฃ Trend Direction โ EMA Channel Logic
A 99 EMA Channel determines the dominant market bias.
If price is above the channel โ trend is Bullish โ Buy signals are valid
If price is below the channel โ trend is Bearish โ Sell signals are valid
2๏ธโฃ Buy/Sell Signals โ ATR Trailing Logic
The system uses custom ATR trailing logic to detect when price momentum shifts.
When a breakout aligns with trend direction, a Buy or Sell label appears.
These are designed to capture the main trend leg or reversal zone.
3๏ธโฃ Re-Entry Signals โ Triangle Visual Cues
During a confirmed trend, if price retraces to the EMA channel, a small triangle is shown:
๐ผ Green triangle: Buy re-entry during bullish trend
๐ฝ Red triangle: Sell re-entry during bearish trend
These are not new signals but continuation cues for advanced traders.
4๏ธโฃ Weak Signal Detection โ 150 EMA Logic
A secondary 150 EMA helps detect possible trend exhaustion.
If price dips below 150 EMA during a bullish run, an orange triangle appears (โ ๏ธ caution).
If price rises above 150 EMA during a bearish run, a blue triangle appears.
This signals potential weakening of the active trend.
5๏ธโฃ Price Zones โ Premium, Equilibrium, Discount
TrendPilot AI v2 draws 3 smart price zones based on ATR & market structure:
๐ฅ Premium Zone (Top) โ Overbought area, caution for long trades
๐จ Equilibrium Zone (Middle) โ Fair value, consolidation possible
๐ฉ Discount Zone (Bottom) โ Oversold, better long entries
These zones help filter signals and avoid entries in risky areas.
Example: Avoid Buy signals inside Premium zone.
๐งช Suggested Use:
โ Timeframes: 15m / 1H / 4H / 1D
โ Combine signals with zone analysis for optimal entries
โ Use re-entry triangles to add or confirm during pullbacks
โ Use weak signal warnings to tighten stops or manage risk
โ Works best in trending environments or breakout markets
โ ๏ธ Note for Users:
This script is not repainting. All signals are plotted with stable logic.
Past performance does not guarantee future results โ always backtest first.
Script does not contain financial advice โ use at your own discretion.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had โ ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had โ ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.