TechniTrend: Advance Custom Candle Finder (CCF)🟦 Description:
The TechniTrend: Advanced Custom Candle Finder (CCF) is a versatile tool designed to help traders identify custom candlestick patterns using various configurable criteria. This indicator provides a flexible framework to filter and highlight specific candles based on volume, volatility, candle characteristics, and other important metrics. Below is a detailed explanation of each filter and its customization options:
🟦 Volume-Based Filters
🔸Volume Spike Filter:
Enable filtering based on volume spikes. Use the Volume Spike Multiplier to define what constitutes a significant increase in volume compared to the average. A spike indicates unusually high trading interest.
🔸Volume Range Filter:
Filter candles based on specific volume ranges. Set Minimum Volume and Maximum Volume thresholds to isolate candles with trading volumes within your desired boundaries.
🟦 Candle Body & Wick Filters
🔸Body Size Filter:
Filter candles based on the size of their body. A Body Size Multiplier determines what is considered a large body relative to historical averages.
🔸Body Percentage Filter:
Filter based on the proportion of the body to the entire candle size. Use the Body Percentage Threshold to highlight candles where the body makes up a certain percentage of the total candle range.
🔸Wick-to-Body Ratio Filter:
Identify candles with specific wick-to-body ratios. A higher Wick-to-Body Ratio can indicate indecision or reversals.
🟦 Volatility & Range Filters
🔸Volatility Filter:
Highlight candles based on price changes relative to volume. The Volatility Multiplier sets the threshold for what is considered a volatile candle.
🔸Candle Range Filter:
Filter based on the range (High - Low) of each candle. Use Minimum Candle Range and Maximum Candle Range to specify your desired candle size in points or pips.
🔸Short-Term and Long-Term Volatility Filters:
Analyze volatility over different periods. Enable Short-Term Volatility or Long-Term Volatility filters to compare recent volatility against historical averages, helping you detect sudden market shifts.
🟦 Candle Color & Open/Close Filters
🔸Candle Color Filter:
Filter based on the candle's color. Choose between Bullish (close > open) or Bearish (close < open) to focus on specific market sentiments.
🔸Open/Close Price Range Filter:
Filter based on the difference between the open and close prices. Use Minimum Open/Close Range and Maximum Open/Close Range to specify your acceptable range in price movements.
🟦 Core Functionality
The CCF indicator combines these filters to provide a final signal whenever a candle meets all the enabled criteria. By default, it highlights any qualifying candle directly on the chart and changes the background color for added visibility.
🟦 Key Features:
🔸Highly Customizable Filters: Adjust the parameters for each filter to tailor the indicator to your specific needs.
🔸Multiple Conditions: Combine several conditions to identify complex candlestick patterns.
🔸Real-Time Alerts: Receive instant notifications when a matching candle pattern is found based on your custom criteria.
🟦 How to Use:
🔸Enable the filters you wish to apply (e.g., Volume Spike, Candle Body Size, Volatility).
🔸Adjust the thresholds for each filter to fine-tune the pattern recognition criteria.
🔸Observe the chart to see visual cues for candles that match your specified conditions.
🟦 Notes:
🔸Ensure that you clearly understand each filter’s role. Over-filtering with very strict criteria may reduce the number of signals.
🔸This indicator is designed to be a customizable tool, not providing buy or sell recommendations.
🔸Use in combination with other analysis tools and indicators for the best results.
Marketvolatility
Auto Fitting GARCH OscillatorOverview
The Auto Fitting GARCH Oscillator is a sophisticated volatility indicator that dynamically fits GARCH (Generalized Autoregressive Conditional Heteroskedasticity) models to the price data. It optimizes the parameters of the GARCH model to provide a reliable measure of volatility, which is then normalized to fit within a 0-100 range, making it easy to interpret as an oscillator. This indicator helps traders identify periods of high and low volatility, which can be crucial for making informed trading decisions.
Key Features
Dynamic GARCH(p, q) Fitting: Automatically optimizes the GARCH model parameters for the best fit.
Volatility Oscillator: Normalizes the volatility measure to a 0-100 range, indicating overbought and oversold conditions.
Customizable Timeframes: Adapts to various chart timeframes, from intraday to monthly data.
Projected Volatility: Provides options for projecting future volatility based on the optimized GARCH model.
User-friendly Visualization: Displays the oscillator with clear overbought and oversold levels.
Concepts Underlying the Calculations
The indicator leverages the GARCH model, which is widely used in financial time series analysis to model volatility clustering. The GARCH model considers past variances and returns to predict future volatility. This indicator dynamically adjusts the p and q parameters of the GARCH model within a specified range to find the optimal fit, minimizing the sum of squared errors (SSE).
How It Works
Data Preparation: Calculates the logarithmic returns and lagged variances from the price data.
SSE Optimization: Iterates through different p and q values to find the best GARCH parameters that minimize the SSE.
GARCH Calculation: Uses the optimized parameters to calculate the GARCH-based volatility.
Normalization: Normalizes the calculated volatility to a 0-100 range to form an oscillator.
Visualization: Plots the oscillator with overbought (70) and oversold (30) levels for easy interpretation.
How Traders Can Use It
Volatility Analysis: Identify periods of high and low volatility to adjust trading strategies accordingly.
Overbought/Oversold Conditions: Use the oscillator levels to identify potential reversal points in the market.
Risk Management: Incorporate volatility measures into risk management strategies to avoid trades during highly volatile periods.
Projection: Use the projected volatility feature to anticipate future market conditions.
Example Usage Instructions
Add the Indicator: Apply the "Auto Fitting GARCH Oscillator" to your chart from the Pine Script editor or TradingView library.
Customize Parameters: Adjust the maxP and maxQ values to set the range for GARCH model optimization.
Select Data Type: Choose between "Projected Variance in %" or "Projected Deviation in %" based on your analysis preference.
Set Projection Periods: Use the perForward input to specify how many periods forward you want to project the volatility.
Interpret the Oscillator: Observe the oscillator line and the overbought/oversold levels to make informed trading decisions.
Average True Range ShiftThis indicator builds on the idea of the Average True Range (ATR) as a way of measuring volatility. It uses two different ATRs to show a shift in market volatility.
It is mainly composed of two moving averages of ATR. One fast moving, which looks back at the previous 5 periods. One slow moving, which looks back at the previous 21 periods. Both ATRs have been normalized (show percentage instead of an absolute amount). The third component of this indicator is the histogram that is created by subtracting the slow moving average, from the fast moving average.
By having two ATRs of different lengths, traders can see how short term volatility compares to long term volatility, and how it is shifting over time. When the fast-moving crosses above the slow-moving, it will show a positive value on the histogram, meaning that short term volatility is increasing and higher than normal. When it crosses below, it will show a negative value on the histogram, meaning that short term volatility is decreasing, and lower than normal.
There are a variety of ways to utilize this indicator, and it will work in most markets. I find it is best to analyze macro market conditions on daily charts and above, rather than micro intraday moves.