Unlock advanced technical analysis with the Nadaraya-Watson: Envelope (Non-Repainting) With MACD indicator.
Combining the robust smoothing capabilities of the Nadaraya-Watson estimator with the momentum insights of the MACD (Moving Average Convergence Divergence), this powerful tool offers precise trend detection, dynamic envelope boundaries, and actionable crossover signals—all while ensuring non-repainting reliability.
Key Features
Nadaraya-Watson Estimator: Provides a smooth trend line (yhat_close) that effectively filters out market noise. Dynamic Envelopes: Utilizes ATR-based upper and lower boundaries that adapt to market volatility. MACD Integration: Incorporates customizable MACD settings to assess market momentum. Crossover Signals: Displays green crosses when the MACD signal line crosses above zero and red crosses when it crosses below zero. Non-Repainting: Ensures all signals are based on confirmed historical data, providing reliable and consistent indicators. Customizable Aesthetics: Offers extensive color and style options to match your charting preferences.
How to Use
Trend Identification: - Observe the Nadaraya-Watson Estimator (yhat_close) to determine the underlying trend direction. - Use the envelope boundaries to identify potential support and resistance levels based on market volatility. Momentum Confirmation: - Analyze the MACD line, signal line, and histogram to assess market momentum and potential trend reversals. - Look for changes in the MACD histogram to identify strengthening or weakening momentum. Crossover Signals: - Green Cross (✗): Consider bullish trades when the MACD signal line crosses above zero, especially if the price is above the Nadaraya-Watson trend line. - Red Cross (✗): Consider bearish trades when the MACD signal line crosses below zero, especially if the price is below the Nadaraya-Watson trend line. Envelope Interaction: - Monitor price interactions with the upper and lower envelope boundaries to identify potential breakout or reversal opportunities.
Customization Options
Kernel Settings: Adjust lookback window (h), relative weighting (alpha), and regression start bar (x_0) to tailor the estimator to different market conditions. MACD Settings: Modify fast and slow lengths, signal smoothing periods, and choose between SMA or EMA for moving averages. Envelope ATR Settings: Customize ATR length (atr_length) and near/far ATR factors (nearFactor & farFactor) to control envelope sensitivity. Color Settings: Select from a range of colors for trend lines, envelopes, and MACD components to enhance visual clarity.
I find that this works very well if you increase the 'timeframe' for the indicator to a higher time frame. Give this indicator a try!
ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
-=Gentleman Goat=- Download the TradingView Input Optimizer at tradingtools.software/optimizer
Discord: discord.gg/pGHHRczpbu
גם על:
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.