Médias Móveis
Vortex Sniper Elite @DaviddTechVortex Sniper Elite @DaviddTech
Vortex Sniper Elite @DaviddTech is a comprehensive trading system designed to deliver high-probability trade setups across all market conditions. By seamlessly integrating adaptive baseline detection, squeeze momentum analysis, and advanced vortex filtering, this indicator provides traders with a complete edge-based approach to market analysis.
🔥 Key Features:
Complete Model Integration:
Baseline: Advanced McGinley Dynamic indicator for superior trend detection
Confirmation #1: Enhanced TTM Squeeze for momentum and volatility analysis
Confirmation #2: Dual Tether Line system for dynamic market structure mapping
Volatility Filter: Specialized Vortex indicator for precision entry timing
Adaptive Stop Loss: Proprietary trailing stop system based on ATR calculations
Advanced Visual Dashboard:
Real-time component analysis with strength metrics
Color-coded signal status for immediate trade assessment
Squeeze state monitoring with visual confirmation
Vortex divergence strength percentage for optimal entries
Premium Signal Detection:
Multi-timeframe compatible system for scaling strategies
Automated buy/sell signals at optimal entry points
Clear exit signals for risk management
Squeeze momentum visualization for timing precision
DaviddTech Alpha Edge System:
Gradient transparency algorithm for visual trend strength confirmation
Bar coloring system based on momentum direction
Background highlighting for active signal states
Dashboard for ease of understanding
💰 Trading Applications:
Sniper Entries: Utilize the Vortex confirmation to pinpoint precise entry points
Trend Alignment: McGinley baseline establishes the primary market direction
Volatility Awareness: TTM Squeeze identifies optimal market conditions
Risk Management: Set stops based on the adaptive trailing stop system
Position Management: Monitor dashboard metrics for changing market conditions
Vortex Sniper Elite @DaviddTech represents the culmination of the DaviddTech methodology in one cohesive system. Whether you're a day trader seeking precise entries or a swing trader looking for significant market moves, this indicator delivers the structured approach needed to consistently extract profits from any market condition.
DaviddTech Trading System Explained:
The DaviddTech methodology follows a strict component-based approach:
The Baseline establishes the primary trend direction, acting as your first filter
Confirmation Indicators validate potential trade setups only when aligned with the baseline
The Volatility/Volume Indicator ensures you only enter trades with sufficient directional momentum
A Trailing Stop System provides mathematically optimized exit points
Vortex Sniper Elite integrates all these components into a visually intuitive system that eliminates guesswork and enforces disciplined trading decisions.
Recommended Settings:
This indicator comes pre-configured with optimized parameters, but feel free to adjust based on your timeframe:
For day trading: Reduce Baseline and TTM lengths by 30-40%
For swing trading: Consider increasing Tether and Trail Stop lengths by 25-50%
For scalping: Focus on Vortex confirmation with shorter timeframes
Best Practices:
Wait for all components to align before entering trades
Use the dashboard to evaluate the strength of each signal
Monitor squeeze states for potential volatility expansion
Let the trailing stop system handle your exits
Backtest across multiple timeframes to find your optimal settings
Liquidity Location Detector [BigBeluga]
This indicator helps traders identify potential liquidity zones by detecting significant volume levels at key highs and lows. By using color intensity and scoring numbers, it visually highlights areas where liquidity concentration may be highest while incorporating trend analysis through EMAs.
🔵Key Features:
Liquidity Zone Detection: Automatically detects and marks areas where significant volume has accumulated at swing highs and lows.
Dynamic Box Plotting: Draws liquidity boxes at key highs and lows, updating based on market conditions.
Volume Strength Scaling: Uses a scoring system to rank liquidity zones, helping traders identify the strongest areas.
Color Intensity for Volume Strength: More transperent color indicate less liquidity, while less transperent represent stronger volume concentrations.
Customizable Display: Users can adjust the number of displayed liquidity zones and modify colors to suit their trading style.
Real-Time Liquidity Adaptation: As price interacts with liquidity zones, the indicator updates dynamically to reflect changing market conditions.
Auto-Stopping Liquidity Zones: Liquidity boxes automatically stop extending to the right once price crosses them, preventing outdated zones from interfering with live market action.
Trend Analysis with EMAs: Includes two optional EMAs (fast and slow) to help traders analyze market trends. Users can enable or disable these EMAs in the settings and use crossover signals for trend confirmation.
🔵Usage:
Identify Key Liquidity Areas: Use color intensity and transparency levels to determine high-impact liquidity zones.
Support & Resistance Confirmation: Liquidity zones can act as potential support and resistance levels, enhancing trade decision-making.
Market Structure Analysis: Observe how price interacts with liquidity to anticipate breakout or reversal points.
Scalping & Swing Trading: Works for both short-term and long-term traders looking for liquidity-based trade setups.
Liquidation Map Insight: A liquidity map highlights areas where large amounts of leveraged positions (both long and short) are likely to get liquidated. Since many traders use leverage, sharp price movements can trigger a cascade of liquidations, leading to rapid price surges or drops. Monitoring these liquidity zones and trends helps traders anticipate where price might react strongly.
Liquidity Location Detector is an essential tool for traders seeking to map out potential liquidity zones, providing deeper insights into market structure and trading volume dynamics.
Uwen FX: UWEN StrategyThis Pine Script defines a trading indicator called "Uwen FX: UWEN Strategy" Where ideas coming from Arab Syaukani and modified by Fiki Hafana. It combines a CCI-based T3 Smoothed Indicator with a MACD overlay. Here's a breakdown of what it does:
Key Components of the Script:
1. CCI (Commodity Channel Index) with T3 Smoothing
Uses a T3 smoothing algorithm on the CCI to generate a smoother momentum signal. The smoothing formula is applied iteratively using weighted averages. The final result (xccir) is plotted as a histogram, colored green for bullish signals and red for bearish signals.
2. MACD (Moving Average Convergence Divergence)
The MACD is scaled to match the range of the smoothed CCI for better visualization. Signal Line and MACD Line are plotted if showMACD is enabled. The normalization ensures that MACD values align with the CCI-based indicator.
3. Bar Coloring for Trend Indication
Green bars indicate a positive trend (pos = 1).
Red bars indicate a negative trend (pos = -1).
Blue bars appear when the trend is neutral.
How It Can Be Used:
Buy Signal: When the xccir (smoothed CCI) turns green, indicating bullish momentum.
Sell Signal: When xccir turns red, indicating bearish momentum.
MACD Confirmation: Helps confirm the trend direction by aligning with xccir.
I will add more interesting features if this indicator seems profitable
EMA BY RouzzyIt works by indicating the crossing of the trend, both bullish and bearish, and indicating the market trend.
*Blue indicates bullish movement
*Red indicates downward movement
*Black indicates the market trend
Works with any section and any market.
I hope it helps you a lot and you enjoy it.
OANDA:XAUUSD TVC:DXY OANDA:EURUSD FX:US30 BITSTAMP:BTCUSD
DEMA 21, DEMA 50 e DEMA 80 - Filtro de AlertasAlerta de Long e Short, baseado no cruzamento de DEMA21 e DEMA50.
EMA Cross Alert (5m EMA, Custom Timeframe Opposite Candle)Key Features
1. EMA Calculation:
* Calculates two EMAs:
* emaShort: 9-period EMA.
* emaLong: 21-period EMA.
* Plots these EMAs on the chart with transparency:
* EMA 9: Yellow with 50% transparency.
* EMA 21: Orange with 30% transparency.
2. Crossover Detection:
* Detects bullish crossovers (EMA 9 crosses above EMA 21).
* Detects bearish crossovers (EMA 9 crosses below EMA 21).
3. Custom Timeframe Opposite Candle:
* Allows the user to select a custom timeframe (1m, 2m, or 3m) for detecting an opposite candle after a crossover.
* An opposite candle is defined as:
* A red candle (close < open) for bullish crossovers.
* A green candle (close > open) for bearish crossovers.
4. State Tracking:
* Tracks whether the script is waiting for a red or green candle after a crossover:
* waitingForRed: Set to true after a bullish crossover.
* waitingForGreen: Set to true after a bearish crossover.
5. Alert Conditions:
* Triggers an alert when:
* A bullish crossover is followed by a red candleon the custom timeframe.
* A bearish crossover is followed by a green candle on the custom timeframe.
* Alerts are reset after being triggered.
6. Visual Markers:
* Plots shapes on the chart to indicate:
* Bullish crossovers (green circle below the bar).
* Bearish crossovers (red circle above the bar).
* Opposite candle alerts (crosses on the bar where the alert is triggered).
2. User Customization
* Custom Timeframe Selection:
* Users can choose between 1-minute, 2-minute, or 3-minute timeframes for detecting the opposite candle.
* This is done via the input.string function with options .
3. How It Works
1. EMA Crossovers:
* The script detects when the 9-period EMA crosses above or below the 21-period EMA on the 5-minute chart.
2. Opposite Candle Detection:
* After a crossover, the script waits for the first opposite candle on the selected custom timeframe:
* For a bullish crossover, it waits for a red candle.
* For a bearish crossover, it waits for a green candle.
3. Alerts:
* Alerts are triggered when the opposite candle is detected on the custom timeframe.
* The alert message specifies the type of crossover and the opposite candle condition.
4. Visual Feedback:
* The script provides visual feedback on the chart:
* Circles mark the crossover points.
* Crosses mark the opposite candle alerts.
4. Use Case
This script is ideal for traders who:
* Use EMA crossovers as a trend-following strategy.
* Want to confirm crossovers with price action on a different timeframe.
* Prefer to wait for an opposite candle (e.g., a pullback or continuation signal) before entering a trade.
5. Example Scenarios
1. Bullish Crossover:
* EMA 9 crosses above EMA 21 on the 5-minute chart.
* The script waits for a red candle on the selected custom timeframe (e.g., 2-minute chart).
* Once the red candle closes, a bullish alert is triggered.
2. Bearish Crossover:
* EMA 9 crosses below EMA 21 on the 5-minute chart.
* The script waits for a green candle on the selected custom timeframe (e.g., 2-minute chart).
* Once the green candle closes, a bearish alert is triggered.
6. Visual Markers
* Bullish Cross: Green circle below the bar.
* Bearish Cross: Red circle above the bar.
* Bullish Alert: Red cross below the bar.
* Bearish Alert: Green cross above the bar.
7. Summary
This script combines EMA crossovers with opposite candle confirmation on a custom timeframe to provide a more robust trading signal. It is particularly useful for traders who want to:
* Avoid false signals by waiting for price confirmation.
* Use multiple timeframes for better decision-making.
* Receive real-time alerts when conditions are met.
EMA: Technical Analysis Tool - PanelKey Features
1. Multiple EMAs:
* Calculates and plots EMAs for periods 8, 9, 20, 21, and 50.
* Allows customization of EMA colors.
2. VWAP (Volume-Weighted Average Price):
* Calculates VWAP and resets at the start of each trading session.
* Dynamically colors the VWAP line based on whether the price is above (green) or below (red) the VWAP.
3. RSI (Relative Strength Index):
* Calculates RSI with customizable length (default: 14).
* Highlights overbought (≥70) and oversold (≤30) conditions.
4. MACD (Moving Average Convergence Divergence):
* Calculates MACD with customizable short, long, and signal lengths.
* Displays bullish (green) or bearish (red) signals based on MACD line vs. signal line.
5. Parabolic SAR:
* Calculates Parabolic SAR and displays bullish (green) or bearish (red) signals based on price position relative to SAR.
6. Price Display:
* Displays the current price on the chart with a dotted line and label.
* Colors the line green if the current candle is bullish (close ≥ open) or red if bearish (close < open).
7. Cross Signals:
* Plots circles at crossover points for:
* EMA 9 vs. EMA 21 (bullish/bearish).
* EMA 8 vs. EMA 20 (bullish/bearish).
* Price vs. VWAP (bullish/bearish).
8. Table Display:
* Displays a summary table with the following information:
* EMA 8/20 and EMA 9/21 cross signals (bullish/bearish).
* EMA 50 signal (bullish/bearish).
* VWAP signal (bullish/bearish).
* MACD signal (bullish/bearish).
* Parabolic SAR signal (bullish/bearish).
* RSI value and overbought/oversold status.
2. User Customization
* EMA Colors: Users can customize the colors of each EMA.
* Table Options:
* Choose which indicators to display in the table (EMA 8/20, EMA 9/21, EMA 50, VWAP, MACD, RSI, Parabolic SAR).
* Adjust the table's position (e.g., top right, bottom left).
* Adjust the text size (auto, normal, small, tiny).
3. Visual Enhancements
* Dynamic Coloring:
* VWAP, MACD, Parabolic SAR, and EMA cross signals are colored green (bullish) or red (bearish).
* RSI is colored red (overbought), green (oversold), or gray (neutral).
* Plot Shapes:
* Circles are plotted at key crossover points (e.g., EMA crosses, price vs. VWAP).
4. Use Case
This script is designed for technical analysis and provides a comprehensive view of:
* Trend direction (using EMAs and VWAP).
* Momentum (using RSI and MACD).
* Volatility and reversals (using Parabolic SAR).
It is particularly useful for traders who want to:
* Identify trends and crossovers.
* Monitor key support/resistance levels (VWAP).
* Spot overbought/oversold conditions (RSI).
* Make decisions based on multiple indicators in one place.
5. Summary Table
The table consolidates all the signals into one place, making it easy to interpret the current market conditions at a glance. For example:
* EMA 8/20: Bullish/Bearish.
* EMA 9/21: Bullish/Bearish.
* EMA 50: Bullish/Bearish.
* VWAP: Bullish/Bearish.
* MACD: Bullish/Bearish.
* Parabolic SAR: Bullish/Bearish.
* RSI: Overbought/Oversold/Neutral.
This script is a powerful all-in-one tool for traders who rely on multiple technical indicators for decision-making.
Bollinger Bands con AlertasBollinger Bands con Alertas actualizado ahora la alerta sonará cada vez que haya un cruce del precio con una de las bandas
Simple Moving Averages MTFSimple Moving Averages MTF
This indicator plots Simple Moving Averages (SMAs) from multiple timeframes—intraday, daily, weekly, and monthly—right on your chart. It’s built for traders who want a clear, adaptable way to spot trends, whether trading short-term or holding long-term positions.
Key Features:
- Multi-Timeframe SMAs: View intraday, daily, weekly, and monthly SMAs in one place.
- Fully Customizable: Set lengths and colors for each SMA.
- Toggle On/Off: Show or hide SMAs to keep your chart clean.
- Quick Setup: Adjust settings inline with ease.
How to Use:
Add the indicator to your chart.
Open settings and pick a timeframe group (e.g., "Intraday Timeframes").
Enable/disable SMAs, tweak lengths and colors.
Hit "OK" to see it in action.
Interpretation:
- Support/Resistance: SMAs serve as dynamic levels for price reactions.
- Trend Signals: Rising SMAs indicate bullish momentum; falling SMAs suggest bearish.
- Crossovers: Short SMA crossing above a long SMA may signal a buy; below, a sell.
- Divergence: Price diverging from SMAs can hint at reversals.
Why Use It?
"Simple Moving Averages MTF" is a versatile, no-fuss tool for trend analysis. Use it solo or pair it with other indicators to match your trading style. Get multi-timeframe insights, simplified.
EMA BY CS v3It works by indicating the crossing of the trend, both bullish and bearish, and indicating the market trend.
*Green indicates bullish movement
*Red indicates downward movement
*Blue indicates the market trend
Works with any section and any market.
I hope it helps you a lot and you enjoy it.
TVC:DXY OANDA:EURUSD FX:US30 OANDA:XAUUSD BITSTAMP:BTCUSD
[GYTS] Ultimate Smoother (3-poles + 2 poles)Ultimate Smoother (3-pole)
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- INTRODUCTION --------- 🌸
💮 Release of 3-Pole Ultimate Smoother
This indicator presents a new 3-pole version of John Ehlers' Ultimate Smoother (2024) . This results in an unconventional filter that exhibits effectively zero lag in practical trading applications, regardless of the set period. By using a 2-pole high-pass filter in its design, it responds to price direction changes on the same bar, while still allowing the user to control smoothness.
💮 What is the Ultimate Smoother?
The original Ultimate Smoother is a revolutionary filter designed by John Ehlers (2024) that smooths price data with virtually zero lag in the pass band. While conventional filters always introduce lag when removing market noise, the Ultimate Smoother maintains phase alignment at low frequencies while still providing excellent noise reduction.
💮 Mathematical Foundation
The Ultimate Smoother achieves its remarkable properties through a clever mathematical approach:
1. Instead of directly designing a low-pass filter (like traditional moving averages), it subtracts a high-pass filter from an all-pass filter (the original input data).
2. At very low frequencies, the high-pass filter contributes almost nothing, so the output closely matches the input in both amplitude and phase.
3. At higher frequencies, the high-pass filter's response increasingly matches the input data, resulting in cancellation through subtraction.
The 3-pole version extends this principle by using a higher-order high-pass filter, requiring additional coefficients and handling more terms in the numerator of the transfer function.
🌸 --------- USAGE GUIDE --------- 🌸
💮 Period Parameter Behaviour
The period parameter in the 3-pole Ultimate Smoother works somewhat counterintuitively:
- Longer periods: Result in less smooth, but more responsive following of the price. The filter output more closely tracks the input data.
- Shorter periods: Produce smoother output but may exhibit overshooting (extrapolating price movement) for larger movements.
This is different from most filters where longer periods typically produce smoother outputs with more lag.
💮 When to Choose 3-Pole vs. 2-Pole
- Choose the 3-pole version when you need zero-lag but want to control the smoothness
- Choose the 2-pole version when you are okay with some lag with the benefit of more smoothness.
🌸 --------- ACKNOWLEDGEMENTS --------- 🌸
This indicator builds upon the pioneering work of John Ehlers, particularly from his article April 2024 edition of TASC's Traders' Tips . The original version is published on TradingView by @PineCodersTASC .
This 3-pole extension was developed by @GoemonYae . Feedback is highly appreciated!
5XMA-BandA useful 5-tier SMA/EMA lines.
You can set the MA periods and indicate "EMA" or "SMA" for each.
Morphine Moving AveragesMorphine Moving Averages (MMA) is a comprehensive technical analysis tool designed to give traders a clear, visual representation of key market trends. Combining several essential indicators into one, MMA includes:
Bollinger Bands (20 SMA, 2 standard deviation): Provides a dynamic range to identify volatility and potential reversals.
VWAP (Volume Weighted Average Price): Offers an average price weighted by volume, helping you assess market trends and potential entry points.
8 SMA: A simple moving average that helps identify short-term trends.
20 EMA: A faster-moving average that responds to recent price changes, ideal for spotting shorter-term momentum.
50 EMA: Represents a medium-term trend, smoothing out price action for better market clarity.
200 EMA: A long-term moving average, widely followed to understand the broader trend and potential support/resistance zones.
Each line is color-coded for quick identification, making it an ideal tool for both short-term and long-term traders who want a comprehensive view of the market's key levels. Use the Morphine Moving Averages indicator to spot trends, reversals, and key support/resistance levels all in one glance!
Make sure you have it pinned to price scale right.
If you have any questions or bugs, feel free to reach out to me on X. x.com
Multi-Filter Momentum OscillatorMulti-Filter Momentum Oscillator
Description
The Multi-Filter Momentum Oscillator is an advanced technical indicator that leverages multiple moving average filters to identify trend strength, momentum shifts, and potential reversal points in price action. This indicator combines a cluster-based approach with momentum analysis to provide traders with a comprehensive view of market conditions.
Key Components
Filter Cluster Analysis: The indicator creates an array of moving averages with different periods using your choice of filter (PhiSmoother, EMA, DEMA, TEMA, WMA, or SMA). These filters form a cluster that helps identify the underlying trend direction.
Composite Score: The relative positions of these filters are analyzed to generate a net score, which represents the overall trend strength and direction.
Signal Line: A smoothed version of the composite score that helps identify momentum shifts.
Four-Color Histogram: Visualizes the relationship between the score and signal line with four distinct colors:
Bright Green (Bullish Rising): Positive momentum that is accelerating
Olive Green (Bullish Falling): Positive momentum that is decelerating
Dark Red (Bearish Rising): Negative momentum that is improving
Bright Red (Bearish Falling): Negative momentum that is worsening
LazyLine Overlay: An additional triple-smoothed WMA that can be displayed on the price chart to visualize the dominant trend.
Trading Applications
Trend Direction: The oscillator's position above or below zero indicates the prevailing trend direction.
Momentum Shifts: The histogram's color changes signal momentum shifts before they become apparent in price.
Divergence Detection: Compare oscillator peaks/troughs with price action to identify potential divergences.
Overbought/Oversold Conditions: Extreme readings near the upper and lower threshold levels can indicate potential reversal zones.
Trend Confirmation: The LazyLine overlay confirms the broader trend direction on the price chart.
Customization Options
The indicator offers extensive customization through multiple parameters:
Filter type selection (PhiSmoother, EMA, DEMA, TEMA, WMA, SMA)
Cluster dispersion and trim settings
Post-smoothing options
Signal line parameters
Threshold levels
Color preferences for various elements
Histogram width and visibility
Optional swing signals with customizable placement
Modes
Trend Strength Mode: Focuses on the directional movement of the filter cluster.
Volatility Mode: Weights the score based on the bandwidth of the filter cluster, making it more responsive during volatile periods.
This versatile oscillator combines elements of trend following, momentum analysis, and volatility assessment to provide traders with actionable signals across different market conditions. The four-color histogram adds another dimension to traditional oscillator analysis by visually representing both the direction and strength of momentum shifts.
200 Day SMA HighlighterHighlights area under chart for 200 day moving average (adjustable).
Shows color coding for when price is above or below the sma.
Bullish Strategy SignalOverview
This TradingView Pine Script is a bullish strategy signal based on a combination of several technical indicators. It identifies potential buy signals when multiple conditions are met, ensuring higher probability trades by reducing false signals. The strategy combines trend-following , momentum , volume , and breakout indicators.
Features
- Configurable Inputs : All key parameters, such as moving average lengths, MACD settings, RSI thresholds, Bollinger Bands settings, and volume averages, can be adjusted by the user. The default values are pre-set based on typical configurations for a bullish strategy.
- Bullish Signal Generation : A buy signal is triggered when the following conditions are met:
1. Trend Confirmation : Price is above the 200-period moving average (indicating an uptrend).
2. Momentum Confirmation : The MACD line crosses above the signal line, indicating bullish momentum.
3. Strength Confirmation : RSI crosses above a user-defined threshold (default is 50), indicating upward momentum.
4. Breakout Confirmation : Price breaks above the middle Bollinger Band, signaling potential continuation of the trend.
5. Volume Confirmation : The trading volume is above its 20-period average, suggesting strong market participation.
Technical Indicators Used
- 50/200 Moving Averages : To determine the long-term and short-term trend.
- MACD (Moving Average Convergence Divergence) : Used for identifying momentum shifts.
- RSI (Relative Strength Index) : To evaluate if the stock is in an overbought or oversold condition.
- Bollinger Bands : Used to track price volatility and confirm breakouts.
- Volume : To ensure that the price movement is supported by significant trading activity.
How It Works
The script will generate green "BUY" labels below bars when all the following conditions are true:
1. The 50-day moving average is above the 200-day moving average, confirming a bullish trend.
2. A MACD crossover occurs, signaling increasing momentum.
3. The RSI crosses above the user-defined threshold, confirming strength.
4. The price breaks above the middle Bollinger Band, indicating the start of a potential breakout.
5. The trading volume exceeds its 20-period average, ensuring that the breakout is supported by sufficient buying interest.
User Configuration
- Moving Average Periods : Length for the short-term (50) and long-term (200) moving averages.
- MACD Settings : Fast length (12), slow length (26), and signal length (9).
- RSI Settings : Length (14) and threshold (default 50).
- Bollinger Bands Settings : Length (20) and standard deviation (2).
- Volume Settings : Length (20) for the volume moving average.
How to Use
1. Open TradingView and navigate to the Pine Editor .
2. Copy and paste the provided script into the editor.
3. Click on Add to Chart to display the strategy on your chart.
4. Adjust the input parameters as needed to fit your trading style or time frame.
5. Look for green “BUY” labels below the price bars, which indicate a bullish signal.
Conclusion
This script combines multiple technical indicators to ensure that each buy signal is supported by trend, momentum, volume, and breakout confirmations. By configuring key settings, traders can fine-tune the strategy to match their trading preferences and time frames.
Avi - Trendlines EnhancedDeveloped from open-source code by © pikusov (Diagonal Supports and Resistances), this indicator provides traders with a robust and visually intuitive method to identify and monitor key support and resistance levels. Its ability to check for multiple test touches, combined with dynamic updates, customizable visuals, and integrated alert systems, makes it an effective tool for comprehensive technical market analysis.
This advanced TradingView Pine Script indicator dynamically detects and draws support and resistance trendlines based on historical pivot points while also checking for multiple test touches. Here’s a detailed summary of its functionality:
Customizable Trendline Detection:
Historical Analysis: Users specify the number of historical bars to examine for identifying pivot points, enabling a deep scan for reliable support and resistance levels.
Pivot Lookback Settings: The primary pivot lookback period (x1) is user-defined, with a secondary period (x2) calculated as half of x1, allowing the indicator to capture both local lows and highs accurately.
Dynamic Trendline Construction and Multiple Test Validation:
Iterative Pivot Pairing: The script uses nested loops to identify pairs of pivot points (lows for support, highs for resistance) and calculates an interpolated price along the line connecting these pivots.
Testing and Updating Trendlines:
The indicator continuously checks whether the price respects the drawn trendlines.
It verifies if the trendlines have been tested multiple times by iterating through historical bars, ensuring that the level holds up under repeated tests.
When a level is retested, the trendline is updated and a test counter is incremented, thereby reinforcing the significance of the support or resistance level.
Visual Customization Options:
Line Appearance: Users can tailor the trendlines with customizable thickness, dash patterns (solid, dotted, or dashed), and specific colors for support and resistance lines.
Label Settings: Labels display the precise price levels (and optionally the number of tests), with configurable sizes and styles, offering clear visual cues on the chart.
Alerting and Confirmation Mechanisms:
Breakout Alerts: The script triggers alerts when the price action breaches a trendline. It differentiates between standard alerts and those that are volume-confirmed—where the volume exceeds a set multiple of the average—thus minimizing false signals.
RSI-Based Bar Coloring: When enabled, the Relative Strength Index (RSI) is computed, and bars at trendline test points are color-coded (dark red for overbought and dark green for oversold conditions), providing immediate visual feedback on market momentum.
Supporting Analytical Tools:
Pivot Labels: The indicator can display pivot labels using built-in functions, marking key pivot highs and lows with their corresponding price values.
Moving Averages: Two customizable moving averages (fast and slow) can be plotted (using either SMA or EMA), helping to contextualize the trendlines within the broader market trend.
Efficient Object Management:
Array-Based Storage and Cleanup: Arrays are used to store drawn objects (lines and labels), and a cleanup routine ensures that outdated objects are removed with every new bar, keeping the chart clutter-free.
Helper Functions: Utility functions such as price_at for interpolating prices along the trendline and round_to_tick for rounding values enhance the script’s precision and usability.
Avi - TablesThe "Avi - Tables" indicator is a comprehensive tool designed to display a wealth of technical information directly on your TradingView chart using dynamic tables and visual elements. It combines multiple analysis techniques and multi-timeframe metrics into an easy-to-read layout. Key features include:
Moving Averages & VWMA:
The indicator calculates up to six user-configurable moving averages (with options for both SMA and EMA) and a 20-period Volume-Weighted Moving Average (VWMA). It plots these averages on the chart and computes the percentage difference between the current price and each moving average. It also checks if the price has touched these levels.
ATR and Volatility:
A 14-period Average True Range (ATR) is calculated and expressed as a percentage of the close price, providing a measure of market volatility.
Volume Analysis:
Using daily volume data and a user-defined volume period, the indicator computes the relative volume (RVOL) as a multiple compared to the average volume. It estimates the full-day volume based on the elapsed trading day and compares it with the previous day’s volume, applying conditional formatting based on these comparisons.
Pressure Metrics:
The script calculates buyer and seller pressure based on price movement and volume, determining the dominant pressure (BP or SP) and displaying the result with corresponding color cues.
Multi-Timeframe Analysis Table:
Users can select various timeframes (15-min, 1-hour, 4-hour, daily, weekly, and monthly) for additional indicators such as MACD, ADX, CCI, and RSI. Each timeframe’s data is displayed in a dedicated table cell, with colors and text dynamically indicating bullish, bearish, or neutral conditions.
Customizable Tables & Layout:
The indicator provides several inputs for table positioning, text size, and layout options—including an option to flip the table rows and columns—allowing you to customize the display to best suit your chart and analysis needs.
Pivot Points & Gap Analysis:
Beyond the tables, the script includes functionality for detecting pivot highs and lows as well as identifying chart gaps. It draws labels for pivot points and, in an optional section, detects and manages gaps (with partial or full closures) and triggers alerts when new gaps appear or are closed.
Overall, "Avi - Tables" is designed to deliver a multi-layered view of the market —from moving averages and volatility to volume dynamics and multi-timeframe indicator signals—all organized neatly into customizable tables. This makes it a powerful resource for traders seeking an integrated and visually intuitive technical analysis tool.