Abnormal Candle DetectorAbnormal Candle Detector
The Abnormal Candle Detector identifies sudden and unusual price movements by comparing the current candle's size and volume to recent averages. It highlights candles that deviate significantly from normal market behavior, helping traders spot breakouts, reversals, or high-impact events.
Features:
1. Abnormal Size Detection: Flags candles where the range (high-low) exceeds a user-defined multiplier of the average range.
2. Volume Confirmation: Optionally ensures abnormal movements are backed by higher-than-average volume.
3. Visual Markers:
Green triangles for bullish abnormal candles.
Red triangles for bearish abnormal candles.
Background highlights for better visibility.
4. Alerts: Real-time notifications when abnormal candles are detected.
Why Use It?
Spot early breakouts or trend reversals.
Identify high-impact events driven by news or institutional activity.
Filter noise and focus on significant market movements.
Customizable for any market or timeframe, the Abnormal Candle Detector is perfect for traders who want to stay ahead of major price action.
Indicadores y estrategias
Correlation Confluence Trend IndicatorCorrelation Confluence Trend Indicator
Overview
The Correlation Confluence Trend Indicator combines exponential moving averages (EMAs) and statistical correlation measures to identify high-confidence trend alignments between an asset and a benchmark. By filtering signals through correlation strength, this indicator highlights opportunities when the asset and benchmark move together. In other words, it defines a trend and then uses correlation strength and the trend of a second asset to identify high-confidence trends.
Key Features
Dual EMA Trend Analysis :
Calculates fast and slow EMAs for both the asset and the selected benchmark (e.g., SPY) to identify bullish and bearish trends.
Correlation Strength Filtering :
Evaluates correlation between the asset and benchmark, identifying stronger-than-average relationships based on the mean and standard deviation.
Background Color Coding :
- Green : Strong correlation, both asset and benchmark bullish.
- Aqua : Weak correlation, both asset and benchmark bullish.
- Red : Strong correlation, both asset and benchmark bearish.
- Fuchsia : Weak correlation, both asset and benchmark bearish.
- Orange : Strong correlation, benchmark bullish, asset bearish.
- Yellow : Weak correlation, benchmark bullish, asset bearish.
- Purple : Strong correlation, benchmark bearish, asset bullish.
- Lime : Weak correlation, benchmark bearish, asset bullish.
Visual Trend Indicators :
Plots fast and slow EMAs for the asset, dynamically colored based on aggregate trend signals. The color of this corresponds to the main trend signal.
Inputs
Benchmark Symbol : Symbol of the benchmark asset to compare against.
Fast EMA Length : Period for the fast EMA calculation.
Slow EMA Length : Period for the slow EMA calculation.
Correlation Length : Number of bars for correlation calculation.
Correlation Mean Length : Number of bars for mean and standard deviation calculation.
Std Dev Multiplier : Multiplier for standard deviation to define correlation strength. When the correlation is Std Dev Multiplier standard deviations above the mean, it counts as a strong correlation.
Set Background Color : Toggle background coloring on or off.
Notes
This indicator is primarily designed for trend-following strategies. By combining trend analysis and correlation filtering, it ensures that signals occur during aligned market conditions, reducing false signals.
Before incorporating this indicator into your trading strategy:
Always backtest on historical data to evaluate its performance before committing capital.
Use proper risk management to control position sizes and mitigate potential losses.
Remember that no indicator guarantees success. I'm quite proud of this one, but it's not the holy grail.
FVG - NibzDescription: Fair Value Gap (FVG) Indicator - Nibz
This Pine Script identifies and visualizes Fair Value Gaps (FVGs) on your TradingView chart. FVGs are price inefficiencies left behind when the market moves too quickly, skipping price levels that might not be tested. These gaps often act as magnets, attracting price for potential reversals or continuations.
The script works by detecting upward (bullish) and downward (bearish) price imbalances based on specific candlestick criteria and then marks these zones on your chart using customizable shaded boxes. This tool is essential for traders looking to identify key areas of market inefficiency that could signify support/resistance levels, potential reversal zones, or areas to monitor for market rebalancing.
How It Works
1. Bullish FVG Detection
The script identifies an upward imbalance when:
The low of the candlestick two bars back is less than or equal to the open of the previous bar.
The high of the current candlestick is greater than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a green box is drawn from the low of the second candlestick back to the high of the current candlestick.
2. Bearish FVG Detection
The script identifies a downward imbalance when:
The high of the candlestick two bars back is greater than or equal to the open of the previous bar.
The low of the current candlestick is less than or equal to the close of the previous bar.
When this condition is met and the size of the imbalance is greater than zero, a red box is drawn from the low of the current candlestick to the high of the second candlestick back.
Customization Options
This script is highly customizable, allowing you to tailor the appearance of the FVG boxes to suit your trading style and chart aesthetics:
Bullish FVG:
Fill color and transparency.
Border color and transparency.
Bearish FVG:
Fill color and transparency.
Border color and transparency.
The settings are user-friendly, with intuitive sliders for transparency and color pickers for customization.
How to Use the Indicator
Adding the Script:
Add the indicator to your chart, and it will automatically mark bullish (green) and bearish (red) FVGs.
Interpreting FVGs:
Bullish FVGs (green zones): These often act as support or areas of potential price rebalancing on retracement.
Bearish FVGs (red zones): These often act as resistance or areas of interest for short entries.
Trade Ideas:
Use FVG zones to confirm other trade signals or strategies.
Watch for price interaction with these zones to time entries and exits.
Key Features
Automated detection of Fair Value Gaps.
Customizable visual representation to match your chart preferences.
Enhances trading precision by identifying price inefficiencies.
Suitable for scalping, day trading, or swing trading strategies.
This script provides a powerful tool to highlight important price levels and inefficiencies in the market, enabling traders to make informed decisions. Whether you're using it as a standalone indicator or combining it with other tools, the 'FVG - Nibz' indicator is a valuable addition to any trader's toolkit!
Order blocksHi all!
This indicator will show you found order blocks that can be used as supply or demand. It's my take on trying to create good order blocks and I hope it makes sense.
First off I suggest to verify the current trend before using an order block. This can be done in a variety of ways, one way could be to use my other script "Market structure" () which I use and suggest.
You can configure the indicator to behave differently depending on settings. These are the settings available:
• The order blocks created can be found in any higher timeframe defined in "Timeframe"
• The number of active order blocks are defined in "Count". If an order block is found the earliest order block will be replaced
• You can choose the type of order blocks that are found ("Bullish", "Bearish " or "Both") in "Type"
• The old order blocks can be kept if "Keep history" is checked
• Order blocks that are found are not removed when mitigated (entered) but when a new one appears. They can be removed when they are broken by price if "Remove broken zones" are checked
There is also a setting section called "Requirements" that defines what is required for an order block to be created. These are the settings:
• "Take out"
Check this if you want the base of the order block (the candle where the zone is drawn from (high and low)) to have to take out the previous candle (be higher or lower depending if the order block is bullish or bearish).
• "Consecutive rising/falling"
Each following candle in the reaction (the 3 reaction candles) needs to reach higher or lower (depending on bullish or bearish). Check this if you want that to be true.
• "Reaction"
Some sort of reaction is needed from the 3 candles creating the order block. This reaction is based on the value of the Average True Length (ATR) of length 14. You can here define a factor of the value from the ATR that these 3 candles needs to move in price. A higher need for a reaction (higher factor of the ATR) will create lesser zones. You can also choose to show this limit with the checkbox.
• "Fair Value Gap"
The reaction needs to create a gap (imbalance) in price. This gap is known as a "Fair Value Gap" and is created when the last candle's wick does not meet with the base candle's wick. Check this if you want this to be needed.
After these settings you can also choose the colors of the created zones. The ones that are active (called "Zones"), the ones that are replaced ("Replaced zones") and the ones that are broken ("Broken zones") (if this is enabled in "Remove broken zones").
I'm using my library "Touched" to be able to show you labels when the order blocks have a retest, false breakout and breakout. These labels can be hidden if you disable the labels under the style tab in the indicator settings.
The concept of order blocks is widely used among traders and can provide you with good supply or demand zones. I hope that this indicator makes sense.
My todo-list has a few things, but top of that list is adding alerts for zone interactions or creations. Please feel free to say what you want to be coded!
The order blocks in the publication chart are found in weekly timeframe but are shown on the daily timeframe. Other than that the image shows you zones from the default settings (which are based on the daily timeframe).
Best of luck trading!
BeautifulStochRSIBeautifulStochRSI: A Unique and Clear Approach to Stochastic RSI
Introducing the BeautifulStochRSI, an colorfull approach to the popular Stochastic RSI indicator. This script goes beyond the standard representation by offering visually distinct and intuitive signals to enhance your trading experience.
The BeautifulStochRSI is ideal for traders who value both precision and simplicity. It combines functional enhancements with a polished design, ensuring that crucial market insights are presented clearly and effectively. Created by rektbyhielke, this script leverages the capabilities of Pine Script™ v5 for optimal performance.
By sharing this script, the aim is not only to provide a practical trading solution but also to inspire others to create indicators that are both beautiful and efficient.
the script includes fully customizable parameters for RSI length, stochastic length, and smoothing factors, allowing traders to tailor the indicator to their specific strategies. Overbought and oversold zones are marked with dots at levels 80 and 20, complemented by a subtle teal background fill to emphasize these areas.
Estrategia Cruce de Oro y Muerte con EMA y Niveles Previos SFCASObjetivo de la Estrategia
La estrategia combina tres componentes clave del análisis técnico:
Cruce de EMAs (Medias Móviles Exponenciales):
Identifica cambios en la tendencia del mercado mediante los cruces de las EMAs de 50 y 200 periodos.
Cruce de Oro (Golden Cross): Señal de compra (tendencia alcista).
Cruce de Muerte (Death Cross): Señal de venta (tendencia bajista).
Acción del Precio:
Confirma las señales basándose en la posición del precio respecto a la EMA 9, que actúa como un filtro adicional para reducir señales falsas.
Niveles del Día Anterior:
Ayuda a identificar zonas clave de soporte y resistencia utilizando los precios de apertura y cierre del día anterior.
Nadaraya-Watson Envelope: Modified by RajMannNadaraya-Watson Envelope: Modified by RajMann
Modified Highs and Lows only
Price Channel with SupertrendOverview
This Pine Script creates an indicator named "Price Channel with Supertrend" that overlays on the main chart. It combines the Price Channel and Supertrend indicators, and includes various customization options for colors and bar conditions.
Key Components
Inputs:
length: Length for the Price Channel.
channel: Boolean to enable/disable the Price Channel.
Various color inputs for customization.
Bar Conditions:
Identifies different types of bars (e.g., inside bars, outside bars, up days, down days) and sets colors accordingly.
Price Channel:
Calculates the upper and lower bounds of the Price Channel using the highest high and lowest low over the specified length.
Plots the Price Channel if enabled.
Supertrend:
Uses ATR (Average True Range) to calculate the Supertrend.
Plots the Supertrend line with color changes based on the trend direction.
Bar Coloring:
Colors bars based on conditions like outside bars and Supertrend direction.
Buy and Sell Signals:
Generates buy and sell signals based on crossovers and crossunders of the closing price with the Supertrend line.
Plots labels for these signals on the chart.
Plotting
Price Channel: Plots the upper and lower bounds.
Supertrend: Plots the Supertrend line with color changes.
ATR: Uses ATR for Supertrend calculation.
Bar Colors: Colors bars based on conditions.
Signals: Plots buy and sell signals with labels.
STeye# STeye 指标说明
作者:Stephen Zeng
## 指标概述
STeye是一个结合了RSI(相对强弱指标)和ATR(平均真实波幅)的技术分析工具。该指标主要用于判断市场的超买超卖状态,同时结合波动率来评估市场动能。
## 主要功能
1. RSI核心功能
- 默认周期为14
- 设置了70/50/30三条水平参考线
- 提供渐变色背景显示,使超买超卖区域更直观
- 支持背离计算(可选)
2. 移动平均线功能
- 默认周期为55
- 支持多种均线类型:SMA、EMA、SMMA(RMA)、WMA、VWMA
- 可选布林带显示
- 可自定义均线周期
3. ATR波动率指标
- 默认14周期
- 支持多种平滑方式:RMA、SMA、EMA、WMA
- 帮助判断市场波动强度
使用建议
1. RSI超过70进入超买区域,低于30进入超卖区域
2. 结合ATR观察市场波动,ATR上升表示波动加大,下降表示波动减小
3. 可通过移动平均线来过滤RSI假信号
4. 建议在多时间周期下综合分析
参数设置
- RSI参数可根据交易品种特性调整,波动大的品种可适当放宽超买超卖区间
- 移动平均线类型和周期可根据交易风格选择
- ATR平滑方式建议使用默认RMA,提供更平滑的波动率信号
## 注意事项
1. 本指标仅供参考,建议与其他技术指标或基本面分析结合使用
XAMD/AMDX ICT 01 [TradingFinder] SMC Quarterly Theory Cycles🔵 Introduction
The XAMD/AMDX strategy, combined with the Quarterly Theory, forms the foundation of a powerful market structure analysis. This indicator builds upon the principles of the Power of 3 strategy introduced by ICT, enhancing its application by incorporating an additional phase.
By extending the logic of Power of 3, the XAMD/AMDX tool provides a more detailed and comprehensive view of daily market behavior, offering traders greater precision in identifying key movements and opportunities
This approach divides the trading day into four distinct phases : Accumulation (19:00 - 01:00 EST), Manipulation (01:00 - 07:00 EST), Distribution (07:00 - 13:00 EST), and Continuation or Reversal (13:00 - 19:00 EST), collectively known as AMDX.
Each phase reflects a specific market behavior, providing a structured lens to interpret price action. Building on the fractal nature of time in financial markets, the Quarterly Theory introduces the Four Quarters Method, where a currency pair’s price range is divided into quarters.
These divisions, known as quarter points, highlight critical levels for analyzing and predicting market dynamics. Together, these principles allow traders to align their strategies with institutional trading patterns, offering deeper insights into market trends
🔵 How to Use
The AMDX framework provides a structured approach to understanding market behavior throughout the trading day. Each phase has its own characteristics and trading opportunities, allowing traders to align their strategies effectively. To get the most out of this tool, understanding the dynamics of each phase is essential.
🟣 Accumulation
During the Accumulation phase (19:00 - 01:00 EST), the market is typically quiet, with price movements confined to a narrow range. This phase is where institutional players accumulate their positions, setting the stage for future price movements.
Traders should use this time to study price patterns and prepare for the next phases. It’s a great opportunity to mark key support and resistance zones and set alerts for potential breakouts, as the low volatility makes immediate trading less attractive.
🟣 Manipulation
The Manipulation phase (01:00 - 07:00 EST) is often marked by sharp and deceptive price movements. Institutions create false breakouts to trigger stop-losses and trap retail traders into the wrong direction. Traders should remain cautious during this phase, focusing on identifying the areas of liquidity where these traps occur.
Watching for price reversals after these false moves can provide excellent entry opportunities, but patience and confirmation are crucial to avoid getting caught in the manipulation.
🟣 Distribution
The Distribution phase (07:00 - 13:00 EST) is where the day’s dominant trend typically emerges. Institutions execute large trades, resulting in significant price movements. This phase is ideal for trading with the trend, as the market provides clearer directional signals.
Traders should focus on identifying breakouts or strong momentum in the direction of the trend established during this period. This phase is also where traders can capitalize on setups identified earlier, aligning their entries with the market’s broader sentiment.
🟣 Continuation or Reversal
Finally, the Continuation or Reversal phase (13:00 - 19:00 EST) offers a critical juncture to assess the market’s direction. This phase can either reinforce the established trend or signal a reversal as institutions adjust their positions.
Traders should observe price behavior closely during this time, looking for patterns that confirm whether the trend is likely to continue or reverse. This phase is particularly useful for adjusting open positions or initiating new trades based on emerging signals.
🔵 Settings
Show or Hide Phases.
Adjust the session times for each phase :
Accumulation: 19:00-01:00 EST
Manipulation: 01:00-07:00 EST
Distribution: 07:00-13:00 EST
Continuation or Reversal: 13:00-19:00 EST
Modify Visualization : Customize how the indicator looks by changing settings like colors and transparency.
🔵 Conclusion
AMDX provides traders with a practical method to analyze daily market behavior by dividing the trading day into four key phases: Accumulation, Manipulation, Distribution, and Continuation or Reversal. Each phase highlights specific market dynamics, offering insights into how institutional activity shapes price movements.
From the quiet buildup in the Accumulation phase to the decisive trends of the Distribution phase, and the critical transitions in Continuation or Reversal, this approach equips traders with the tools to anticipate movements and make informed decisions.
By recognizing the significance of each phase, traders can avoid common traps during Manipulation, capitalize on clear trends during Distribution, and adapt to changes in the final phase of the day.
The structured visualization of market phases simplifies decision-making for traders of all levels. By incorporating these principles into your trading strategy, you can enhance your ability to align with market trends, optimize entry and exit points, and achieve more consistent results in your trading journey.
Trading Setup with MA, RSI, ATR, and Donchian ChannelsThe script uses a 50-period Moving Average to identify trends, RSI for entry triggers, and Pivot Points for setting targets or exits.
MoentumOptionTrader_BuySell_SignalShows Buy and Sell when Candle above VWAP, CPR, 9 & 21 EMA, same ice versa for Sell Signal.
Weighted Average Strength Index (WASI)Weighted Average Strength Index (WASI)
The Weighted Average Strength Index (WASI) is a variation of the standard RSI. It uses the Weighted Moving Average (WMA) instead of the Running Moving Average (RMA), making it more responsive to recent price changes. The hypothesis is that this weighted calculation might better capture momentum shifts, providing traders with more timely insights.
How to Use:
Backtest WASI on your preferred assets and timeframes to evaluate its effectiveness for your strategy.
Use for trend following or mean reversion :
- Overbought/Oversold (OB/OS) levels can signal potential mean-reversion opportunities.
- Midline (50 level) crossovers can be used for trend-following strategies.
- WASI and its moving average (MA) crossovers offer additional trend-following or reversal signals.
Parameters and Their Functions:
WASI Length: Determines the number of periods for WASI calculation. A longer length smooths the indicator but increases lag, while a shorter length makes it more sensitive. (When in doubt, go longer).
Source: The price source for the calculation (e.g., close, open, high, or low).
MA Type: Specifies the type of moving average applied to the WASI (options include SMA, EMA, WMA, HMA, and others).
MA Length: The number of periods for the moving average used on the WASI. Higher will lead to a smoother moving average.
Indicator Features:
Dynamic OB/OS Levels: Default overbought (70) and oversold (30) levels help identify potential reversal zones.
Midline Crossover: WASI crossing above or below the 50 level may indicate a trend shift.
WASI-MA Crossover: Crossovers between WASI and its moving average can signal trend-following or mean-reversion opportunities.
Disclaimer:
This indicator is a tool for analysis and should be used in conjunction with other forms of analysis or confirmation. Past performance does not guarantee future results.
ICT Macro Sessions by @zeusbottradingICT Macro Sessions Indicator
The ICT Macro Sessions Indicator is a powerful tool designed for traders who follow the ICT (Inner Circle Trader) methodology and want to optimize their trading during specific high-probability time intervals. This indicator highlights all the key macro sessions throughout the trading day in the GMT+8 (Hong Kong) time zone.
What Does the Indicator Do?
This indicator visually marks ICT Macro Sessions on your trading chart using background colors and optional labels. Each session corresponds to specific time intervals when institutional activity is most likely to drive price action. By focusing on these periods, traders can align their strategies with market volatility and liquidity, increasing their chances of success.
Highlighted Sessions
The indicator covers all major ICT Macro Sessions, each with a unique color for easy identification:
London Macro 1 (15:33–16:00 GMT+8):
- Marks the early London session, often characterized by strong directional moves.
London Macro 2 (17:03–17:30 GMT+8):
- Captures the mid-London session, where price frequently reacts to liquidity levels.
New York AM Macro 1 (22:50–23:10 GMT+8):
- Highlights the start of the New York session, a prime time for price reversals or continuations.
New York AM Macro 2 (23:50–00:10 GMT+8):
- Focuses on late-morning New York activity, often aligning with key news releases.
New York Lunch Macro (00:50–01:10 GMT+8):
- Covers the lunch period in New York, where price may consolidate or set up for afternoon moves.
New York PM Macro 1 (02:10–02:40 GMT+8):
- Tracks post-lunch activity in New York, often featuring renewed volatility.
New York PM Macro 2 (04:15–04:45 GMT+8):
- Captures late-session moves as institutional traders finalize their positions.
Features of the Indicator
Fixed Time: The indicator is pre-configured for GMT+8 but it will adapt automatically to your timezone. No need to change anything in the code.
Background Highlighting: Each session is visually marked with a unique background color for quick recognition.
Optional Labels: Traders can enable or disable labels for each session, providing flexibility in how information is displayed.
Session Toggles: You can choose which sessions to display based on your trading preferences and strategy.
Intraday Timeframes: The indicator is optimized for intraday charts with timeframes of 45 minutes or less. You can change it to anything you like.
Why Use This Indicator?
The ICT Macro Sessions Indicator helps traders focus on the most critical times of the trading day when institutional activity is at its peak. These periods often coincide with significant price movements, making them ideal for scalping, day trading, or even swing trading setups. By visually highlighting these sessions, the indicator eliminates guesswork and allows traders to plan their trades with precision.
ADX MTF TableThis Indicator displays a table on the chart with the Average Directional Index (ADX) values for two different timeframes. It calculates the ADX using a custom formula and shows the ADX values along with their corresponding timeframes. The table's position, font size, and background color can be customized, and the timeframes are labeled with "ADX" appended to their unit (e.g., "5m ADX", "1D ADX"). The table updates dynamically with the latest ADX values for each timeframe.
ATR Extreme ZonesHighlights then the price is unusually extended from the 50-day, measured by it's ATR
Eze Profit - VWAP + MACD Combined SignalThe Eze Profit - VWAP + MACD Combined Signal is an advanced trading tool designed to help traders align price trends with momentum confirmation for better decision-making. By combining Volume-Weighted Average Price (VWAP) and Moving Average Convergence Divergence (MACD), this indicator provides clear entry and exit signals, allowing traders to follow trends and take advantage of momentum shifts.
How It Works:
VWAP:
VWAP represents the average price of an asset, weighted by volume, over a specific period.
It acts as a dynamic support/resistance level and trend filter. Price above VWAP indicates bullish conditions, while price below VWAP suggests bearish conditions.
MACD:
MACD measures momentum through the difference between fast and slow exponential moving averages (EMAs).
Signals are generated when the MACD line crosses its signal line:
Bullish Crossover: Indicates increasing upward momentum.
Bearish Crossunder: Indicates increasing downward momentum.
Combined Logic:
Long Signal: Triggered when price is above VWAP, and MACD exhibits a bullish crossover.
Short Signal: Triggered when price is below VWAP, and MACD exhibits a bearish crossunder.
The script tracks the trader's "in-position" state to prevent redundant signals and ensure clarity.
How to Use:
Use this script to identify potential long and short trading opportunities:
Buy Signal: Enter a long position when the price moves above VWAP and MACD confirms bullish momentum.
Sell Signal: Exit or short when the price drops below VWAP and MACD confirms bearish momentum.
Combine with additional tools like support/resistance, volume analysis, or candlestick patterns for confirmation.
Features:
VWAP Trend Filter: Dynamically adjusts to the trading session to identify overall trend direction.
MACD Momentum Confirmation: Detects key momentum shifts with configurable settings for fast, slow, and signal lengths.
Position State Tracking: Avoids signal redundancy by monitoring open positions.
Buy/Sell Visualizations: Plots Buy/Sell signals directly on the chart for ease of use.
Alerts: Notifies traders in real-time when a long or short signal is triggered.
Customizable Settings:
MACD Fast Length, Slow Length, and Signal Smoothing parameters.
VWAP timeframe resolution to adapt to different trading styles (e.g., intraday or daily).
Credits:
This script is based on standard VWAP and MACD calculations provided by TradingView’s library and has been enhanced with unique logic for combined signal generation.
Notes:
This indicator is intended for educational purposes and should not be considered financial advice. Use it as part of a broader trading strategy alongside other tools for optimal results.
EMAs (3, 9, 50, 200) by MarkLas EMAs (Medias Móviles Exponenciales) de períodos específicos como 3, 9, 50 y 200 son herramientas clave en el análisis técnico para interpretar la acción del precio y tomar decisiones en trading. Aquí te detallo su utilidad:
EMA 3 y EMA 9 (Corto plazo)
Objetivo: Detectar cambios rápidos en el precio y señales de entrada/salida en operaciones de corto plazo.
Aplicaciones:
EMA 3: Responde muy rápido a los cambios de precio. Útil para scalping o day trading.
EMA 9: Proporciona una visión un poco más estable del precio reciente. Ideal para confirmar tendencias de muy corto plazo.
Señales comunes:
Cruces entre EMA 3 y EMA 9 pueden indicar puntos de entrada o salida.
Si el precio está por encima de estas EMAs, sugiere fuerza alcista en el corto plazo; si está por debajo, puede indicar debilidad.
EMA 50 (Mediano plazo)
Objetivo: Identificar la tendencia principal en un marco de tiempo intermedio.
Aplicaciones:
Filtra señales de corto plazo para evitar "ruido" del mercado.
Útil para swing trading, ayudando a evaluar si el activo está en una tendencia sostenida.
Señales comunes:
Si el precio está por encima de la EMA 50, indica una tendencia alcista moderada; si está por debajo, sugiere una tendencia bajista.
Cruces entre la EMA 50 y EMAs más cortas (como 9) pueden indicar un cambio en la dirección de la tendencia.
EMA 200 (Largo plazo)
Objetivo: Establecer la tendencia general del mercado o activo.
Aplicaciones:
Considerada un indicador de referencia para identificar si un activo está en mercado alcista o bajista.
Frecuentemente usada por inversores a largo plazo y traders institucionales.
Señales comunes:
Si el precio está consistentemente por encima de la EMA 200, se interpreta como una señal de fuerza alcista a largo plazo.
Si está por debajo, indica debilidad y una posible tendencia bajista a largo plazo.
Cruces de la EMA 50 con la EMA 200 (Golden Cross o Death Cross) son señales importantes de cambio de tendencia.
Estrategias combinadas
Cruces de EMAs:
Por ejemplo, cuando la EMA 3 cruza hacia arriba la EMA 9, puede ser una señal de compra.
Un cruce de la EMA 50 con la EMA 200 hacia arriba (Golden Cross) es considerado una señal fuerte de compra a largo plazo.
Zonas de soporte/resistencia dinámicas:
Las EMAs actúan como soportes o resistencias dinámicas, donde el precio tiende a reaccionar.
Exponential Moving Average 200*2Moving average 200 days * 2 used in bitcoin.
When bitcoin reaches this value it means that the bull market will be close to ending
Lavkush on topThe provided script is a Pine Script code designed for TradingView, implementing a **Variable Index Dynamic Average (VIDYA)** with some enhancements for volume-based trend analysis and liquidity zone identification. Here's a breakdown of its core functionalities:
---
### **Features**
1. **Variable Index Dynamic Average (VIDYA):**
- VIDYA is calculated using a momentum-based smoothing factor derived from the Chande Momentum Oscillator (CMO).
- This adaptive moving average reacts to price movements and reduces lag during volatile periods.
2. **Liquidity Zones:**
- Identifies pivot highs and lows to determine liquidity zones (support and resistance levels).
- Tracks volume at these levels and annotates charts with labels and liquidity lines.
3. **Trend Detection:**
- Uses crossovers of the source price with VIDYA upper and lower bands (ATR-based) to identify trends.
- Tracks accumulated volume during uptrends and downtrends for further analysis.
4. **Visual Enhancements:**
- Plots VIDYA lines with trend-based coloring.
- Displays liquidity levels with markers and labels indicating accumulated volume.
- Adds arrows for trend reversals and fills areas between VIDYA and price levels for visual clarity.
5. **Statistics Display:**
- Shows key metrics like "Buy Volume," "Sell Volume," and "Delta Volume" as a percentage difference on the chart's last bar.
---
### **Inputs**
- **VIDYA Length & Momentum:** Control the responsiveness of the VIDYA line.
- **Distance Factor for Bands:** Adjusts the multiplier for upper and lower ATR-based bands.
- **Source:** Allows selecting the data series (e.g., close, open).
- **Colors & Shadow Options:** Customize the visual appearance of the trends and liquidity zones.
---
### **Code Highlights**
- **Trend Direction Logic:**
- Determines the trend using crossovers of the source price with the upper and lower bands.
- Adjusts smoothing values based on trend direction to reduce noise.
- **Liquidity Zone Extension:**
- Extends liquidity lines dynamically as the price interacts with them.
- Labels significant liquidity levels with volume annotations.
- **Volume Tracking:**
- Accumulates volume during uptrends and downtrends separately.
- Computes the delta between uptrend and downtrend volumes, displaying it as a percentage.
- **Plotting:**
- Uses `plotshape` for trend reversal markers.
- Creates a shaded region to emphasize trend direction visually.
---
### **Potential Use Cases**
1. **Trend Analysis:** Identify and follow trends dynamically with volume-weighted insights.
2. **Support & Resistance Mapping:** Visualize key liquidity zones for potential price action setups.
3. **Volume Dynamics:** Monitor buy/sell volume changes during trend shifts.
4. **Scalping or Swing Trading:** Use trend reversals and liquidity levels for entry/exit points.
---
### **Customization Suggestions**
- **Add Alerts:** Use `alertcondition()` to notify users about trend changes or price interaction with liquidity zones.
- **Optimize for Asset Classes:** Adjust VIDYA length and ATR calculation parameters based on the asset's volatility (e.g., Forex, stocks, or crypto).
- **Enhance Volume Visualization:** Include bar charts or histograms for more detailed volume analysis.
---
ADX and DI with SMA//@version=5
indicator("ADX and DI with SMA", overlay=false)
len = input.int(14, title="Length")
th = input.int(20, title="Threshold")
avg = input.int(10, title="SMA")
TrueRange = math.max(math.max(high - low, math.abs(high - nz(close ))), math.abs(low - nz(close )))
DirectionalMovementPlus = high - nz(high ) > nz(low ) - low ? math.max(high - nz(high ), 0) : 0
DirectionalMovementMinus = nz(low ) - low > high - nz(high ) ? math.max(nz(low ) - low, 0) : 0
// Smoothed values initialization
SmoothedTrueRange = ta.sma(TrueRange, len)
SmoothedDirectionalMovementPlus = ta.sma(DirectionalMovementPlus, len)
SmoothedDirectionalMovementMinus = ta.sma(DirectionalMovementMinus, len)
DIPlus = SmoothedDirectionalMovementPlus / SmoothedTrueRange * 100
DIMinus = SmoothedDirectionalMovementMinus / SmoothedTrueRange * 100
DX = math.abs(DIPlus - DIMinus) / (DIPlus + DIMinus) * 100
ADX = ta.sma(DX, len)
SMA = ta.sma(ADX, avg)
// Plot ADX and SMA, remove DI+ and DI-
plot(ADX, color=color.yellow, title="ADX")
plot(SMA, color=color.white, title="SMA")
hline(th, color=color.black, linestyle=hline.style_dashed)