PRO TREND PULLBACK

PRO TREND PULLBACK – trend-following pullback strategy (NAS100 / US30 focus, 1m)
What is this?
- EMA-based trend + pullback entry logic, with optional VWAP and EMA-order filters.
- Built-in preset system for NAS100/US30 on the 1-minute timeframe (Safe / Balanced / Turbo), plus a fully manual “Custom” mode.
Core logic (quick overview)
1) Trend filter:
- Above EMA TREND: long bias, below: short bias
- Optional: VWAP filter, EMA order filter, HTF EMA TREND filter, Multi-EMA direction filter
2) Pullback trigger:
- Pullback level selectable: FAST / MID / SLOW EMA
- Long: touch + bullish confirmation, Short: touch + bearish confirmation (toggleable)
3) Quality filters:
- RSI zone filter (separate for long/short)
- Candle filters: doji / oversized candle / wick (pin-zone) / low-volatility block
- ADX trend-strength filter (via ta.dmi), entry cooldown (bar-based)
- Sideways/range handling: Filter / Penalty / Edge-only mode (ADX + slope + “chop” cross counter)
Risk management / trade management (backtest & automation)
- ATR-based SL/TP: SL, TP1, TP2 (TP1 partial close optional)
- Break-even trigger based on ATR (optional)
- “Max bars in trade” time-based exit (optional)
- Volatility-regime scaling: dynamic SL/TP scaling in high-volatility regimes (optional)
Signal grading (Grade / Score)
- Radar-style scoring + grade: S / A / B / C
- Structural penalties (e.g., lower low / higher high, EMA50 touch, proximity to swing high)
- Trend “fatigue” penalty (down-weights repeated same-direction signals)
- Optional “Lux SMC-lite” score layer (BOS/CHoCH + OB + EQH/EQL + Premium/Discount)
- Optional “ABC-lite (Elliott A-B-C)” score layer (pivot-based)
Alerts / Robot JSON (for webhook)
- Built-in JSON alerts via alert() with watchlist-friendly fields:
secret, strategy, signal, signal_type, symbol, timeframe, time (UTC), price, + optional grade/score
- TradingView alert setup: Condition = “Any alert() function call”
(Webhook URL + your own secret is recommended)
Important notes
- This is a STRATEGY (strategy) intended for backtesting and signal logic. Before live use, test thoroughly and account for slippage/spread differences.
- Pivot-based components (SMC-lite / ABC-lite) are naturally confirmation-based (delayed), so “structure/ABC” values do not print instantly.
- Not financial advice. Use at your own risk.
Suggested starting setup
- Presets: Auto + Balanced (NAS100/US30 1m), then fine-tune with Safe/Turbo.
- For robot mode: turn useRobotAlert=ON and change payloadSecret to a unique value.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Adimadi.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả chấp thuận mới có thể truy cập tập lệnh này. Bạn sẽ cần yêu cầu và được cấp quyền sử dụng. Thông thường quyền này được cấp sau khi thanh toán. Để biết thêm chi tiết, làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với Adimadi.
TradingView KHÔNG khuyến nghị bạn trả phí hoặc sử dụng một tập lệnh trừ khi bạn hoàn toàn tin tưởng vào tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm các lựa chọn miễn phí, mã nguồn mở trong các script cộng đồng của chúng tôi.