Machine Learning Price Target Prediction Signals [AlgoAlpha]Introducing the Machine Learning Price Target Predictions, a cutting-edge trading tool that leverages kernel regression to provide accurate price targets and enhance your trading strategy. This indicator combines trend-based signals with advanced machine learning techniques, offering predictive insights into potential price movements. Perfect for traders looking to make data-driven decisions with confidence.
What is Kernel Regression and How It Works
Kernel regression is a non-parametric machine learning technique that estimates the relationship between variables by weighting data points based on their similarity to a given input. The similarity is determined using a kernel function, such as the Gaussian (RBF) kernel, which assigns higher weights to closer data points and progressively lower weights to farther ones. This allows the model to make smooth and adaptive predictions, balancing recent data and historical trends.
Key Features
🎯 Predictive Price Targets : Uses kernel regression to estimate the magnitude of price movements.
📈 Dynamic Trend Analysis : Multiple trend detection methods, including EMA crossovers, Hull Moving Average, and SuperTrend.
🔧 Customizable Settings : Adjust bandwidth for kernel regression and tweak trend indicator parameters to suit your strategy.
📊 Visual Trade Levels : Displays take-profit and stop-loss levels directly on the chart with customizable colors.
📋 Performance Metrics : Real-time win rate, recommended risk-reward ratio, and training data size displayed in an on-chart table.
🔔 Alerts : Get notified for new trends, take-profit hits, and stop-loss triggers.
How to Use
🛠 Add the Indicator : Add it to your favorites and apply it to your chart. Configure the trend detection method (SuperTrend, HMA, or EMA crossover) and other parameters based on your preferences.
📊 Analyze Predictions : Observe the predicted move size, recommended risk-reward ratio, and trend direction. Use the displayed levels for trade planning.
🔔 Set Alerts : Enable alerts for trend signals, take-profit hits, or stop-loss triggers to stay informed without constant monitoring.
How It Works
The indicator calculates features such as price volatility, relative strength, and trend signals, which are stored during training periods. When a trend change is detected, the kernel regression model predicts the likely price move based on these features. Predictions are smoothed using the specified bandwidth to avoid overfitting while ensuring timely responses to feature changes. Visualized take-profit and stop-loss levels help traders optimize risk management. Real-time metrics like win rate and recommended risk-reward ratios provide actionable insights for decision-making.
Statistics
Godlike Trading StrategyGodlike Trading Strategy Explanation
This strategy combines multiple technical indicators to provide precise buy and sell signals, ensuring high accuracy in trend identification and trade execution. Here's how it works:
Indicators Used:
Supertrend:
Helps identify the overall trend (bullish or bearish).
Provides clear buy and sell signals based on price movements relative to ATR-based bands.
RSI (Relative Strength Index):
Measures momentum and identifies overbought (above 70) or oversold (below 30) conditions.
Helps avoid trades during extreme conditions and confirms trend strength.
MACD (Moving Average Convergence Divergence):
Identifies momentum shifts and trends by comparing two moving averages.
Histogram provides additional confirmation for trend strength.
Crossovers between the MACD line and the signal line indicate potential buy/sell opportunities.
ATR (Average True Range):
Measures market volatility and adjusts stop-loss levels accordingly.
How It Works:
Buy Signal:
The price is above the Supertrend line.
MACD crosses above its signal line, indicating bullish momentum.
RSI is above the oversold level but below overbought (typically between 50-70).
These conditions together confirm a strong bullish trend.
Sell Signal:
The price is below the Supertrend line.
MACD crosses below its signal line, indicating bearish momentum.
RSI is below the overbought level but above oversold (typically between 30-50).
These conditions confirm a bearish trend.
Risk Management:
Stop-loss is dynamically set using ATR to account for market volatility.
Take-profit levels can be set based on a risk-reward ratio (e.g., 1:2 or 1:3) or key support/resistance levels.
Alerts:
Alerts are triggered when buy or sell conditions are met, ensuring the trader never misses an opportunity.
Use Case:
This strategy is versatile and can be applied across various markets (cryptocurrencies, stocks, forex) and timeframes. It’s designed to:
Capture strong trends.
Avoid trades during consolidations or false breakouts.
Provide a clear, rule-based approach to trading.
kyle trend v1The "Kyle Trend v1" indicator is a custom Pine Script indicator designed for trend detection and analysis on financial charts. It combines multiple moving averages, a custom Supertrend-like algorithm, and Keltner Channels to identify market trends, potential buy/sell signals, and overall market sentiment.
Advanced Options Trading Indicator: Buy & Sell Signal Generator This powerful custom indicator combines the Relative Strength Index (RSI) and Moving Average (MA) to help traders identify optimal entry and exit points in the options market. The indicator generates real-time buy and sell signals based on RSI crossovers and price positioning relative to the moving average, providing actionable insights for traders seeking to make informed decisions. Additionally, it calculates potential call and put option strike prices with a buffer for added flexibility and precision, ensuring a well-rounded approach to options trading.
MACD DETTAEste indicador é uma versão personalizada do clássico MACD (Moving Average Convergence Divergence), projetado para se ajustar automaticamente às configurações ideais de médias móveis exponenciais (EMAs) e da linha de sinal com base no timeframe do gráfico. Ele combina flexibilidade e automação para simplificar a análise técnica, adaptando-se automaticamente às condições específicas de diferentes períodos.
Volume Z-ScoreA simple indicator to remove some of the noise associated with day-to-day volume changes. I find this is much easier to spot large volume spikes at reversal points, or dwindling volume at points of exhaustion.
Select the desired lookback period and the indicator will display how many standard deviations above or below the mean the current volume is.
Happy trading!
weakly dividesThis indicator takes the last weekly candle and divides it into the number the user wants. This is a great strategy.
Accurate Bollinger Bands mcbw_ [True Volatility Distribution]The Bollinger Bands have become a very important technical tool for discretionary and algorithmic traders alike over the last decades. It was designed to give traders an edge on the markets by setting probabilistic values to different levels of volatility. However, some of the assumptions that go into its calculations make it unusable for traders who want to get a correct understanding of the volatility that the bands are trying to be used for. Let's go through what the Bollinger Bands are said to show, how their calculations work, the problems in the calculations, and how the current indicator I am presenting today fixes these.
--> If you just want to know how the settings work then skip straight to the end or click on the little (i) symbol next to the values in the indicator settings window when its on your chart <--
--------------------------- What Are Bollinger Bands ---------------------------
The Bollinger Bands were formed in the 1980's, a time when many retail traders interacted with their symbols via physically printed charts and computer memory for personal computer memory was measured in Kb (about a factor of 1 million smaller than today). Bollinger Bands are designed to help a trader or algorithm see the likelihood of price expanding outside of its typical range, the further the lines are from the current price implies the less often they will get hit. With a hands on understanding many strategies use these levels for designated levels of breakout trades or to assist in defining price ranges.
--------------------------- How Bollinger Bands Work ---------------------------
The calculations that go into Bollinger Bands are rather simple. There is a moving average that centers the indicator and an equidistant top band and bottom band are drawn at a fixed width away. The moving average is just a typical moving average (or common variant) that tracks the price action, while the distance to the top and bottom bands is a direct function of recent price volatility. The way that the distance to the bands is calculated is inspired by formulas from statistics. The standard deviation is taken from the candles that go into the moving average and then this is multiplied by a user defined value to set the bands position, I will call this value 'the multiple'. When discussing Bollinger Bands, that trading community at large normally discusses 'the multiple' as a multiplier of the standard deviation as it applies to a normal distribution (gaußian probability). On a normal distribution the number of standard deviations away (which trades directly use as 'the multiple') you are directly corresponds to how likely/unlikely something is to happen:
1 standard deviation equals 68.3%, meaning that the price should stay inside the 1 standard deviation 68.3% of the time and be outside of it 31.7% of the time;
2 standard deviation equals 95.5%, meaning that the price should stay inside the 2 standard deviation 95.5% of the time and be outside of it 4.5% of the time;
3 standard deviation equals 99.7%, meaning that the price should stay inside the 3 standard deviation 99.7% of the time and be outside of it 0.3% of the time.
Therefore when traders set 'the multiple' to 2, they interpret this as meaning that price will not reach there 95.5% of the time.
---------------- The Problem With The Math of Bollinger Bands ----------------
In and of themselves the Bollinger Bands are a great tool, but they have become misconstrued with some incorrect sense of statistical meaning, when they should really just be taken at face value without any further interpretation or implication.
In order to explain this it is going to get a bit technical so I will give a little math background and try to simplify things. First let's review some statistics topics (distributions, percentiles, standard deviations) and then with that understanding explore the incorrect logic of how Bollinger Bands have been interpreted/employed.
---------------- Quick Stats Review ----------------
.
(If you are comfortable with statistics feel free to skip ahead to the next section)
.
-------- I: Probability distributions --------
When you have a lot of data it is helpful to see how many times different results appear in your dataset. To visualize this people use "histograms", which just shows how many times each element appears in the dataset by stacking each of the same elements on top of each other to form a graph. You may be familiar with the bell curve (also called the "normal distribution", which we will be calling it by). The normal distribution histogram looks like a big hump around zero and then drops off super quickly the further you get from it. This shape (the bell curve) is very nice because it has a lot of very nifty mathematical properties and seems to show up in nature all the time. Since it pops up in so many places, society has developed many different shortcuts related to it that speed up all kinds of calculations, including the shortcut that 1 standard deviation = 68.3%, 2 standard deviations = 95.5%, and 3 standard deviations = 99.7% (these only apply to the normal distribution). Despite how handy the normal distribution is and all the shortcuts we have for it are, and how much it shows up in the natural world, there is nothing that forces your specific dataset to look like it. In fact, your data can actually have any possible shape. As we will explore later, economic and financial datasets *rarely* follow the normal distribution.
-------- II: Percentiles --------
After you have made the histogram of your dataset you have built the "probability distribution" of your own dataset that is specific to all the data you have collected. There is a whole complicated framework for how to accurately calculate percentiles but we will dramatically simplify it for our use. The 'percentile' in our case is just the number of data points we are away from the "middle" of the data set (normally just 0). Lets say I took the difference of the daily close of a symbol for the last two weeks, green candles would be positive and red would be negative. In this example my dataset of day by day closing price difference is:
week 1:
week 2:
sorting all of these value into a single dataset I have:
I can separate the positive and negative returns and explore their distributions separately:
negative return distribution =
positive return distribution =
Taking the 25th% percentile of these would just be taking the value that is 25% towards the end of the end of these returns. Or akin the 100%th percentile would just be taking the vale that is 100% at the end of those:
negative return distribution (50%) = -5
positive return distribution (50%) = +4
negative return distribution (100%) = -10
positive return distribution (100%) = +20
Or instead of separating the positive and negative returns we can also look at all of the differences in the daily close as just pure price movement and not account for the direction, in this case we would pool all of the data together by ignoring the negative signs of the negative reruns
combined return distribution =
In this case the 50%th and 100%th percentile of the combined return distribution would be:
combined return distribution (50%) = 4
combined return distribution (100%) = 10
Sometimes taking the positive and negative distributions separately is better than pooling them into a combined distribution for some purposes. Other times the combined distribution is better.
Most financial data has very different distributions for negative returns and positive returns. This is encapsulated in sayings like "Price takes the stairs up and the elevator down".
-------- III: Standard Deviation --------
The formula for the standard deviation (refereed to here by its shorthand 'STDEV') can be intimidating, but going through each of its elements will illuminate what it does. The formula for STDEV is equal to:
square root ( (sum ) / N )
Going back the the dataset that you might have, the variables in the formula above are:
'mean' is the average of your entire dataset
'x' is just representative of a single point in your dataset (one point at a time)
'N' is the total number of things in your dataset.
Going back to the STDEV formula above we can see how each part of it works. Starting with the '(x - mean)' part. What this does is it takes every single point of the dataset and measure how far away it is from the mean of the entire dataset. Taking this value to the power of two: '(x - mean) ^ 2', means that points that are very far away from the dataset mean get 'penalized' twice as much. Points that are very close to the dataset mean are not impacted as much. In practice, this would mean that if your dataset had a bunch of values that were in a wide range but always stayed in that range, this value ('(x - mean) ^ 2') would end up being small. On the other hand, if your dataset was full of the exact same number, but had a couple outliers very far away, this would have a much larger value since the square par of '(x - mean) ^ 2' make them grow massive. Now including the sum part of 'sum ', this just adds up all the of the squared distanced from the dataset mean. Then this is divided by the number of values in the dataset ('N'), and then the square root of that value is taken.
There is nothing inherently special or definitive about the STDEV formula, it is just a tool with extremely widespread use and adoption. As we saw here, all the STDEV formula is really doing is measuring the intensity of the outliers.
--------------------------- Flaws of Bollinger Bands ---------------------------
The largest problem with Bollinger Bands is the assumption that price has a normal distribution. This is assumption is massively incorrect for many reasons that I will try to encapsulate into two points:
Price return do not follow a normal distribution, every single symbol on every single timeframe has is own unique distribution that is specific to only itself. Therefore all the tools, shortcuts, and ideas that we use for normal distributions do not apply to price returns, and since they do not apply here they should not be used. A more general approach is needed that allows each specific symbol on every specific timeframe to be treated uniquely.
The distributions of price returns on the positive and negative side are almost never the same. A more general approach is needed that allows positive and negative returns to be calculated separately.
In addition to the issues of the normal distribution assumption, the standard deviation formula (as shown above in the quick stats review) is essentially just a tame measurement of outliers (a more aggressive form of outlier measurement might be taking the differences to the power of 3 rather than 2). Despite this being a bit of a philosophical question, does the measurement of outlier intensity as defined by the STDEV formula really measure what we want to know as traders when we're experiencing volatility? Or would adjustments to that formula better reflect what we *experience* as volatility when we are actively trading? This is an open ended question that I will leave here, but I wanted to pose this question because it is a key part of what how the Bollinger Bands work that we all assume as a given.
Circling back on the normal distribution assumption, the standard deviation formula used in the calculation of the bands only encompasses the deviation of the candles that go into the moving average and have no knowledge of the historical price action. Therefore the level of the bands may not really reflect how the price action behaves over a longer period of time.
------------ Delivering Factually Accurate Data That Traders Need------------
In light of the problems identified above, this indicator fixes all of these issue and delivers statistically correct information that discretionary and algorithmic traders can use, with truly accurate probabilities. It takes the price action of the last 2,000 candles and builds a huge dataset of distributions that you can directly select your percentiles from. It also allows you to have the positive and negative distributions calculated separately, or if you would like, you can pool all of them together in a combined distribution. In addition to this, there is a wide selection of moving averages directly available in the indicator to choose from.
Hedge funds, quant shops, algo prop firms, and advanced mechanical groups all employ the true return distributions in their work. Now you have access to the same type of data with this indicator, wherein it's doing all the lifting for you.
------------------------------ Indicator Settings ------------------------------
.
---- Moving average ----
Select the type of moving average you would like and its length
---- Bands ----
The percentiles that you enter here will be pulled directly from the return distribution of the last 2,000 candles. With the typical Bollinger Bands, traders would select 2 standard deviations and incorrectly think that the levels it highlights are the 95.5% levels. Now, if you want the true 95.5% level, you can just enter 95.5 into the percentile value here. Each of the three available bands takes the true percentile you enter here.
---- Separate Positive & Negative Distributions----
If this box is checked the positive and negative distributions are treated indecently, completely separate from each other. You will see that the width of the top and bottom bands will be different for each of the percentiles you enter.
If this box is unchecked then all the negative and positive distributions are pooled together. You will notice that the width of the top and bottom bands will be the exact same.
---- Distribution Size ----
This is the number of candles that the price return is calculated over. EG: to collect the price return over the last 33 candles, the difference of price from now to 33 candles ago is calculated for the last 2,000 candles, to build a return distribution of 2000 points of price differences over 33 candles.
NEGATIVE NUMBERS(<0) == exact number of candles to include;
EG: setting this value to -20 will always collect volatility distributions of 20 candles
POSITIVE NUMBERS(>0) == number of candles to include as a multiple of the Moving Average Length value set above;
EG: if the Moving Average Length value is set to 22, setting this value to 2 will use the last 22*2 = 44 candles for the collection of volatility distributions
MORE candles being include will generally make the bands WIDER and their size will change SLOWER over time.
I wish you focus, dedication, and earnest success on your journey.
Happy trading :)
Daily OHLC on Lower TFsdisplay the daily Open, High, Low, and Close (OHLC) prices on any timeframe lower than daily
momentum indicatorThe Rational Quadratic Smoother uses the Rational Quadratic Kernel to create a non-repainting, adaptive smoothing of price data. This method provides a balance between long-term trends and short-term movements by adjusting the weight of distant data points using a kernel function. Traders can use this indicator to:
Smooth price data for better trend identification.
Filter out noise without introducing lag.
Combine it with other indicators for advanced strategies.
Key Features:
Adjustable Lookback Period: Controls the range of data points considered.
Relative Weighting: Fine-tunes the influence of long-term vs. short-term data.
Customizable smoothing to fit different trading styles (scalping, swing trading, etc.).
Volume change(%) and deltaVolume Change (%) Indicator
This indicator is designed to help traders identify significant changes in trading volume during specific market hours. By visually highlighting bars and providing percentage change labels, it helps users detect spikes in volume that could signal important market movements.
Key Features
Customizable Volume Thresholds:
Select from predefined thresholds (e.g., 38.2%, 50%, 61.8%, etc.) to filter only the most relevant volume changes based on your strategy.
Time Filtering:
Focuses on a specific time range (8:30 AM to 2:59 PM by default) to capture critical market activity, such as during the U.S. trading session.
Bar Coloring:
Bars are colored green or red when the volume change exceeds the selected threshold:
Green: Volume increases and the price closes higher.
Red: Volume increases and the price closes lower.
Arrow Labels with Volume Change:
Displays percentage changes above significant bars, accompanied by an arrow:
▲ for price increases.
▼ for price decreases.
Label Customization:
Adjust label size and colors for better visual clarity.
Advantages of Using This Indicator
Improved Volume Analysis:
Highlights when volume surges, helping you spot potential reversals, breakouts, or continuation signals.
Enhanced Focus on Relevant Data:
By limiting the analysis to a specific time window and threshold, it avoids distractions from insignificant volume changes.
Visual Clarity:
Combines bar colors and labels to provide quick, actionable insights without cluttering your chart.
Versatility:
Works well with intraday strategies, especially in volatile markets like futures, forex, or stocks.
Ease of Use:
Fully customizable with intuitive settings to suit different trading styles.
How to Use This Indicator
Step 1: Add to Your Chart
Open your TradingView account.
Click on the "Pine Script Editor" at the bottom of the platform.
Paste the script provided above into the editor.
Click "Add to Chart" to apply the indicator.
Step 2: Configure the Settings
Select Volume Threshold:
Choose the percentage threshold for highlighting bars (e.g., 50% for moderate changes, 250% for extreme spikes).
Enable/Disable Bar Colors:
Toggle the setting to apply or ignore green/red bar coloring.
Adjust Label Size and Colors:
Customize the size of labels and their colors for better visibility.
Step 3: Analyze the Chart
Look for green or red bars with arrows (▲ or ▼) indicating significant volume and price changes.
Use the labels showing percentage changes to gauge the strength of the movement.
Combine with other indicators (e.g., moving averages, RSI) to validate trade entries or exits.
Practical Example
Scenario: Intraday Trading on a Stock Index
Objective: Spot breakouts during the U.S. session (9:30 AM - 3:59 PM NY time).
Settings:
Volume Threshold: 100%.
Time Range: Default (8:30 AM to 2:59 PM).
Labels: Large size, white background, black text.
Observation:
A green bar with a 150% label and an arrow ▲ appears at 10:00 AM, suggesting strong buying interest.
This could indicate the start of a breakout.
You decide to enter a long position, placing a stop-loss below the breakout bar.
Tips for Maximum Effectiveness
Combine with Price Action:
Use alongside candlestick patterns (e.g., pin bars, engulfing patterns) to confirm entries.
Monitor Key Levels:
Pay attention to bars near support/resistance levels or trendlines.
Adjust Thresholds for Volatility:
In highly volatile markets, use higher thresholds (e.g., 250%); in calm markets, lower thresholds (e.g., 50%).
Test on Different Assets:
Works well on stocks, futures, forex, and even cryptocurrencies.
Conclusion
The Volume Change (%) Indicator is a powerful tool for traders looking to incorporate volume analysis into their intraday strategies. Its customization options, visual simplicity, and actionable insights make it suitable for traders of all experience levels. Try it out and refine it based on your market and style. 🚀
Let me know if you need help with further customizations! 😊
(VERSIÓN EN ESPAÑOL)
Indicador de Cambio de Volumen (%)
Este indicador está diseñado para ayudar a los traders a identificar cambios significativos en el volumen de negociación durante horas específicas del mercado. Al resaltar visualmente las barras y proporcionar etiquetas con el porcentaje de cambio, ayuda a los usuarios a detectar picos de volumen que podrían señalar movimientos importantes del mercado.
Características Principales
Umbrales de Volumen Personalizables:
Selecciona entre umbrales predefinidos (por ejemplo, 38.2%, 50%, 61.8%, etc.) para filtrar solo los cambios de volumen más relevantes según tu estrategia.
Filtrado por Tiempo:
Se enfoca en un rango horario específico (por defecto de 8:30 AM a 2:59 PM) para capturar la actividad crítica del mercado, como la sesión americana.
Coloreado de Barras:
Las barras se colorean de verde o rojo cuando el cambio de volumen supera el umbral seleccionado:
Verde: Aumento de volumen y el precio cierra más alto.
Rojo: Aumento de volumen y el precio cierra más bajo.
Etiquetas con Flechas y Cambio de Volumen:
Muestra el cambio porcentual sobre las barras significativas, acompañado de una flecha:
▲ para aumentos de precio.
▼ para caídas de precio.
Personalización de Etiquetas:
Ajusta el tamaño y los colores de las etiquetas para mejorar la claridad visual.
Ventajas de Usar Este Indicador
Mejora el Análisis de Volumen:
Resalta cuando el volumen se dispara, ayudando a detectar posibles reversas, rupturas o señales de continuación.
Enfoque en Datos Relevantes:
Al limitar el análisis a un rango horario específico y umbrales predefinidos, evita distracciones de cambios de volumen insignificantes.
Claridad Visual:
Combina colores de barras y etiquetas para proporcionar información rápida y útil sin saturar el gráfico.
Versatilidad:
Funciona bien con estrategias intradía, especialmente en mercados volátiles como futuros, forex o acciones.
Facilidad de Uso:
Totalmente personalizable con configuraciones intuitivas para adaptarse a diferentes estilos de trading.
Cómo Usar Este Indicador
Paso 1: Agregar a Tu Gráfico
Abre tu cuenta en TradingView.
Haz clic en el "Editor de Pine Script" en la parte inferior de la plataforma.
Pega el script proporcionado arriba en el editor.
Haz clic en "Agregar al gráfico" para aplicar el indicador.
Paso 2: Configura los Ajustes
Selecciona el Umbral de Volumen:
Elige el umbral de porcentaje para resaltar las barras (por ejemplo, 50% para cambios moderados, 250% para picos extremos).
Habilitar/Deshabilitar Colores de Barras:
Activa o desactiva el coloreado de las barras verde/roja.
Ajusta el Tamaño y Colores de las Etiquetas:
Personaliza el tamaño y los colores de las etiquetas para mejorar la visibilidad.
Paso 3: Analiza el Gráfico
Busca barras verdes o rojas con flechas (▲ o ▼) que indiquen cambios significativos de volumen y precio.
Utiliza las etiquetas con el cambio porcentual para medir la fuerza del movimiento.
Combínalo con otros indicadores (por ejemplo, medias móviles, RSI) para validar entradas o salidas de operaciones.
Ejemplo Práctico
Escenario: Trading Intradía en un Índice Bursátil
Objetivo: Detectar rupturas durante la sesión americana (9:30 AM - 3:59 PM hora de Nueva York).
Configuración:
Umbral de Volumen: 100%.
Rango Horario: Por defecto (8:30 AM a 2:59 PM).
Etiquetas: Tamaño grande, fondo blanco, texto negro.
Observación:
Aparece una barra verde con una etiqueta del 150% y una flecha ▲ a las 10:00 AM, lo que sugiere un fuerte interés comprador.
Esto podría indicar el inicio de una ruptura.
Decides entrar en una posición larga, colocando un stop-loss por debajo de la barra de ruptura.
Consejos para Maximizar la Efectividad
Combina con Acción del Precio:
Utiliza patrones de velas (como barras envolventes, pin bars) para confirmar las entradas.
Monitorea Niveles Clave:
Presta atención a las barras cercanas a niveles de soporte/resistencia o líneas de tendencia.
Ajusta los Umbrales según la Volatilidad:
En mercados altamente volátiles, usa umbrales más altos (por ejemplo, 250%); en mercados calmados, umbrales más bajos (por ejemplo, 50%).
Prueba en Diferentes Activos:
Funciona bien en acciones, futuros, forex e incluso criptomonedas.
Conclusión
El Indicador de Cambio de Volumen (%) es una herramienta poderosa para los traders que buscan incorporar el análisis de volumen en sus estrategias intradía. Sus opciones de personalización, simplicidad visual y sus valiosos insights lo hacen adecuado para traders de todos los niveles. Pruébalo y ajústalo según tu mercado y estilo. 🚀
¡Déjame saber si necesitas más ayuda o ajustes! 😊
STRX - Correlation DominationThis indicator displays the correlation among three selected assets (for example, Gold, Dollar Index, and Nasdaq) on a custom timeframe. A table positioned at the top-right corner of the chart lets you quickly see the correlation between:
Asset 1 vs Asset 2
Asset 1 vs Asset 3
Asset 2 vs Asset 3
Correlations are calculated using the Pearson correlation function (ta.correlation). If the correlation is greater than or equal to 0.4, the value appears in green (strong positive correlation). If it is less than or equal to -0.4, it appears in red (strong negative correlation). Otherwise, it is displayed in yellow (weak correlation).
Multi-asset and multi-timeframe: Compare up to three instruments at once on your chosen timeframe.
Customizable period: Use the “Correlation Period” setting to adjust the correlation calculation window.
Clear table format: The results are immediately visible in an easy-to-read table.
Disclaimer: This script is provided solely for educational and informational purposes. It does not constitute a recommendation or an invitation to invest. Use it as an additional resource and always conduct thorough market analysis before opening any trading positions. Past performance does not guarantee future results.
EMA Proximity (Test)First script. Please don't use it.
Goal: To identify in screener, EMA 10/20 cross over before the cross over.
Pivot Bsquad (Traditional and Fibonacci)Pivot Bsquad (Traditional & Fibonacci) - XAUUSD Scalping Indicator
The Pivot Bsquad Indicator is designed to provide high-precision support and resistance levels for scalping on XAUUSD (Gold). This tool combines Traditional Pivot Points and Fibonacci-based Pivot Points to help traders identify key price levels where reversals or breakouts are likely to occur.
Key Features:
1. Dual Pivot Calculation Modes:
Traditional Pivots: Calculated using classic formulas based on high, low, and close values, ideal for broader support and resistance zones.
Fibonacci Pivots: Incorporates Fibonacci ratios for more dynamic and nuanced levels, perfect for intraday scalping.
2. Color-Coded Zones:
Clear visual representation of support (S1, S2, S3) and resistance (R1, R2, R3) levels.
Enhanced with key pivot lines for quick decision-making.
3. Scalping-Friendly Design:
Optimized for short timeframes (e.g., 1-minute to 15-minute charts).
Highlights high-probability zones for reversals or continuation patterns.
4. Customizable Settings:
Toggle between Traditional and Fibonacci pivots to suit your trading style.
Adjustable timeframes for pivot calculation (Daily, Weekly, Monthly).
Ideal For
Scalpers looking to capitalize on XAUUSD's volatility.
Intraday traders who rely on precise support and resistance levels.
Technical traders seeking a reliable confluence of pivot strategies.
How to Use:
Select your preferred pivot mode (Traditional or Fibonacci) in the settings.
Observe price action around pivot levels for potential entry and exit points.
Use in conjunction with momentum oscillators or candlestick patterns for confirmation.
Note: While this indicator provides a solid framework for scalping, always consider risk management practices and market conditions.
Fibonacci Trend [ChartPrime]Fibonacci Trend Indicator
This powerful indicator leverages supertrend analysis to detect market direction while overlaying dynamic Fibonacci levels to highlight potential support, resistance, and optimal trend entry zones. With its straightforward design, it is perfect for traders looking to simplify their workflow and enhance decision-making.
⯁ KEY FEATURES AND HOW TO USE
⯌ Supertrend Trend Identification :
The indicator uses a supertrend algorithm to identify market direction. It displays purple for downtrends and green for uptrends, ensuring quick and clear trend analysis.
⯌ Fibonacci Levels for Current Swings :
Automatically calculates Fibonacci retracement levels (0.236, 0.382, 0.618, 0.786) for the current swing leg.
- These levels act as key zones for potential support, resistance, and trend continuation.
- The high and low swing points are labeled with exact prices, ensuring clarity.
- If the swing range is insufficient (less than five times ATR), Fibonacci levels are not displayed, avoiding irrelevant data.
⯌ Extended Fibonacci Levels :
User-defined extensions project Fibonacci levels into the future, aiding traders in planning price targets or projecting key zones.
⯌ Optimal Trend Entry Zone :
A filled area between 0.618 and 0.786 levels visually highlights the optimal entry zone for trend continuation. This allows traders to refine their entry points during pullbacks.
⯌ Diagonal Trend Line :
A dashed diagonal line connects the swing high and low, visually confirming the range and trend strength of the current swing.
⯌ Visual Labels for Fibonacci Levels :
Each Fibonacci level is marked with a label displaying its value for quick reference.
⯁ HOW TRADERS CAN POTENTIALLY USE THIS TOOL
Fibonacci Retracements:
Use the Fibonacci retracement levels to find key support or resistance zones where the price may pull back before continuing its trend.
Example: Enter long trades when the price retraces to 0.618–0.786 levels in an uptrend.
Fibonacci Extensions:
Use Fibonacci extensions to project future price targets based on the current trend's swing leg. Levels like 127.2% and 161.8% are commonly used as profit-taking zones.
Reversal Identification:
Spot potential reversals by monitoring price reactions at key Fibonacci retracement levels (e.g., 0.236 or 0.382) or the swing high/low.
Optimal Trend Entries:
The filled zone between 0.618 and 0.786 is a statistically strong area for entering a position in the direction of the trend.
Example: Enter long positions during retracements to this range in an uptrend.
Risk Management:
Set stop-losses below key Fibonacci levels or the swing low/high, and take profits at extension levels, enhancing your trade management strategies.
⯁ CONCLUSION
The Fibonacci Trend Indicator is a straightforward yet effective tool for identifying trends and key Fibonacci levels. It simplifies analysis by integrating supertrend-based trend identification with Fibonacci retracements, extensions, and optimal entry zones. Whether you're a beginner or experienced trader, this indicator is an essential addition to your toolkit for trend trading, reversal spotting, and risk management.
Trend Reversal Probability [Algoalpha]Introducing Trend Reversal Probability by AlgoAlpha – a powerful indicator that estimates the likelihood of trend reversals based on an advanced custom oscillator and duration-based statistics. Designed for traders who want to stay ahead of potential market shifts, this indicator provides actionable insights into trend momentum and reversal probabilities.
Key Features :
🔧 Custom Oscillator Calculation: Combines a dual SMA strategy with a proprietary RSI-like calculation to detect market direction and strength.
📊 Probability Levels & Visualization: Plots average signal durations and their statistical deviations (±1, ±2, ±3 SD) on the chart for clear visual guidance.
🎨 Dynamic Color Customization: Choose your preferred colors for upward and downward trends, ensuring a personalized chart view.
📈 Signal Duration Metrics: Tracks and displays signal durations with columns representing key percentages (80%, 60%, 40%, and 20%).
🔔 Alerts for High Probability Events: Set alerts for significant reversal probabilities (above 84% and 98% or below 14%) to capture key trading moments.
How to Use :
Add the Indicator: Add Trend Reversal Probability to your favorites by clicking the star icon.
Market Analysis: Use the plotted probability levels (average duration and ±SD bands) to identify overextended trends and potential reversals. Use the color of the duration counter to identify the current trend.
Leverage Alerts: Enable alerts to stay informed of high or extreme reversal probabilities without constant chart monitoring.
How It Works :
The indicator begins by calculating a custom oscillator using short and long simple moving averages (SMA) of the midpoint price. A proprietary RSI-like formula then transforms these values to estimate trend direction and momentum. The duration between trend reversals is tracked and averaged, with standard deviations plotted to provide probabilistic guidance on trend longevity. Additionally, the indicator incorporates a cumulative probability function to estimate the likelihood of a trend reversal, displaying the result in a data table for easy reference. When probability levels cross key thresholds, alerts are triggered, helping traders take timely action.
Stop Loss & TargetHow to Use the SL/TP Indicator
The SL/TP indicator is a versatile tool designed for traders to easily visualize entry, stop-loss (SL), and take-profit (TP) levels on their charts. This guide will walk you through the steps to configure and use the indicator effectively.
Features:
Configure Long Trades and Short Trades independently.
Define Entry Price, Stop Loss, and up to three Take Profit levels for each trade.
Customize line colors for better visualization.
Works for both risk-reward and target-based trading.
Adding the Indicator:
Open the TradingView platform.
Search for the indicator name: SL/TP.
Click the Add to Chart button to apply it.
Configuration:
1. Long Trade Settings
Enable Long Trade: Check this option to activate long trade lines on the chart.
Long Entry Price: Input the price at which you plan to enter the long trade.
Long Stop Loss: Input your stop-loss level for the long trade.
Line Colors: You can customize the colors for the Entry, SL, and TP lines in the Long Trade settings group.
Take Profit Levels (Calculated Automatically):
TP1: 1:1 Risk-Reward ratio (difference between Entry and SL added to Entry).
TP2: 1:2 Risk-Reward ratio.
TP3: 1:3 Risk-Reward ratio.
2. Short Trade Settings
Enable Short Trade: Check this option to activate short trade lines on the chart.
Short Entry Price: Input the price at which you plan to enter the short trade.
Short Stop Loss: Input your stop-loss level for the short trade.
Line Colors: You can customize the colors for the Entry, SL, and TP lines in the Short Trade settings group.
Take Profit Levels (Calculated Automatically):
TP1: 1:1 Risk-Reward ratio (difference between Entry and SL subtracted from Entry).
TP2: 1:2 Risk-Reward ratio.
TP3: 1:3 Risk-Reward ratio.
Visualizing on the Chart:
Once you configure the settings and enable the trade, the indicator will draw horizontal lines on the chart for:
Entry Price
Stop Loss
Take Profit Levels (TP1, TP2, TP3)
Each line will extend to three bars ahead of the current bar index.
Customization:
Adjust colors for better visibility depending on your chart theme.
The width and style of lines can also be modified in the source code if needed.
Example Usage:
Long Trade Example:
Enable Long Trade: Check the box.
Set Entry Price: 100.
Set Stop Loss: 95.
The indicator will draw the following lines:
Entry Line: At 100 (customizable color).
Stop Loss Line: At 95 (customizable color).
TP1 Line: At 105 (1:1 Risk-Reward).
TP2 Line: At 110 (1:2 Risk-Reward).
TP3 Line: At 115 (1:3 Risk-Reward).
Short Trade Example:
Enable Short Trade: Check the box.
Set Entry Price: 200.
Set Stop Loss: 205.
The indicator will draw the following lines:
Entry Line: At 200 (customizable color).
Stop Loss Line: At 205 (customizable color).
TP1 Line: At 195 (1:1 Risk-Reward).
TP2 Line: At 190 (1:2 Risk-Reward).
TP3 Line: At 185 (1:3 Risk-Reward).
Notes:
Ensure that you input valid and realistic price levels for Entry and Stop Loss.
The indicator will only display lines if both the Entry Price and Stop Loss are non-zero.
Use this indicator for planning trades visually but always confirm levels with your trading strategy.
Disclaimer: This indicator is a tool to assist in trading. Use it with proper risk management and your own due diligence.
ADX (levels)This Pine Script indicator calculates and displays the Average Directional Index (ADX) along with the DI+ and DI- lines to help identify the strength and direction of a trend. The script is designed for Pine Script v6 and includes customizable settings for a more tailored analysis.
Features:
ADX Calculation:
The ADX measures the strength of a trend without indicating its direction.
It uses a smoothing method for more reliable trend strength detection.
DI+ and DI- Lines (Optional):
The DI+ (Directional Index Plus) and DI- (Directional Index Minus) help determine the direction of the trend:
DI+ indicates upward movement.
DI- indicates downward movement.
These lines are disabled by default but can be enabled via input settings.
Customizable Threshold:
A horizontal line (hline) is plotted at a user-defined threshold level (default: 20) to highlight significant ADX values that indicate a strong trend.
Slope Analysis:
The slope of the ADX is analyzed to classify the trend into:
Strong Trend: Slope is higher than a defined "medium" threshold.
Moderate Trend: Slope falls between "weak" and "medium" thresholds.
Weak Trend: Slope is positive but below the "weak" threshold.
A background color changes dynamically to reflect the strength of the trend:
Green (light or dark) indicates trend strength levels.
Custom Colors:
ADX color is customizable (default: pink #e91e63).
Background colors for trend strength can also be adjusted.
Independent Plot Window:
The indicator is displayed in a separate window below the price chart, making it easier to analyze trend strength without cluttering the main price chart.
Parameters:
ADX Period: Defines the lookback period for calculating the ADX (default: 14).
Threshold (hline): A horizontal line value to differentiate strong trends (default: 20).
Slope Thresholds: Adjustable thresholds for weak, moderate, and strong trend slopes.
Enable DI+ and DI-: Boolean options to display or hide the DI+ and DI- lines.
Colors: Customizable colors for ADX, background gradients, and other elements.
How to Use:
Identify Trend Strength:
Use the ADX value to determine the strength of a trend:
Below 20: Weak trend.
Above 20: Strong trend.
Analyze Trend Direction:
Enable DI+ and DI- to check whether the trend is upward (DI+ > DI-) or downward (DI- > DI+).
Dynamic Slope Detection:
Use the background color as a quick visual cue to assess trend strength changes.
This indicator is ideal for traders who want to measure trend strength and direction dynamically while maintaining a clean and organized chart layout.
Multi-Timeframe Stoch RSI Buy SignalIndicates a buy signal if the stoch rsi 15m crossed up and the stoch rsi is less then 20
[ADDYad] Google Search Trends - Bitcoin (2012 Jan - 2025 Jan)This Pine Script shows the Google Search Trends as an indicator for Bitcoin from January 2012 to January 2025, based on monthly data retrieved from Google Trends. It calculates and displays the relative search interest for Bitcoin over time, offering a historical perspective on its popularity mainly built for BITSTAMP:BTCUSD .
Important note: This is not a live indicator. It visualizes historical search trends based on Google Trends data.
Key Features:
Data Source : Google Trends (Last retrieved in January 10 2025).
Timeframe : The script is designed to be used on a monthly chart, with the data reflecting monthly search trends from January 2012 to January 2025. For other timeframes, the data is linearly interpolated to estimate the trends at finer resolutions.
Purpose : This indicator helps visualize Bitcoin's search interest over the years, offering insights into public interest and sentiment during specific periods (e.g., major price movements or news events).
Data Handling : The data is interpolated for use on non-monthly timeframes, allowing you to view search trends on any chart timeframe. This makes it versatile for use in longer-term analysis or shorter timeframes, despite the raw data being available only on a monthly basis. However, it is most relevant for Monthly, Weekly, and Daily timeframes.
How It Works:
The script calculates the number of months elapsed since January 1, 2012, and uses this to interpolate Google Trends data values for any given point in time on the chart.
The linear interpolation function adjusts the monthly data to provide an approximate trend for intermediate months.
Why It's Useful:
Track Bitcoin's historic search trends to understand how interest in Bitcoin evolved over time, potentially correlating with price movements.
Correlate search trends with price action and other market indicators to analyze the effects of public sentiment and sentiment-driven market momentum.
Final Notes:
This script is unique because it shows real-world, non-financial dataset (Google Trends) to understand price action of Bitcoin correlating with public interest. Hopefully is a valuable addition to the TradingView community.
ADDYad
Simple Average Price & Target ProfitThis script is designed to help users calculate and visualize the weighted average price of an asset based on multiple entry points, along with the target price and the potential profit. The user can input specific prices for three different entries, along with the percentage of total investment allocated to each price point. The script then calculates the weighted average price based on these entries and displays it on the chart. Additionally, it calculates the potential profit at a given target price, which is plotted on the chart.
Z-Score Indicator [mr2j]This script calculates the Z-score over any lookback window. It provides an understanding if the current price is relatively high or low - and subsequently is close to a correction.
Z-scores can be broken down into probabilities, where Z-scores
Above 2 occurs 2.3% of the time (very uncommon)
Between 1 and 2 occurs 13.6% of the time (elevated)
Between 0 and 1 occurs 34.1% of the time (normal)
Between -1 and 0 occurs 34.1% of the time (normal) [GREEN ZONE
Between -2 and -1 occurs 13.6% pf the time (elevated)
Below -2 occurs 2.3% of the time (very uncommon)
So by paying attention to what zone price action currently is, we can make predictions about short time price corrections.
Normal zone - no assumptions can be made
Elevated zone - pay attention for further escalation
Very uncommon zone - expect price correction over the short term
Note. Price action is not normally distributed, and as such this indicator can not predict price action with any statistical certainty. It can however, serve as an indicator for upcoming price reversals.