Wizard Wave ADX 3 Candles

Use with Wizard Wave ADX 3 for better results
Purpose: Combines moving average differences (SMADif) with the ADX (Average Directional Index) to generate buy and sell signals.
Features:
Displays a histogram based on the difference between two SMAs (short and long).
Colors the histogram and bars green or red based on trend direction.
Generates buy and sell signals when certain conditions are met.
Inputs and Configuration
Source (src): The price data used for calculations (default: close).
SMA1 Length (sma1length): Short SMA period (default: 5).
SMA2 Length (sma2length): Long SMA period (default: 35).
Show Dif as Percent (UsePercent): Whether the SMA difference is shown as a percentage of the current candle's close.
ADX Length (adxLength): Period for calculating the ADX (default: 14).
ADX Threshold (adxThreshold): Minimum ADX value to trigger buy/sell signals (default: 25).
How It Works
Moving Average Difference (SMADif):
Calculates the difference between two SMAs.
Optionally normalizes it as a percentage of the current price.
ADX Calculation:
Measures trend strength using the ADX formula.
Signal Logic:
Buy Signal: SMADif crosses above 0, is positive (green), and ADX is above the threshold.
Sell Signal: SMADif crosses below 0, is negative (red), and ADX is above the threshold.. Visual Outputs
Histogram:
A histogram of SMADif is plotted with green for positive values and red for negative values.
Bar Colors:
Bars are colored green for upward trends and red for downward trends.
Buy and Sell Signals:
"BUY" labels are shown below bars when buy conditions are met.
"SELL" labels are shown above bars when sell conditions are met.
Adjust the SMA lengths, ADX length, or threshold values in the script’s settings to match your trading strategy.
Interpret Signals:
Look for the green "BUY" and red "SELL" labels on the chart.
Use the histogram Wizard Wave ADX 3 and bar colors to confirm trends and potential entry/exit points.
Practical Use
Trend Following:
Use the indicator in trending markets where ADX confirms strong trend strength.
Choppy Markets: May generate false signals during sideways or low-volatility markets.
Parameter Sensitivity: Requires tuning of SMA lengths and ADX thresholds to align with specific trading instruments.
This indicator can serve as a helpful guide for trend-following strategies, especially when paired with additional analysis and risk management.
"Disclaimer: This indicator is intended for educational purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform their own research and consult with a licensed financial advisor before making any trading decisions."
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com WIZARDTRENDS.
Observe que este script privado, somente para convidados, não foi revisado pelos moderadores de scripts, e sua conformidade com as Regras da Casa é indeterminada. A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.
Instruções do autor
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com WIZARDTRENDS.
Observe que este script privado, somente para convidados, não foi revisado pelos moderadores de scripts, e sua conformidade com as Regras da Casa é indeterminada. A TradingView NÃO recomenda pagar ou usar um script, a menos que você confie totalmente em seu autor e entenda como ele funciona. Você também pode encontrar alternativas gratuitas e de código aberto em nossos scripts da comunidade.