Uptrick: Zero Lag HMA Trend Suite1. Name and Purpose
Uptrick: Zero Lag HMA Trend Suite is a Pine Version 6 script that builds upon the Hull Moving Average (HMA) to offer an advanced trend analysis tool. Its purpose is to help traders identify trend direction, potential reversals, and overall market momentum with reduced lag compared to traditional moving averages. By combining the HMA with Average True Range (ATR) thresholds, slope-dependent coloring, Volume Weighted Average Price (VWAP) ribbons, and optional reversal signals, the script aims to give a detailed view of price activity in various market environments.
2. Overview
This script begins with the calculation of a Hull Moving Average, a method that blends Weighted Moving Averages in a way designed to cut down on lag while still smoothing out price fluctuations. Next, several enhancements are applied. The script compares current HMA values to previous ones for slope-based coloring, which highlights uptrends and downtrends at a glance. It also plots buy and sell signals when price moves beyond or below thresholds determined by the ATR and the user’s chosen signal multiplier. An optional VWAP ribbon can be shown to confirm bullish or bearish conditions relative to a volume-weighted benchmark. Additionally, the script can plot reversal signals (labeled with B) at points where price crosses back toward the HMA from above or below. Taken together, these elements allow traders to visualize both the short-term momentum and the broader context of how price interacts with volatility and overall market direction.
3. Why These Indicators Have Been Linked Together
The reason the Hull Moving Average, the Average True Range, and the VWAP have been integrated into one script is to tackle multiple facets of market analysis in a single tool. The Zero Lag Hull Moving Average provides a responsive trend line, the ATR offers a measure of volatility that helps distinguish significant price shifts from typical fluctuations, and the VWAP acts as a reference for fair value based on traded volume. By layering all three, the script helps traders avoid the need to juggle multiple separate indicators and offers a holistic perspective. The slope-based coloring focuses on trend direction, the ATR-based thresholds refine possible buy and sell zones, and the VWAP ribbons provide insight into how price stands relative to an important volume-weighted level. The inclusion of up and down signals and reversal B labels further refines entries and exits.
4. Why Use Uptrick: Zero Lag HMA Trend Suite
The Hull Moving Average is already known for reacting more quickly to price changes compared to other moving averages while retaining a degree of smoothness. This suite enhances the basic HMA by showing colored gradients that make it easy to spot trend direction changes, highlighting potential entry or exit points based on volatility-driven thresholds, and optionally layering a volume-based measure of bullish or bearish market sentiment. By relying on a zero lag approach and additional data points, the script caters to those wanting a more responsive method of identifying shifts in market dynamics. The added reversal signals and up or down alerts give traders extra confirmation for potential turning points.
5. How This Extension Improves on the Basic HMA
This extension not only plots the Hull Moving Average but also includes data-driven alerts and visual cues that traditional HMA lines do not provide. First, it offers multi-layered slope coloring, making up or down trends quickly apparent. Second, it uses ATR-based thresholds to pinpoint moments when price may be extending beyond normal volatility, thus generating buy or sell signals. Third, the script introduces an optional VWAP ribbon to indicate whether the market is trading above or below this pivotal volume-weighted benchmark, adding a further confirmation step for bullish or bearish conditions. Finally, it incorporates optional reversal signals labeled with B, indicating points where price might swing back toward the main HMA line.
6. Core Components
The script can be broken down into several primary functions and features.
a. Zero Lag HMA Calculation
Uses two Weighted Moving Averages (half-length and full-length) combined through a smoothing step based on the square root of the chosen length. This approach is designed to reduce lag significantly compared to other moving averages.
b. Slope Detection
Compares current and prior HMA values to determine if the trend is up or down. The slope-based coloring changes between turquoise shades for upward movement and magenta shades for downward movement, making trend direction immediately visible.
c. ATR-Based Thresholding for Up and Down Signals
The script calculates an Average True Range over a user-defined period, then multiplies it by a signal factor to form two bands around the HMA. When price crosses below the lower band, an up (buy) signal appears; when it crosses above the upper band, a down (sell) signal is shown.
d. Reversal Signals (B Labels)
Tracks when price transitions back toward the main HMA from an extreme zone. When enabled, these reversal points are labeled with a B and can help traders see potential turning points or mean-reversion setups.
e. VWAP Bands
An optional Volume Weighted Average Price ribbon that plots above or below the HMA, indicating bullish or bearish conditions relative to a volume-weighted price benchmark. This can also act as a kind of support/ resistance.
7. User Inputs
a. HMA Length
Controls how quickly the moving average responds to price changes. Shorter lengths react faster but can lead to more frequent signals, whereas longer lengths produce smoother lines.
b. Source
Specifies the price input, such as close or an alternative source, for the calculation. This can help align the HMA with specific trading strategies.
c. ATR Length and Signal Multiplier
Defines how the script calculates average volatility and sets thresholds for buy or sell alerts. Adjusting these values can help filter out noise or highlight more aggressive signals.
d. Slope Index
Determines how many bars to look back for detecting slope direction, influencing how sensitive the slope coloring is to small fluctuations.
e. Show Buy and Sell Signals, Reversal Signals, and VWAP
Lets users toggle the display of these features. Turning off certain elements can reduce chart clutter if traders prefer a simpler layout.
8. Calculation Process
The script’s calculation follows a step-by-step approach. It first computes two Weighted Moving Averages of the selected price source, one over half the specified length and one over the full length. It then combines these using 2*wma1 minus wma2 to reduce lag, followed by applying another weighted average using the square root of the length. Simultaneously, it computes the ATR for a user-defined period. By multiplying ATR by the signal multiplier, it establishes upper and lower bands around the HMA, where crossovers generate buy (up) or sell (down) signals. The script can also plot reversal signals (B labels) when price crosses back from these bands in the opposite direction. For the optional VWAP feature, Pine Script’s ta.vwap function is used, and differences between the HMA and VWAP levels determine the color and opacity of the ribbon.
9. Signal Generation and Filtering
The ATR-based thresholds reduce the influence of small, inconsequential price swings. When price falls below the lower band, the script issues an up (buy) signal. If price breaks above the upper band, a down (sell) signal appears. These signals are visible through labels placed near the bars. Reversal signals, labeled with B, can be turned on to help detect when price retraces from an extended area back toward the main HMA line. Traders can disable or enable these signals to match their preferred level of chart detail or risk tolerance.
10. Visualization on the Chart
The Zero HMA Lag Trend Suite aims for visual clarity. The HMA line is plotted multiple times with increasing transparency to create a gradient effect. Turquoise gradients indicate upward slopes, and magenta gradients signify downward slopes. Bar coloring can be configured to align with the slope direction, providing quick insight into current momentum. When enabled, buy or sell labels are placed under or above the bars as price crosses the ATR-defined boundaries. If the reversal option is active, B labels appear around areas where price changes direction. The optional VWAP ribbons form background bands, using distinct coloration to signal whether price is above or below the volume-weighted metric.
11. Market Adaptability
Because the script’s parameters (HMA length, ATR length, signal multiplier, and slope index) are user-configurable, it can adapt to a wide range of markets and timeframes. Intraday traders may prefer a shorter HMA length for quick signals, while swing or position traders might use a longer HMA length to filter out short-lived price changes. The source setting can also be adjusted, allowing for specialized data inputs beyond just close or open values.
12. Risk Management Considerations
The script’s signals and labels are based on past price data and volatility readings, and they do not guarantee profitable outcomes. Sharp market reversals or unforeseen fundamental events can produce false signals. Traders should combine this tool with broader risk management strategies, including stop-loss placement, position sizing, and independent market analyses. The Zero HMA Lag Trend Suite can help highlight potential opportunities, but it should not be relied upon as the sole basis for trade decisions.
13. Combining with Other Tools
Many traders choose to verify signals from the Zero HMA Lag Trend Suite using popular indicators like the Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), or even simple volume-based metrics to confirm whether a price movement has sufficient momentum. Conventional techniques such as support and resistance levels, chart patterns, or candlestick analysis can also supplement signals generated by the script’s up, down, or reversal B labels.
14. Parameter Customization and Examples
a. Short-Term Day Trading
Using a shorter HMA length (for instance, 9 or 14) and a slightly higher ATR multiplier might provide timely buy and sell signals, though it may also produce more whipsaws in choppy markets.
b. Swing or Position Trading
Selecting a longer HMA length (such as 50 or 100) with a moderate ATR multiplier can help users track more significant and sustained market moves, potentially reducing the effect of minor fluctuations.
c. Multiple Timeframe Blends
Some traders load two versions of the indicator on the same chart, one for short-term signals (with frequent B label reversals) and another for the broader trend direction, aligning entry and exit decisions with the bigger picture.
15. Realistic Expectations
Even though the Hull Moving Average helps minimize lag and the script incorporates volatility-based filters and optional VWAP overlays, it cannot predict future market behavior with complete accuracy. Periods of low liquidity or sudden market shocks can still lead to signals that do not reflect longer-term trends. Frequent parameter review and manual confirmation are advised before executing trades based solely on the script’s outputs.
16. Theoretical Background
The Hull Moving Average formula aims to balance smoothness with reactivity, accomplished by combining Weighted Moving Averages at varying lengths. By subtracting a slower average from a faster one and then applying another smoothing step with the square root of the original length, the HMA is designed to respond more promptly to price changes than typical exponential or simple moving averages. The ATR component, introduced by J. Welles Wilder, calculates the average range of price movement over a user-defined period, allowing the script to assess volatility and adapt signals accordingly. VWAP provides a volume-weighted benchmark that many institutional traders track to gauge fair intraday value.
17. Originality and Uniqueness
Although multiple HMA-based indicators can be found, Uptrick: Zero Lag HMA Trend Suite sets itself apart by merging slope-based coloring, ATR thresholds, VWAP ribbons, up or down labels, and optional reversal signals all in one cohesive platform. This synergy aims to reduce chart clutter while still giving traders a comprehensive look at trend direction, volatility, and volume-based sentiment.
18. Summary
Uptrick: Zero Lag HMA Trend Suite is a specialized trading script designed to highlight potential market trends and reversals with minimal delay. It leverages the Hull Moving Average for an adaptive yet smooth price line, pairs ATR-based thresholds for detecting possible breakouts or dips, and provides VWAP-based ribbons for added volume-weighted context. Traders can further refine their entries and exits by enabling up or down signals and reversal labels (B) where price may revert toward the HMA. Suitable for a wide range of timeframes and instrument types, the script encourages a disciplined approach to trade management and risk control.
19. Disclaimer
This script is provided for informational and educational purposes only. Trading and investing involve significant financial risk, and no indicator can guarantee success under all conditions. Users should practice robust risk management, including the placement of stop losses and position sizing, and should confirm signals with additional analysis tools. The developer of this script assumes no liability for any trading decisions or outcomes resulting from its use.
Volatility
PDF-MA Supertrend [BackQuant]PDF-MA Supertrend
The PDF-MA Supertrend combines the innovative Probability Density Function (PDF) smoothing with the widely popular Supertrend methodology, creating a robust tool for identifying trends and generating actionable trading signals. This indicator is designed to provide precise entries and exits by dynamically adapting to market volatility while visualizing long and short opportunities directly on the chart.
Core Feature: PDF Smoothing
At the foundation of this indicator is the PDF smoothing technique, which applies a Probability Density Function to calculate a smoothed moving average. This method allows the indicator to assign adaptive weights to data points, making it responsive to market changes without overreacting to short-term volatility.
Key parameters include:
Variance: Controls the spread of the PDF weighting. A smaller variance results in sharper responses, while a larger variance smooths out the curve.
Mean: Shifts the PDF’s center, allowing traders to tweak how weights are distributed around the data points.
Smoothing Method: Offers the choice between EMA (Exponential Moving Average) and SMA (Simple Moving Average) for blending the PDF-smoothed data with traditional moving average methods.
By combining these parameters, the PDF smoothing creates a moving average that effectively captures underlying trends.
Supertrend: Adaptive Trend and Volatility Tracking
The Supertrend is a well-known volatility-based indicator that dynamically adjusts to market conditions using the ATR (Average True Range). In this script, the PDF-smoothed moving average acts as the price input, making the Supertrend calculation more adaptive and precise.
Key Supertrend Features:
ATR Period: Determines the lookback period for calculating market volatility.
Factor: Multiplies the ATR to set the distance between the Supertrend and the price. A higher factor creates wider bands, filtering out smaller price movements, while a lower factor captures tighter trends.
Dynamic Direction: The Supertrend flips its direction based on price interactions with the calculated upper and lower bands:
Uptrend : When the price is above the Supertrend, the direction turns bullish.
Downtrend : When the price is below the Supertrend, the direction turns bearish.
This combination of PDF smoothing and Supertrend calculation ensures that trends are detected with greater accuracy, while volatility filters out market noise.
Long and Short Signal Generation
The PDF-MA Supertrend generates actionable trading signals by detecting transitions in the trend direction:
Long Signal (𝕃): Triggered when the trend transitions from bearish to bullish. This is visually represented with a green triangle below the price bars.
Short Signal (𝕊): Triggered when the trend transitions from bullish to bearish. This is marked with a red triangle above the price bars.
These signals provide traders with clear entry and exit points, ensuring they can capitalize on emerging trends while avoiding false signals.
Customizable Visualization Options
The indicator offers a range of visualization settings to help traders interpret the data with ease:
Show Supertrend: Option to toggle the visibility of the Supertrend line.
Candle Coloring: Automatically colors candlesticks based on the trend direction:
Green for long trends.
Red for short trends.
Long and Short Signals (𝕃 + 𝕊): Displays long (𝕃) and short (𝕊) signals directly on the chart for quick identification of trade opportunities.
Line Color Customization: Allows users to customize the colors for long and short trends.
Alert Conditions
To ensure traders never miss an opportunity, the PDF-MA Supertrend includes built-in alerts for trend changes:
Long Signal Alert: Notifies when a bullish trend is identified.
Short Signal Alert: Notifies when a bearish trend is identified.
These alerts can be configured for real-time notifications via SMS, email, or push notifications, making it easier to stay updated on market movements.
Suggested Parameter Adjustments
The indicator’s effectiveness can be fine-tuned using the following guidelines:
Variance:
For low-volatility assets (e.g., indices): Use a smaller variance (1.0–1.5) for smoother trends.
For high-volatility assets (e.g., cryptocurrencies): Use a larger variance (1.5–2.0) to better capture rapid price changes.
ATR Factor:
A higher factor (e.g., 2.0) is better suited for long-term trend-following strategies.
A lower factor (e.g., 1.5) captures shorter-term trends.
Smoothing Period:
Shorter periods provide more reactive signals but may increase noise.
Longer periods offer stability and better alignment with significant trends.
Experimentation is encouraged to find the optimal settings for specific assets and trading strategies.
Trading Applications
The PDF-MA Supertrend is a versatile indicator suited to a variety of trading approaches:
Trend Following : Use the Supertrend line and signals to follow market trends and ride sustained price movements.
Reversal Trading : Spot potential trend reversals as the Supertrend flips direction.
Volatility Analysis : Adjust the ATR factor to filter out minor price fluctuations or capture sharp movements.
Final Thoughts
The PDF-MA Supertrend combines the precision of Probability Density Function smoothing with the adaptability of the Supertrend methodology, offering traders a powerful tool for identifying trends and volatility. With its customizable parameters, actionable signals, and built-in alerts, this indicator is an excellent choice for traders seeking a robust and reliable system for trend detection and entry/exit timing.
As always, backtesting and incorporating this indicator into a broader strategy are recommended for optimal results.
Radial Basis Kernal ATR [BackQuant]Radial Basis Kernel ATR
The Radial Basis Kernel ATR is a trading indicator that combines the classic Average True Range (ATR) with advanced Radial Basis Function (RBF) kernel smoothing . This innovative approach creates a highly adaptive and precise tool for detecting volatility, identifying trends, and providing dynamic support and resistance levels.
With its configurable parameters and ability to adjust to market conditions, this indicator offers traders a robust framework for making informed decisions across various assets and timeframes.
Key Feature: Radial Basis Function Kernel Smoothing
The Radial Basis Function (RBF) kernel is at the heart of this indicator, applying sophisticated mathematical techniques to smooth price data and calculate an enhanced version of ATR. By weighting data points dynamically, the RBF kernel ensures that recent price movements are given appropriate emphasis without overreacting to short-term noise.
The RBF kernel uses a gamma factor to control the degree of smoothing, making it highly adaptable to different asset classes and market conditions:
Gamma Factor Adjustment :
For low-volatility data (e.g., indices), a smaller gamma (0.05–0.1) ensures smoother trends and avoids overly sharp responses.
For high-volatility data (e.g., cryptocurrencies), a larger gamma (0.1–0.2) captures the increased price fluctuations while maintaining stability.
Experimentation is Key : Traders are encouraged to backtest and visually compare different gamma values to find the optimal setting for their specific asset and strategy.
The gamma factor dynamically adjusts based on the variance of the source data, ensuring the indicator remains effective across a wide range of market conditions.
Average True Range (ATR) with Dynamic Bands
The ATR is a widely used volatility measure that captures the degree of price movement over a specific period. This indicator enhances the traditional ATR by integrating the RBF kernel, resulting in a smoothed and adaptive ATR calculation.
Dynamic bands are created around the RBF kernel output using a user-defined ATR factor , offering valuable insights into potential support and resistance zones. These bands expand and contract based on market volatility, providing a visual representation of potential price movement.
Moving Average Confluence
For additional confirmation, the indicator includes the option to overlay a moving average on the smoothed ATR. Traders can choose from several moving average types, such as EMA , SMA , or Hull , and adjust the lookback period to suit their strategy. This feature helps identify broader trends and potential confluence areas, making the indicator even more versatile.
Long and Short Trend Detection
The indicator provides long and short signals based on the directional movement of the smoothed ATR:
Long Signal : Triggered when the ATR crosses above its previous value, indicating bullish momentum.
Short Signal : Triggered when the ATR crosses below its previous value, signaling bearish momentum.
These trend signals are visually highlighted on the chart with green and red bar coloring (optional), providing clear and actionable insights.
Customization Options
The Radial Basis Kernel ATR offers extensive customization options, allowing traders to tailor the indicator to their preferences:
RBF Kernel Settings
Source : Select the price data (e.g., close, high, low) used for the kernel calculation.
Kernel Length : Define the lookback period for the RBF kernel, controlling the smoothing effect.
Gamma Factor : Adjust the smoothing sensitivity, with smaller values for smoother trends and larger values for responsiveness.
ATR Settings
ATR Period : Set the period for ATR calculation, with shorter periods capturing more short-term volatility and longer periods providing a broader view.
ATR Factor : Adjust the scaling of ATR bands for dynamic support and resistance levels.
Confluence Settings
Moving Average Type : Choose from various moving average types for additional trend confirmation.
Moving Average Period : Define the lookback period for the moving average overlay.
Visualization
Trend Coloring : Enable or disable bar coloring based on trend direction (green for long, red for short).
Background Highlighting : Add optional background shading to emphasize long and short trends visually.
Line Width : Customize the thickness of the plotted ATR line for better visibility.
Alerts and Automation
To help traders stay on top of market movements, the indicator includes built-in alerts for trend changes:
Kernel ATR Trend Up : Triggered when the ATR indicates a bullish trend.
Kernel ATR Trend Down : Triggered when the ATR signals a bearish trend.
These alerts ensure traders never miss important opportunities, providing timely notifications directly to their preferred device.
Suggested Gamma Values
The effectiveness of the gamma factor depends on the asset type and the selected kernel length:
Low Volatility Assets (e.g., indices): Use a smaller gamma factor (approximately 0.05–0.1) for smoother trends.
High Volatility Assets (e.g., crypto): Use a larger gamma factor (approximately 0.1–0.2) to capture sharper price movements.
Experimentation : Fine-tune the gamma factor using backtests or visual comparisons to optimize for specific assets and strategies.
Trading Applications
The Radial Basis Kernel ATR is a versatile tool suitable for various trading styles and strategies:
Trend Following : Use the smoothed ATR and dynamic bands to identify and follow trends with confidence.
Reversal Trading : Spot potential reversals by observing interactions with dynamic ATR bands and moving average confluence.
Volatility Analysis : Analyze market volatility to adjust risk management strategies or position sizing.
Final Thoughts
The Radial Basis Kernel ATR combines advanced mathematical techniques with the practical utility of ATR, offering traders a powerful and adaptive tool for volatility analysis and trend detection. Its ability to dynamically adjust to market conditions through the RBF kernel and gamma factor makes it a unique and indispensable part of any trader's toolkit.
By combining sophisticated smoothing , dynamic bands , and customizable visualization , this indicator enhances the ability to read market conditions and make more informed trading decisions. As always, backtesting and incorporating it into a broader strategy are recommended for optimal results.
Neuro RSI by W.ARITASThe Neuro RSI by W.ARITAS is an advanced and adaptive RSI indicator, tailored for traders seeking precision and innovation in technical analysis. This cutting-edge tool combines the power of traditional RSI calculations with modern technologies like machine learning (LSTM), quantum-inspired algorithms, and advanced filtering techniques such as Kalman filtering and Jurik smoothing.
Unlike standard RSI indicators, Neuro RSI introduces a visually appealing color dimension to aid traders in identifying significant market opportunities. The intuitive color palette enhances interpretability:
Red or reddish tones signify a strong overbought state, indicating potential corrections.
Blue-to-purple tones highlight a mid-state, often associated with consolidation.
Green and yellow tones indicate an oversold state, suggesting a possible market reversal.
This adaptive approach dynamically adjusts to market conditions and translates insights into an easy-to-read color-coded representation.
Key Features
Machine Learning Integration (LSTM):
Refines oscillator predictions using LSTM neural networks.
Provides adaptive feedback and dynamic signal adjustments based on live market data.
Quantum-Inspired Calculations:
Leverages Fibonacci-based weighting, wavelet transforms, and amplitude modulation.
Generates a refined Probability RSI (PRSI) cloud to visualize market volatility and momentum.
Advanced Filtering Techniques:
Kalman filtering reduces noise for clearer signals.
Jurik smoothing ensures stable and responsive trend analysis.
Dynamic Adaptation:
Reacts to changes in market volatility and sensitivity thresholds.
Fully customizable to suit diverse trading strategies and instruments.
Intuitive Visualization:
Gradient-filled RSI and PRSI clouds make trend identification effortless.
Clearly defined overbought/oversold boundaries with color fills for quick decision-making.
How to Use
Trading Signals:
Utilize the PRSI curve and RSI Cloud to identify overbought/oversold levels and momentum shifts.Rely on gradient colors to visually interpret the strength of market states.
Customizable Inputs:
Adjust smoothing, oscillator frequency, and sensitivity thresholds for specific trading setups.
Advanced users can fine-tune machine learning parameters, including LSTM learning rate, units, and wavelet bands.
Risk Management:
Integrate the Neuro RSI with your trading strategy to confirm entry/exit points.
Leverage built-in support and resistance levels to enhance risk assessment.
Inputs
General Settings:
Source: Select the data input (e.g., volume, close price).
Smoothing Length: Adjust the level of curve smoothing.
Algorithm Settings:
Dynamic sensitivity, oscillator frequency, and Kalman filter parameters for deeper customization.
ML Model Settings:
Configure LSTM learning rate, units, and wavelet bands for precision optimization.
Full Scalping 1.1Indicador actualizado de la Academia Full Scalping
Novedades:
Cálculo de ema3 en temporalidades mayores
Cálculo de vela promedio con posibilidad de configuración
Cambios en configuración por defecto
Combined Indicator BB, RSI, MACD, BBW, %b, DMI, ATRThis Pine Script combines multiple technical indicators into a single tool, providing a comprehensive solution for traders. The included indicators are:
1. Bollinger Bands (BB): Displays upper, lower, and middle bands to assess price volatility and trends.
2. Moving Average Convergence Divergence (MACD): Analyzes momentum through the relationship between moving averages.
3. Relative Strength Index (RSI): Measures the speed and change of price movements to identify overbought and oversold conditions.
4. Chaikin Money Flow (CMF): Evaluates buying and selling pressure based on price and volume.
5. Directional Movement Index (DMI): Identifies the strength and direction of a trend using ADX, +DI, and -DI lines.
6. Average True Range (ATR): Calculates market volatility by analyzing the range of price movements.
7. Bollinger Band Width (BBW): Highlights periods of expansion and contraction within Bollinger Bands.
8. Bollinger Bands %b (BB %b): Normalizes the position of the price within the Bollinger Bands.
Each indicator is implemented with customizable inputs for length, source, and smoothing, ensuring flexibility for various trading strategies. The script is designed for TradingView and can be used with the Pine Screener to efficiently scan watchlists for potential opportunities.
mahid 2this is very good foro ichi time series
you can choose a candle and see a lot of things
try it and know more about that
P T Supertrend CustomPT Supertrend Custom Indicator Description
The PT Supertrend Custom indicator is a dual Supertrend-based tool designed to help traders identify market trends and potential reversals with enhanced accuracy. This custom indicator plots two Supertrend lines with different ATR (Average True Range) lengths and multipliers, providing a broader perspective on price movements across varying market conditions.
Key Features:
1. Dual Supertrend Lines:
- The indicator calculates two separate Supertrend values using customizable ATR lengths (default: 7 and 21) and factors (default: 3.0 for both).
- This dual-layered approach helps identify both short-term and long-term trends for better decision-making.
2. Customizable Parameters:
- ATR Length (ATR Length & ATR Length2): Determines the lookback period for volatility calculation.
- Factor (Factor & Factor2): Defines the multiplier for the ATR, controlling the sensitivity of the Supertrend lines.
3. Visual Trend Representation:
- Green and red line plots represent uptrends and downtrends, respectively.
- The indicator overlays on the price chart, offering a clear visual representation of trend direction.
- Trend fill areas provide additional clarity, with green shading for uptrends and red shading for downtrends.
4. Dynamic Trend Shifts:
- The indicator adapts dynamically based on price action, switching from an uptrend to a downtrend and vice versa when conditions change.
- Two independent trend signals allow traders to compare short-term and long-term trend confirmations.
5. Overlay on Price Chart:
- The indicator is plotted directly on the price chart for easy visualization without cluttering the workspace.
How to Use:
- Trend Identification:
- A green Supertrend line below price indicates an uptrend.
- A red Supertrend line above price signals a downtrend.
- When both Supertrends align, it indicates a strong trend; divergence may signal potential reversals.
- Entry & Exit Signals:
- Consider long positions when both Supertrend lines turn green.
- Consider short positions when both Supertrend lines turn red.
- Use the shorter ATR period for quicker entries and exits, while the longer ATR period provides confirmation.
- Risk Management:
- The Supertrend lines can serve as dynamic support/resistance levels for placing stop-loss orders.
Best Used In:
- Trend-following strategies
- Swing trading and day trading
- Volatile markets where ATR-based signals are effective
This indicator provides a comprehensive view of market trends by combining short- and long-term trend filters, making it a valuable tool for traders seeking precision and clarity in their trading decisions.
Created by Prince Thomas
TP/SL ATR LevelsThis indicator plots two customized Average True Range (ATR) levels on the chart. The high ATR level (TP) is calculated using a 1.5x multiplier, while the low ATR level (SL) uses a 1.0x multiplier. This script is ideal for traders monitoring volatility boundaries relative to price action.
Comprehensive Volume and Metrics with Pre-Market Volume Data
This script is designed for traders who want a detailed view of market activity, including regular market and pre-market volume, dollar volume, relative volume (RVOL), average daily range (ADR), average true range (ATR), relative strength index (RSI), and the QQQ’s percentage change.
The script includes customizable metrics displayed in tables on the chart for easy analysis, with the option to toggle the visibility of each metric.
Key Features:
Volume and Dollar Volume:
Displays the volume of shares traded during the current day (or pre-market, if enabled).
Includes a calculation of dollar volume, representing the total dollar amount of trades (Volume × Close Price).
Relative Volume (RVOL):
Displays RVOL Day, which is the relative volume of the current day compared to the 2-day moving average.
Shows RVOL 90D, indicating relative volume over the past 90 days.
Both RVOL metrics are calculated as percentages and display the percentage change compared to the standard (100%).
Pre-Market Data:
Includes pre-market volume (PVOL) and pre-market dollar volume (P$ VOL) which are displayed only if pre-market data is enabled.
Tracks volume and dollar volume during pre-market hours (4:00 AM to 9:30 AM Eastern Time) for more in-depth analysis.
Optionally, shows pre-market RSI based on volume-weighted close prices.
Average Daily Range (ADR):
Displays the percentage change between the highest and lowest prices over the defined ADR period (default is 20 days).
Average True Range (ATR):
Shows the ATR, a popular volatility indicator, for a given period (default is 14 bars).
RSI (Relative Strength Index):
Displays RSI for the given period (default is 14).
RSI is calculated using pre-market data when available.
QQQ:
Shows the percentage change of the QQQ ETF from the previous day’s close.
The QQQ percentage change is color-coded: green for positive, red for negative, and gray for no change.
Customizable Inputs:
Visibility Options: Toggle the visibility of each metric, such as volume, dollar volume, RVOL, ADR, ATR, RSI, and QQQ.
Pre-Market Data: Enable or disable the display of pre-market data for volume and dollar volume.
Table Positioning: Adjust the position of tables displaying the metrics either at the bottom-left or bottom-right of the chart.
Text Color and Table Background: Choose between white or black text for the tables and customize the background color.
Tables:
The script utilizes tables to display multiple metrics in an organized and easy-to-read format.
The values are updated dynamically, reflecting real-time data as the market moves.
Pre-Market Data:
The script calculates pre-market volume and dollar volume, along with other key metrics like RSI and RVOL, to help assess market sentiment before the market officially opens.
The pre-market data is accumulated from 4:00 AM to 9:30 AM ET, allowing for pre-market analysis and comparison to regular market hours.
User-Friendly and Flexible:
This script is designed to be highly customizable, giving you the ability to toggle which metrics to display and where they appear on the chart. You can easily focus on the data that matters most to your trading strategy.
ATR Daily %Simple ATR calculator to give you an idea if the ATR is still in play for the day. Uses 14 day ATR. ATR = the average daily move. ATR% = how much of the ATR as been covered for that day.
BB+RSI Entry Indicator UpdateThe BB+RSI Entry Indicator is a powerful tool designed to identify precise entry points for potential trades by leveraging Bollinger Bands and the Relative Strength Index (RSI). It provides clear visual signals when price momentum shifts after extreme market conditions, helping traders anticipate trend reversals or pullbacks.
Simplified HMM for Regime DetectionSimplified HMM made possible in PineScript
This is a very basic version of Hidden Markov Model used to detect market regimes. To not confuse with the real model.
There are 3 possible states:
Bull: Positive momentum and strong uptrend.
Bear: Negative momentum and strong downtrend.
Ranging: Weak momentum or indecisive market.
The table shows the current probability of convergence, aka. what's the probability that the market will stay in the same regime and the transition probability.
How to use?
This indicator doesn't generate entry signals and is best used to asses the current trend and trend strength. For more questions, don't hesitate to ask me.
Trader Ahliman Indicator 1
This indicator has been created by combining multiple indicators. The signals provided by the indicator are not investment advice. I would like to thank everyone who contributed to the indicators within this tool. Best regards.
Price Oscillator Indicator (for Grid Stratagy)What is this?
This indicator represents the range that the price travels from its lowest to its highest point within a single candlestick. It is calculated as follows: (Highest Price - Lowest Price) / Closing Price * 100.
What is its purpose?
The indicator is specifically designed for grid trading, allowing traders to evaluate the arbitrage efficiency of conducting grid trading on a particular asset.
How to use this indicator?
Add it to your TradingView chart and switch the chart to a 1-minute timeframe. You can adjust the 'slow sma length' parameter to calculate the price oscillator for a specific period (the default value is 4320, which equals 3 days). The higher the amplitude of an asset, the more efficient it may be to apply a grid trading strategy on that asset.
Please note, this indicator is solely for assessing the price fluctuation range of assets and should not be taken as investment advice.
SDO(SDO)
The Ultimate Oscillator for Precision Trading!
The Sarthak Dehkale Oscillator (SDO) is a powerful tool designed to identify overbought and oversold zones, giving you clear signals to capitalize on market reversals and trends. Perfect for traders of all levels, the SDO combines trend-following WaveTrend logic with visual enhancements for easy decision-making.
Key Features:
✨ Customizable Parameters: Adjust Channel Length and Average Length to suit your trading style.
✨ Dynamic Levels: Highlights primary (70, -70) and secondary (50, -50) zones with vibrant dashed lines for quick identification.
✨ Dual WaveTrend Lines: Observe WT1 and WT2 for trend strength and crossover signals.
✨ Visual Area Effect: Shaded regions between WT1 and WT2 make divergence spotting a breeze.
How to Use:
✅ Look for WT1 crossing above or below the overbought/oversold levels for potential reversals.
✅ Watch WT1 and WT2 crossovers for precise buy or sell signals.
✅ Use the shaded divergence area to gauge momentum shifts.
Empower your trades with SDO, the perfect balance of simplicity and technical depth. Add it to your chart today and trade with confidence!
vix//@version=5
indicator("Mikfiton Vix", overlay=false)
// India VIX input using the chart's timeframe
vixSource = request.security("NSE:INDIAVIX", timeframe.period, close)
// Determine the color of the VIX line based on the trend
vixColor = vixSource > vixSource ? color.red : color.green
// Plot India VIX with dynamic color based on trend
plot(vixSource, title="India VIX", color=vixColor, linewidth=2)
// Define volatility ranges
stableRange = vixSource >= 9 and vixSource < 12
volatileRange = vixSource >= 12 and vixSource < 14
highlyVolatileRange = vixSource >= 14 and vixSource <= 20
// Fill area based on volatility ranges
bgcolor(stableRange ? color.new(color.green, 90) : na, title="Stable Zone")
bgcolor(volatileRange ? color.new(color.yellow, 90) : na, title="Volatile Zone")
bgcolor(highlyVolatileRange ? color.new(color.red, 90) : na, title="Highly Volatile Zone")
Destek/Direnç ve Heikin Ashi Dönüş Sinyali - Mustafa Üstün//@version=6
indicator("Destek/Direnç ve Heikin Ashi Dönüş Sinyali", overlay=true)
// Kullanıcı parametreleri
length = input.int(20, "Destek/Direnç Periyodu")
atrMultiplier = input.float(0.5, "ATR Çarpanı")
// Heikin Ashi mumlarını hesaplama
var float haOpen = na
haClose = (open + high + low + close) / 4
haOpen := na(haOpen) ? (open + close) / 2 : (haOpen + haClose) / 2
haHigh = math.max(high, math.max(haOpen, haClose))
haLow = math.min(low, math.min(haOpen, haClose))
// Destek ve direnç seviyelerini hesaplama
support = ta.lowest(length)
resistance = ta.highest(length)
// Fiyatın destek/direnç seviyelerine yakın olup olmadığını kontrol et
atrValue = ta.atr(14)
nearSupport = math.abs(close - support) < (atrValue * atrMultiplier)
nearResistance = math.abs(close - resistance) < (atrValue * atrMultiplier)
// Heikin Ashi dönüş sinyalleri
bullishReversal = haClose > haOpen and haClose < haOpen
bearishReversal = haClose < haOpen and haClose > haOpen
// Dönüş sinyalleri: Destek/direnç bölgelerinde Heikin Ashi'ye dayalı
buySignal = nearSupport and bullishReversal
sellSignal = nearResistance and bearishReversal
// Grafik üzerine sinyalleri çizdirme
plotshape(series=buySignal, title="Al Sinyali", location=location.belowbar, color=color.new(color.green, 0), style=shape.labelup, text="AL")
plotshape(series=sellSignal, title="Sat Sinyali", location=location.abovebar, color=color.new(color.red, 0), style=shape.labeldown, text="SAT")
// Destek ve direnç seviyelerini gösterme
plot(support, title="Destek", color=color.blue, linewidth=1, style=plot.style_line)
plot(resistance, title="Direnç", color=color.red, linewidth=1, style=plot.style_line)
// Heikin Ashi mumlarını çizdirme
plot(haClose, title="Heikin Ashi Kapanış", color=color.new(color.gray, 70))
Bright_Mod_123 Reversal & Statistical VolatilityCr. HPotter
This indicator combines two powerful strategies to identify potential buy, sell, and close signals in the market:
1. 123 Reversal Strategy
Based on price action and Stochastic Oscillator values.
Generates Buy Signals when:
The close price increases after two consecutive decreases.
The Stochastic Fast line is above a specified level and crosses the Slow line.
Generates Sell Signals when:
The close price decreases after two consecutive increases.
The Stochastic Fast line is below a specified level and crosses the Slow line.
2. Statistical Volatility (SV) Strategy
Measures market volatility using the Extreme Value Method.
Buy Signals occur when volatility is above the upper threshold (Top Band).
Sell Signals occur when volatility is below the lower threshold (Low Band).
Combined Signal Logic
A Buy Signal is generated when both the 123 Reversal and SV strategies align with bullish conditions.
A Sell Signal is generated when both strategies align with bearish conditions.
A Close Signal is generated when neither strategy supports the current position.
Features
Customizable parameters for each strategy (e.g., length, smoothing factors, thresholds).
Visual labels for Buy, Sell, and Close signals, with adjustable colors and styles.
Optional "Reverse Trading" mode to invert signals for specific trading styles.
Use Cases
Ideal for traders looking to combine price action and volatility analysis in their strategy.
Useful for identifying potential trend reversals or periods of high market volatility.
Mikfiton Vix//@version=5
indicator("Mikfiton Vix", overlay=false)
// India VIX input using the chart's timeframe
vixSource = request.security("NSE:INDIAVIX", timeframe.period, close)
// Determine the color of the VIX line based on the trend
vixColor = vixSource > vixSource ? color.red : color.green
// Plot India VIX with dynamic color based on trend
plot(vixSource, title="India VIX", color=vixColor, linewidth=2)
// Define volatility ranges
stableRange = vixSource >= 9 and vixSource < 12
volatileRange = vixSource >= 12 and vixSource < 14
highlyVolatileRange = vixSource >= 14 and vixSource <= 20
// Fill area based on volatility ranges
bgcolor(stableRange ? color.new(color.green, 90) : na, title="Stable Zone")
bgcolor(volatileRange ? color.new(color.yellow, 90) : na, title="Volatile Zone")
bgcolor(highlyVolatileRange ? color.new(color.red, 90) : na, title="Highly Volatile Zone")
Korrelyatsiya Indikatori (US30, Nasdaq, S&P 500)by ig Toni_5123 for only corrilation us30 nasdaq and sps500
Junates HMA BandsThis indicator uses HMA moving average to create a bollinger-like bands with -+2% deviation