OPEN-SOURCE SCRIPT
已更新 Pro Day Trader (v6)

The Pro Day Trader (v6) is a comprehensive overlay indicator designed for intraday trading on TradingView. It generates buy and sell signals based on trend, momentum, and volatility filters, while incorporating session-based levels and risk management tools. Optimized for stocks and futures, it features auto-profiling to adapt settings by asset type and price range, ensuring reliable performance across various markets. Signals are plotted as triangles with stops and targets, supported by visual aids like a dashboard and alert conditions.
Key Features
Trend and Momentum Detection: Utilizes fast and slow EMAs (default 9/21) for crossovers, combined with RSI (default length 14) thresholds to confirm momentum. Optional higher-timeframe (HTF) EMA filter (default 200-period on 60m) aligns trades with broader trends.
Volatility and Risk Controls: Employs ATR (default length 14, multiple 1.5) for dynamic stops (Chandelier or offset modes) and targets (default 2R). Includes a minimum ATR floor to filter low-volatility conditions, with auto-tuning for sub-5m charts.
Session and Time Filters: Restricts signals to Regular Trading Hours (RTH, customizable), with options to avoid lunch periods or include extended hours for stocks. Anchors VWAP to RTH sessions, with SMA fallback for volume-unavailable feeds.
Levels and Ranges: Plots Opening Range (OR, default 30 minutes), previous high/low/close, pivots (PP, R1/S1, R2/S2), and Central Pivot Range (CPR) for support/resistance visualization.
Auto-Profiling and EZ Mode: Automatically adjusts parameters based on symbol type (stocks, futures, or other) and price level. EZ Mode simplifies configuration via a single "Signal Intensity" slider (1-5), overriding presets for conservative to aggressive trading.
Visuals and Diagnostics: Colors bars by regime, displays a customizable dashboard with key metrics (e.g., ATR, HTF trend, VWAP side), and optional debug pins to identify missed signals due to filters.
Alerts: Triggers for long/short entries, plus crossovers of OR highs/lows and pivot points.
How It Works
Signals occur on EMA crossovers filtered by RSI gates (e.g., RSI ≥52 for longs), gate modes (HTF and/or VWAP alignment), ATR thresholds, and time windows. Long signals require an upward trend, bullish momentum, and sufficient volatility; shorts follow inverse logic. Stops and targets are calculated dynamically, with risk expressed in points or dollars (accounting for point value, e.g., 50 for ES futures).
Customization
Inputs are grouped for ease:
Trend & Momentum: Adjust EMAs, HTF filter, RSI levels, and gate modes ("Both", "Either", or "None" for HTF/VWAP requirements).
Volatility & Risk: Tune ATR settings, stop modes, and target R-multiple.
Session, VWAP & Opening Range: Define RTH sessions, avoid periods, OR duration, and VWAP options.
Levels: Pivots & Previous: Toggle visibility of pivots, CPR, and prior session levels.
Auto Profile: Enable auto-detection or manual overrides; auto-tunes RSI for stocks based on price.
EZ Controls: Activate for simplified intensity-based presets (overrides other modes for quick setup).
Visuals & Alerts: Control bar coloring, dashboard compactness, stop/target plots, diagnostics, and alerts.
Usage Tips
Best suited for intraday charts (1m-15m) on US stocks or futures like ES/NQ. For non-US assets, disable auto-profile and set manual market type.
Use EZ Mode for beginners: Intensity 1-2 for fewer, higher-quality signals; 4-5 for scalping.
Monitor the dashboard for real-time context, and enable diagnostics to understand filter impacts.
Backtest on historical data to refine inputs; note that signals are non-repainting due to lookahead_off in security calls.
Requires volume data for accurate VWAP; fallback SMA ensures functionality on thin feeds.
This indicator promotes disciplined trading by combining multiple filters, reducing noise while highlighting high-probability setups. For support or feedback, refer to TradingView's community discussions.
Key Features
Trend and Momentum Detection: Utilizes fast and slow EMAs (default 9/21) for crossovers, combined with RSI (default length 14) thresholds to confirm momentum. Optional higher-timeframe (HTF) EMA filter (default 200-period on 60m) aligns trades with broader trends.
Volatility and Risk Controls: Employs ATR (default length 14, multiple 1.5) for dynamic stops (Chandelier or offset modes) and targets (default 2R). Includes a minimum ATR floor to filter low-volatility conditions, with auto-tuning for sub-5m charts.
Session and Time Filters: Restricts signals to Regular Trading Hours (RTH, customizable), with options to avoid lunch periods or include extended hours for stocks. Anchors VWAP to RTH sessions, with SMA fallback for volume-unavailable feeds.
Levels and Ranges: Plots Opening Range (OR, default 30 minutes), previous high/low/close, pivots (PP, R1/S1, R2/S2), and Central Pivot Range (CPR) for support/resistance visualization.
Auto-Profiling and EZ Mode: Automatically adjusts parameters based on symbol type (stocks, futures, or other) and price level. EZ Mode simplifies configuration via a single "Signal Intensity" slider (1-5), overriding presets for conservative to aggressive trading.
Visuals and Diagnostics: Colors bars by regime, displays a customizable dashboard with key metrics (e.g., ATR, HTF trend, VWAP side), and optional debug pins to identify missed signals due to filters.
Alerts: Triggers for long/short entries, plus crossovers of OR highs/lows and pivot points.
How It Works
Signals occur on EMA crossovers filtered by RSI gates (e.g., RSI ≥52 for longs), gate modes (HTF and/or VWAP alignment), ATR thresholds, and time windows. Long signals require an upward trend, bullish momentum, and sufficient volatility; shorts follow inverse logic. Stops and targets are calculated dynamically, with risk expressed in points or dollars (accounting for point value, e.g., 50 for ES futures).
Customization
Inputs are grouped for ease:
Trend & Momentum: Adjust EMAs, HTF filter, RSI levels, and gate modes ("Both", "Either", or "None" for HTF/VWAP requirements).
Volatility & Risk: Tune ATR settings, stop modes, and target R-multiple.
Session, VWAP & Opening Range: Define RTH sessions, avoid periods, OR duration, and VWAP options.
Levels: Pivots & Previous: Toggle visibility of pivots, CPR, and prior session levels.
Auto Profile: Enable auto-detection or manual overrides; auto-tunes RSI for stocks based on price.
EZ Controls: Activate for simplified intensity-based presets (overrides other modes for quick setup).
Visuals & Alerts: Control bar coloring, dashboard compactness, stop/target plots, diagnostics, and alerts.
Usage Tips
Best suited for intraday charts (1m-15m) on US stocks or futures like ES/NQ. For non-US assets, disable auto-profile and set manual market type.
Use EZ Mode for beginners: Intensity 1-2 for fewer, higher-quality signals; 4-5 for scalping.
Monitor the dashboard for real-time context, and enable diagnostics to understand filter impacts.
Backtest on historical data to refine inputs; note that signals are non-repainting due to lookahead_off in security calls.
Requires volume data for accurate VWAP; fallback SMA ensures functionality on thin feeds.
This indicator promotes disciplined trading by combining multiple filters, reducing noise while highlighting high-probability setups. For support or feedback, refer to TradingView's community discussions.
發行說明
Update. 開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。