Bollinger Bands Lab - by InFinitoVariation of the Moving Average Lab that includes Bollinger Bands functionality for any manually created Moving Average. It includes:
- Standard Deviations for any MA
- Fixed Symmetrical Deviations for any MA that remain at a constant % away from the MA
- The same Moving Average creation settings from the Moving Average Lab
"The Moving Average Lab allows to create any possible combination of up to 3 given MAs. It is meant to help you find the perfect MA that fits your style, strategy and market type.
This script allows to average, weight, double and triple multiple types and lengths of Moving Averages
Currently supported MA types are:
SMA
EMA
VWMA
WMA
SMMA (RMA)
HMA
LSMA
DEMA
TEMA
Features:
- Double or Triple any type of Moving Average using the same logic used for calculating DEMAs and TEMAs
- Average 2 or 3 different types and lengths of Moving Average
- Weight each MA manually
- Average up to 3 personalized MAs
- Average different Moving Averages with different length each "
The preview screenshot shows:
- The combination of:
- 200 LSMA - Weight: 1
- 200 HMA - Weight: 2
- 200 VWMA - Weight: 1 - Double
- The regular Bollinger Band setting, 2 standard deviations
- Two fixed symmetrical deviations at 15% and 20% away from the XMA
Zmienność
Range Deviations @joshuuuThis indicator is able to show ranges, the equlibrium (50%) and range deviations.
It has four pre-defined options and one custom version.
Asia (2000-0000) ny time
CBDR(1400-2000) ny time
Flout(1400-0000) ny time
ONS (OverNightSession)(0400-0800) chicago time
Custom (you can choose the times)
ICT (Inner Circle Traders) teaches, that those range deviations of asia,cbdr,flout can be used to find the daily high/low.
TCM (The Currency Merchant) teaches, that a move out of the range often is a false move to trap traders into the wrong direction.
Positive Volatility and Volume GaugeThis is my first published script. It is a real volatility gauge that allows the user to see the real volatility of a given candle on the 15-min time frame. It also has the SMA of real volatility and volume available.
It provides the user to identify high volatility points that can lead to reversals back to the mid-point of said high volatility.
You can change the threshold of the signal line. For the 15-min time frame, I suggest that the 1.5-2.5 threshold be used for the best view.
Good luck and let me know if you have any questions or suggestions. I'm always open to learning.
Thank you!
Bollinger Bands and SMA Channel Buy and Sell
This Indicator is a combination of a standard BB indicator incorporated with a SSL Channel by ErwinBeckers which is Simple Moving average with a length of set at 10 (Default) and calculates the high and low set for the default 10 to form a Channel.
The Settings for the Bollinger Band is the standard settings on a normal Bollinger Band - Length 20, source close and Standard dev 2
The setting for the SMA is length 10 and the high and low calculated or that length to form a channel.
The SMA Channel gives a green line for the Up channel and the Red line for the down Channel.
The basis of the indicator is that the Candle close above the Basis line of the BB and the SMA green line will give a buy indicator
and the same for Sell indicator the candle close below the basis BB and the SMA line Red will give a Sell indicator.
Please note that this indicator is a mix of 2 basic indicators found in Trading view, giving Buy and Sell indicators to make things easier to not look for this visually.
This code will be open source for anyone to use or back test or use it for whatever they want.
This code is for my own personal trading and cannot be relied upon. This indicator cannot be used and cannot guarantee anything, and caution should always be taken when trading. Use this with other indicators to give certanty.
Again use this for Paper Trading only.
I want to thank TradingView for its platform that facilitates development and learning.
Regularized-Moving-Average Oscillator SuiteThe Regularized-MA Oscillator Suite is a versatile indicator that transforms any moving average into an oscillator. It comprises up to 13 different moving average types, including KAMA, T3, and ALMA. This indicator serves as a valuable tool for both trend following and mean reversion strategies, providing traders and investors with enhanced insights into market dynamics.
Methodology:
The Regularized MA Oscillator Suite calculates the moving average (MA) based on user-defined parameters such as length, moving average type, and custom smoothing factors. It then derives the mean and standard deviation of the MA using a normalized period. Finally, it computes the Z-Score by subtracting the mean from the MA and dividing it by the standard deviation.
KAMA (Kaufman's Adaptive Moving Average):
KAMA is a unique moving average type that dynamically adjusts its smoothing period based on market volatility. It adapts to changing market conditions, providing a smoother response during periods of low volatility and a quicker response during periods of high volatility. This allows traders to capture trends effectively while reducing noise.
T3 (Tillson's Exponential Moving Average):
T3 is an exponential moving average that incorporates additional smoothing techniques to reduce lag and provide a more responsive indicator. It aims to maintain a balance between responsiveness and smoothness, allowing traders to identify trend reversals with greater accuracy.
ALMA (Arnaud Legoux Moving Average):
ALMA is a moving average type that utilizes a combination of linear regression and exponential moving average techniques. It offers a unique way of calculating the moving average by providing a smoother and more accurate representation of price trends. ALMA reduces lag and noise, enabling traders to identify trend changes and potential entry or exit points more effectively.
Z-Score:
The Z-Score calculation in the Regularized-MA Oscillator Suite standardizes the values of the moving average. It measures the deviation of each data point from the mean in terms of standard deviations. By normalizing the moving average through the Z-Score, the indicator enables traders to assess the relative position of price in relation to its mean and volatility. This information can be valuable for identifying overbought and oversold conditions, as well as potential trend reversals.
Utility:
The Regularized-MA Oscillator Suite with its unique moving average types and Z-Score calculation offers traders and investors powerful analytical tools. It can be used for trend following strategies by analyzing the oscillator's position relative to the midline. Traders can also employ it as a mean reversion tool by identifying peak values above user-defined deviations. These features assist in identifying potential entry and exit points, enhancing trading decisions and market analysis.
Key Features:
Variety of 13 MA types.
Potential reversal point bubbles.
Bar coloring methods - Trend (Midline cross), Extremities, Reversions, Slope
Example Charts:
Banded Chikou Breakout — Quantifying Ichimoku MomentumTitle: Banded Chikou Breakout — Quantifying Ichimoku Momentum
Overview:
Banded Chikou Breakout (BCB) is a unique, algorithmic script designed to augment the capabilities of traders seeking substantial breakout opportunities. Constructed on the robust principles of the Ichimoku trading strategy, BCB is designed to quantify and filter the Chikou Span's significant breakouts above or below the price action. This script does not aim to replace the Ichimoku system; instead, it enhances it, providing an optimized tool for momentum trading.
Rationale:
Ichimoku traders often scrutinize the Chikou Span's position relative to price action to identify market trends. However, determining whether the Chikou Span is above or below due to a genuine trend or mere market noise can be challenging in choppy markets. BCB resolves this predicament by offering a unique way to interpret the Chikou Span's movement. It does so by quantifying the Chikou Span's momentum and utilizing Bollinger Bands to determine its significance. By effectively differentiating substantial movements from the insignificant, BCB can help traders better navigate the market and increase their potential for profitable trades.
How it Works:
BCB combines three key elements: a Momentum Script (simulating Chikou Span), a Bollinger Band Script, and a Timeframe Switcher, all working together to provide a refined trading perspective.
Momentum Script: Calculates the price difference between the current price and the price 'n' periods ago, transforming the Chikou Span into a quantifiable momentum value that signifies the strength and speed of a market move.
Bollinger Band Script: Computes a Simple Moving Average (SMA) around the momentum, plotting two 'bands' at a specified standard deviation from this SMA. This functionality allows traders to discern when the Chikou Span's momentum is abnormally high or low, signifying a potential significant breakout.
Timeframe Switcher: This feature lets traders apply the BCB script to a different timeframe from the one they are currently viewing. This capability can help traders identify higher timeframe breakouts and trade them with precision on the lower timeframe.
How to Use:
BCB is designed to complement the Ichimoku strategy for effective breakout identification.
Add the BCB script to your trading chart. It plots the momentum (yellow line) and Bollinger Bands (green lines) with the area between the bands shaded blue.
Utilize the Ichimoku strategy to identify larger and smaller timeframe trends.
Optional: Leverage the timeframe switcher to synchronize your trades with higher timeframe trends while operating on lower timeframes.
If the BCB momentum line crosses the upper Bollinger Band while the Ichimoku indicates a bullish trend, it signifies a potential significant upward breakout. Similarly, a cross below the lower band during a bearish trend could denote a significant downward breakout.
Remember, without the context provided by the Ichimoku system's trend analysis, BCB can yield false breakouts. It is, therefore, crucial to use these tools in tandem. I like to check for an Ichimoku trend on the 4H and 1H charts, and then use BCB on charts <60 minutes to capture trends with precision.
TrendingNowTrendingNow Indicator - An Experimental Study
Introduction:
The TrendingNow indicator is an experimental study designed to identify trending market conditions and potential trading opportunities. It combines various technical analysis tools and parameters to provide insights into trend direction, momentum, volume, and price reversals.
Methodology:
The TrendingNow indicator is calculated based on the following parameters and calculations:
Moving Average: A simple moving average (SMA) is calculated using the specified length parameter. It helps smooth out price fluctuations and identify the overall trend direction.
Upper and Lower Bands: The upper and lower bands are derived from the moving average by adding and subtracting a deviation calculated using the multiplier parameter. These bands provide dynamic levels for potential trend reversals.
Price Reversals: The indicator detects price reversals by identifying when the price crosses above or below the upper or lower bands. These reversals suggest potential entry or exit points in the market.
Trend Confirmation: The indicator uses a moving average of the closing prices over the confirmation length parameter to confirm the overall trend direction. It helps filter out false signals and validates the presence of a trend.
Momentum Oscillator: The indicator calculates the relative strength index (RSI) over the momentum length parameter. The RSI measures the speed and change of price movements, indicating potential overbought and oversold conditions.
Volume Trend Confirmation: The study compares the current volume with the average volume over the specified length. If the current volume is above the volume threshold, it suggests increasing volume activity and potential confirmation of the trend.
Volatility Filter: The indicator incorporates an average true range (ATR) calculation to assess market volatility. The volatility threshold is derived by multiplying the ATR by the volatility multiplier parameter. It helps filter out signals during periods of low volatility.
Experimental Study:
The TrendingNow indicator aims to experiment with the combination of these technical analysis tools to identify trending market conditions and potential trading opportunities. By monitoring the price reversals, trend confirmation, momentum, volume trends, and volatility, traders can potentially identify high-probability trade setups.
The study involves observing the indicator's signals and assessing their effectiveness in different market conditions. Traders can experiment with different parameter values, timeframes, and asset classes to optimize the indicator's performance.
Usage and Interpretation:
When using the TrendingNow indicator, traders can consider the following guidelines:
Trend Identification: A bullish trend is indicated when the price is above the upper band, the moving average is rising, and the trend confirmation is positive. A bearish trend is indicated when the price is below the lower band, the moving average is declining, and the trend confirmation is negative.
Price Reversals: Price crossing above the upper band may suggest a potential selling opportunity, while price crossing below the lower band may indicate a potential buying opportunity. These reversals should be confirmed by other indicators and market conditions.
Momentum and Volume Confirmation: Traders can pay attention to the RSI levels to assess overbought and oversold conditions. High volume activity in line with the trend can provide additional confirmation.
Volatility Consideration: Traders may choose to adjust the volatility multiplier parameter based on the current market conditions. Higher values may be more suitable during periods of higher volatility, while lower values may be preferred during low volatility.
Conclusion:
The TrendingNow indicator offers an experimental approach to identifying trending market conditions and potential trading opportunities. Traders can customize the indicator parameters and combine it with other analysis techniques to suit their trading strategies. It is important to conduct thorough testing and validation before incorporating the indicator into live trading.
Disclaimer:
The information provided in this document, including the TrendingNow indicator and the accompanying experimental study, is for educational and experimental purposes only. It should not be considered as financial advice or a recommendation to engage in any trading or investment activities. Trading and investing in financial markets carry inherent risks, and past performance is not indicative of future results.
Before making any trading decisions, it is essential to conduct your own research, evaluate your risk tolerance, and consider your financial situation. The TrendingNow indicator is based on historical price data and technical analysis tools. However, it is important to understand that market conditions can change rapidly, and the indicator may not accurately predict future market movements or generate profitable trades in all situations.
The experimental study aims to explore the effectiveness of the TrendingNow indicator under different market conditions. However, the results obtained from the study are specific to historical data and may not necessarily be indicative of real-time market performance. It is recommended to exercise caution and use the indicator in conjunction with other analysis techniques and risk management strategies.
The TrendingNow indicator's parameters, such as length, multiplier, confirmation length, momentum length, overbought level, oversold level, volume threshold, and volatility multiplier, are adjustable inputs. Traders should carefully consider and test different parameter settings to suit their trading style and market conditions. Furthermore, it is important to regularly review and update the indicator's parameters as market dynamics change.
Trading in financial markets involves the potential for financial loss, and individuals should only trade with funds they can afford to lose. It is strongly advised to seek the guidance of a qualified financial professional or advisor before making any investment decisions.
By using the TrendingNow indicator and conducting the experimental study, you acknowledge that you are solely responsible for any trading decisions you make, and you agree to hold harmless the authors, developers, and distributors of this indicator for any losses, damages, or liabilities incurred as a result of your trading activities.
AIR Supertrend (Average Interpercentile Range)Supertrend (ST) is a popular stop loss and trend identification script. The simplicity of seeing a clean trend on a chart makes it attractive, yet it is restricted by only allowing the source, length and multiplier to be adjusted, & these tend to have a limited effect on the properties of the identified trend.
There is a wide variety of interesting ST scripts on TradingView that give the user more control, but none to my knowledge, based on measuring the statistical dispersion of Average Interpercentile Range (AIR).
Two more levels of control:
Normally, ATR Average True Range is used to calculate the range in ST. ATR is initially calculated using RMA to smooth out True Range. This script gives the user the option of changing the MA to some more interesting varieties & modifying their parameters.
The default range setting when you load the indicator on a chart will be AIR.
The real strength of the indicator, however, and the reason I am publishing it, is to release AIR. Play round with the percentile range setting. Lowering it will allow you to stay longer in a trade in a volatile market. Raising it will make it tighter.
For comparison, you can switch back the range setting to ATR and load up RMA to see how the original, classic ST plots.
Alerts are included in this version. Alway use a stop loss.
DISCLAIMER: None of this is financial advice.
Credits to these authors, whose hard work inspired parts of this script:
@ KivancOzbilgic - SuperTrend
@ KioseffTrading - Tillson T3 MA
@ cheatcountry - Hann Window Smoothing
@ mutantdog - Interquartile Range function in his 'Blaze' script
Sessions[Lenny Kiruthu]The script below is designed to show up to 4 different trading sessions i.e. London, New York, Tokyo and Sydney sessions, it also displays the days each session is taking place in as well as two horizontal lines one for the previous days high and the other for the previous days low.
It also displays a table that shows the user the highest and lowest price for 4 different currency pairs the previous day as well as their current prices and below it a confirmation row that shows whether price is currently above, below or within yesterdays range. Note that it only states "High Broken" or "Low Broken" if the current close is above or below the lines.
What you can change
Your time zone for example GMT -4 or GMT +3
The session start and end time
The colors, border type and border width of the session ranges
Displaying the table
Ability to choose the 4 symbols to view on the table
Logarithmic VolatilityIntroducing the Logarithmic Volatility Indicator , an innovative trading indicator designed especially for trading in low volatility markets. This powerful indicator is aimed at traders of all levels, from beginners to experts, and is based on fundamental concepts of mathematics and statistics applied to the financial market. Its main objective is to provide you with a better understanding of price movements and help you make more accurate investment decisions, especially in low volatility environments.
The purpose of this indicator is to find a volatility estimator that depends on the difference between High and Low, taking into account that this measure is directly proportional to volatility. A first result was obtained by Parkinson (1980) which was later improved by Garman and Klass (1980), who improved the estimator by obtaining one of minimum variance. It is the simplified version (and recommended by them) of the Garman and Klass estimator that is used to calculate the daily volatility of the asset.
The Logarithmic Volatility Indicator is a unique smoothing indicator that uses logarithms and volatility calculation of the opening, high, low and closing prices. It combines these elements to obtain an accurate representation of market volatility in situations where volatility is low.
Features
This indicator has several outstanding features designed to enhance your trading analysis in low volatility environments:
• Intraday Volatility Calculation: This innovative feature allows you to view market volatility levels in real time, providing a clear view of market fluctuations even when volatility is low.
• EMA (Exponential Moving Average) Multi Length: The indicator incorporates three different EMA lengths (Fast, Medium and Slow). This gives you a deeper and more detailed analysis of market volatility, allowing you to detect subtle changes in volatility and make more accurate predictions.
• Visual color change: The indicator uses a color change between green and red to facilitate quick interpretation of the market. Green indicates a decrease in volatility, while red indicates an increase in volatility. This feature helps you quickly identify changes in market dynamics even in periods of low volatility.
• Histogram display: In addition to the colors, the indicator can also be displayed as a histogram. This intuitive representation allows you to visually observe changes in volatility over time and detect emerging patterns or trends in markets with low volatility.
Settings
The Logarithmic Volatility Indicator allows you to customize various settings to suit your specific trading needs:
• Slow EMA length: you can select the length of the slow exponential moving average according to your preferences and trading strategies.
• Fast EMA length: Similarly, you can choose the length of the fast exponential moving average to suit your trading style.
• Average EMA length: In addition to the two EMA lengths above, this indicator offers a third EMA length for even more detailed analysis. This additional feature is especially useful when trading in markets with low volatility, as it allows you to capture subtle changes in market dynamics.
Trading
The Logarithmic Volatility Indicator is designed not only to provide you with essential information about market volatility, but also to give you clear indications on when to trade. Here's how you can use the indicator's colors to guide your trading decisions:
- Long Trading: When the fast EMA has a smaller value than the slow EMA, the indicator will change to green. This is a signal to enter a long trade. That is, you can consider buying at this point, as an increase in price is anticipated due to decreasing volatility. With volatility declining, there is a greater likelihood that the price will continue in the current direction rather than fluctuate erratically.
- b]Short Trading: On the other hand, when the fast EMA has a higher value than the slow EMA, the indicator will turn red. This is a signal to enter a short trade. In other words, you may consider selling at this point, as a decline in price is anticipated due to rising volatility. With volatility on the rise, there is a greater risk of steeper price fluctuations.
It is important to remember that, as with any indicator, the Logarithmic Volatility Indicator does not guarantee 100% success. You should always use this indicator in combination with other analytical tools and good risk management. This tool provides you with an overview of market volatility and can help you identify trading opportunities in low volatility markets, but the final decision on when and how to trade should always be based on your own analysis and judgment.
In conclusion, the Logarithmic Volatility Indicator is an essential trading tool that every trader should have in their arsenal, especially when facing low volatility markets. With its accurate volatility calculation and easy-to-understand visualization, it will help you improve your trading decisions and maximize your profits even in situations where price movements are less pronounced. Try it today and take advantage of its efficiency in low volatility environments!
---------------------------------------------------------------------------------------------------
Presentamos el Indicador de Volatilidad Logarítmica , un innovador indicador de trading diseñado especialmente para operar en mercados con baja volatilidad. Este poderoso indicador está dirigido a traders de todos los niveles, desde principiantes hasta expertos, y se basa en conceptos fundamentales de matemáticas y estadísticas aplicadas al mercado financiero. Su objetivo principal es proporcionarte una mejor comprensión de los movimientos de precios y ayudarte a tomar decisiones de inversión más precisas, especialmente en entornos de baja volatilidad.
Con este indicador se pretende encontrar un estimador de la volatilidad que dependa de la diferencia entre el High y el Low, teniendo en cuenta que esta medida es directamente proporcional a la volatilidad. Un primer resultado fue obtenido por Parkinson (1980) que posteriormente fue mejorado por Garman y Klass (1980), que mejoraron el estimador obteniendo uno de varianza mínima. Es la versión simplificada (y recomendada por ellos mismos) del estimador de Garman y Klass la que se utiliza para calcular la volatilidad diaria del activo.
El Indicador de Volatilidad Logarítmica es un indicador de suavizado único que utiliza logaritmos y el cálculo de la volatilidad de los precios de apertura, máximo, mínimo y cierre. Combina estos elementos para obtener una representación precisa de la volatilidad del mercado en situaciones donde la volatilidad es baja.
Características
Este indicador cuenta con varias características sobresalientes diseñadas para mejorar tu análisis de trading en entornos de baja volatilidad:
• Cálculo de la volatilidad intradía: Esta función innovadora te permite ver los niveles de volatilidad del mercado en tiempo real, lo que brinda una visión clara de las fluctuaciones del mercado incluso cuando la volatilidad es baja.
• EMA (Exponential Moving Average) Multi Longitud: El indicador incorpora tres longitudes diferentes de EMA (Rápida, Media y Lenta). Esto te proporciona un análisis más profundo y detallado de la volatilidad del mercado, permitiéndote detectar cambios sutiles en la volatilidad y realizar predicciones más precisas.
• Cambio de color visual: El indicador utiliza un cambio de color entre verde y rojo para facilitar la interpretación rápida del mercado. El verde indica una disminución de la volatilidad, mientras que el rojo indica un aumento de la volatilidad. Esta característica te ayuda a identificar rápidamente cambios en la dinámica del mercado incluso en períodos de baja volatilidad.
• Visualización Histograma: Además de los colores, el indicador también se puede visualizar como un histograma. Esta representación intuitiva te permite observar de manera visual los cambios en la volatilidad a lo largo del tiempo y detectar patrones o tendencias emergentes en mercados con baja volatilidad.
Ajustes
El Indicador de Volatilidad Logarítmica te permite personalizar varios ajustes para adaptarlos a tus necesidades de trading específicas:
• Longitud de EMA lenta: Puedes seleccionar la longitud de la media móvil exponencial lenta según tus preferencias y estrategias de trading.
• Longitud de EMA rápida: De manera similar, puedes elegir la longitud de la media móvil exponencial rápida para ajustarla a tu estilo de trading.
• Longitud de EMA media: Además de las dos longitudes de EMA anteriores, este indicador ofrece una tercera longitud de EMA para un análisis aún más detallado. Esta característica adicional es especialmente útil cuando operas en mercados con baja volatilidad, ya que te permite capturar cambios sutiles en la dinámica del mercado.
Operativa
El Indicador de Volatilidad Logarítmica está diseñado no solo para brindarte información esencial sobre la volatilidad del mercado, sino también para ofrecerte indicaciones claras sobre cuándo operar. Aquí te explicamos cómo puedes utilizar los colores del indicador para guiar tus decisiones de trading:
• Operativa en Largo: Cuando la EMA rápida tiene un valor más pequeño que la EMA lenta, el indicador cambiará a color verde. Esta es una señal para entrar en una operación en largo. Es decir, puedes considerar comprar en este punto, ya que se anticipa un aumento en el precio debido a la disminución de la volatilidad. Con la volatilidad en descenso, existe una mayor probabilidad de que el precio continúe en la dirección actual en lugar de fluctuar erráticamente.
• Operativa en Corto: Por otro lado, cuando la EMA rápida tiene un valor mayor que la EMA lenta, el indicador se tornará rojo. Esta es una señal para entrar en una operación en corto. En otras palabras, puedes considerar vender en este punto, ya que se anticipa una disminución en el precio debido al aumento de la volatilidad. Con la volatilidad en ascenso, existe un mayor riesgo de fluctuaciones de precio más pronunciadas.
Es importante recordar que, como con cualquier indicador, el Indicador de Volatilidad Logarítmica no garantiza un éxito del 100%. Siempre debes usar este indicador en combinación con otras herramientas de análisis y una buena gestión de riesgos. Esta herramienta te proporciona una visión general de la volatilidad del mercado y puede ayudarte a identificar oportunidades de trading en mercados con baja volatilidad, pero la decisión final de cuándo y cómo operar siempre deberá basarse en tu propio análisis y juicio.
En conclusión, el Indicador de Volatilidad Logarítmica es una herramienta de trading esencial que todo trader debe tener en su arsenal, especialmente cuando se enfrenta a mercados con baja volatilidad. Con su cálculo preciso de la volatilidad y su visualización fácil de entender, te ayudará a mejorar tus decisiones de trading y a maximizar tus ganancias incluso en situaciones donde los movimientos de precios son menos pronunciados. ¡Pruébalo hoy mismo y aprovecha su eficiencia en entornos de baja volatilidad!
Donchian Volatility Indicator - Adaptive Channel WidthThis indicator is designed to help traders assess and analyze market volatility. By calculating the width of the Donchian channels, it provides valuable insights into the range of price movements over a specified period. This indicator helps traders identify periods of high and low volatility, enabling them to make more informed trading decisions.
The indicator is based on the concept of Donchian channels, which consist of the highest high and lowest low over a specified lookback period. The channel width is calculated as the difference between the upper and lower channels. A wider channel indicates higher volatility, suggesting potentially larger price movements and increased trading opportunities. On the other hand, a narrower channel suggests lower volatility, indicating a relatively calmer market environment with potentially fewer trading opportunities.
The adaptive aspect of the indicator refers to its ability to adjust the width of the channels dynamically based on market conditions. The indicator calculates the width of the channels using the Average True Range (ATR) indicator, which measures the average range of price movements over a specified period. By multiplying the ATR value with the user-defined ATR multiplier, the indicator adapts the width of the channels to reflect the current level of volatility. During periods of higher volatility, the channels expand to accommodate larger price movements, providing a broader range for assessing volatility. Conversely, during periods of lower volatility, the channels contract, reflecting the narrower price ranges and signaling a decrease in volatility. This adaptive nature allows traders to have a flexible and responsive measure of volatility, ensuring that the indicator reflects the current market conditions accurately.
To provide further insights, the indicator includes a signal line. The signal line is derived from the channel width and is calculated as a simple moving average over a specified signal period. This signal line acts as a reference level, allowing traders to compare the current channel width with the average width over a given time frame. By assessing whether the current channel width is above or below the signal line, traders can gain additional context on the volatility level in the market.
The colors used in the Donchian Volatility Indicator - Adaptive Channel Width play a vital role in visualizing the volatility levels:
-- Lime Color : When the channel width is above the signal line, it is colored lime. This color signifies that volatility has entered the market, indicating potentially higher price movements and increased trading opportunities. Traders can pay closer attention to the lime-colored channel width as it may suggest favorable conditions for trend-following or breakout trading strategies.
-- Fuchsia Color : When the channel width is below the signal line, it is colored fuchsia. This color represents relatively low volatility, suggesting a calmer market environment with potentially fewer trading opportunities. Traders may consider adjusting their strategies during periods of low volatility, such as employing range-bound or mean-reversion strategies.
-- Aqua Color : The signal line is represented by the aqua color. This color allows traders to easily identify the signal line amidst the channel width. The aqua color provides a visual reference for the average channel width and helps traders assess whether the current width is above or below this average.
The Donchian Volatility Indicator - Adaptive Channel Width has several practical applications for traders:
-- Volatility Assessment : Traders can use this indicator to assess the level of volatility in the market. By observing the width of the Donchian channels and comparing it to the signal line, they can determine whether the current volatility is relatively high or low. This information helps traders set appropriate expectations and adjust their trading strategies accordingly.
-- Breakout Trading : Wide channel widths may indicate an increased likelihood of price breakouts. Traders can use the Donchian Volatility Indicator - Adaptive Channel Width to identify potential breakout opportunities. When the channel width exceeds the signal line, it suggests a higher probability of significant price movements, potentially signaling a breakout. Traders may consider entering trades in the direction of the breakout.
-- Risk Management : The indicator can assist in setting appropriate stop-loss levels based on the current volatility. During periods of high volatility (lime-colored channel width), wider stop-loss orders may be warranted to account for larger price swings. Conversely, during periods of low volatility (fuchsia-colored channel width), narrower stop-loss orders may be appropriate to limit risk in a more range-bound market.
While the Donchian Volatility Indicator - Adaptive Channel Width is a valuable tool, it is important to consider its limitations:
-- Lagging Indicator : The indicator relies on historical price data, making it a lagging indicator. It provides insights based on past price movements and may not capture sudden changes or shifts in volatility. Traders should be aware that the indicator may not generate real-time signals and should be used in conjunction with other indicators and analysis tools.
-- False Signals : Like any technical indicator, the Donchian Volatility Indicator - Adaptive Channel Width is not immune to generating false signals. Traders should exercise caution and use additional analysis to confirm the signals generated by the indicator. Considering the broader market context and employing risk management techniques can help mitigate the impact of false signals.
-- Market Conditions : Market conditions can vary, and volatility levels can differ across different assets and timeframes. Traders should adapt their strategies and consider other market factors when interpreting the signals provided by the indicator. It is crucial to avoid relying solely on the indicator and to incorporate a comprehensive analysis of the market environment.
In conclusion, this indicator is a powerful tool for assessing market volatility. By examining the width of the Donchian channels and comparing it to the signal line, traders can gain insights into the level of volatility and adjust their trading strategies accordingly. The color-coded representation of the channel width and signal line allows for easy visualization and interpretation of the volatility dynamics. Traders should utilize this indicator as part of a broader trading approach, incorporating other technical analysis tools and considering market conditions for a comprehensive assessment of market volatility.
Williams %R + Keltner chanells - indicator (AS)1)INDICATOR ---This indicator is a combination of Keltner channels and Williams %R.
It measures trend using these two indicators.
When Williams %R is overbought(above upper line (default=-20)) and Keltner lower line is below price indicator shows uptrend (green).
When Williams %R is oversold(below lower line (default=-80)) and Keltner upper line is above price indicator shows downtrend (red) .
Can be turned into a strategy quickly.
2) CALCULATIONS:
Keltner basis is a choosen type of moving average and upper line is basis + (ATR*multiplier). Same with lower but minus instead of plus so basiss – (ATR*multiplier)
Second indicator
Williams %R reflects the level of the close relative to the highest high for the lookback period
3)PLS-HELP-----Looking for tips, ideas, sets of parameters, markets and timeframes, rules for strategy -------OVERALL -every advice you can have
4) SIGNALS-----buy signal is when price is above upper KC and Williams %R is above OVB(-20). Short is exactly the other way around
5) CUSTOMIZATION:
-%R-------LENGTH/SMOOTHING/TYPE SMOOTHING MA
-%R-------OVS/MID/OVB -(MID-no use for now)
-KC -------LENGTH/TYPE OF MAIN MA
-KC-------MULTIPLIER,ATR LENGTH
-OTHER--LENGTH/TYPE OF MA - (for signal filters, not used for now)
-OTHER--SOURCE -src of calculations
-OTHER--OVERLAY - plots %R values for debugging etc(ON by default)
6)WARNING - do not use this indicator on its own for trading
7)ENJOY
Volatility-Based Mean Reversion BandsThe Volatility-Based Mean Reversion Bands indicator is a powerful tool designed to identify potential mean reversion trading opportunities based on market volatility. The indicator consists of three lines: the mean line, upper band, and lower band. These bands dynamically adjust based on the average true range (ATR) and act as reference levels for identifying overbought and oversold conditions.
The calculation of the indicator involves several steps. The average true range (ATR) is calculated using a specified lookback period. The ATR measures the market's volatility by considering the range between high and low prices over a given period. The mean line is calculated as a simple moving average (SMA) of the closing prices over the same lookback period. The upper band is derived by adding the product of the ATR and a multiplier to the mean line, while the lower band is derived by subtracting the product of the ATR and the same multiplier from the mean line.
Interpreting the indicator is relatively straightforward. When the price approaches or exceeds the upper band, it suggests that the market is overbought and may be due for a potential reversal to the downside. On the other hand, when the price approaches or falls below the lower band, it indicates that the market is oversold and may be poised for a potential reversal to the upside. Traders can look for opportunities to enter short positions near the upper band and long positions near the lower band, anticipating the price to revert back towards the mean line.
The bar color and background color play a crucial role in visualizing the indicator's signals and market conditions. Lime-colored bars are used when the price is above the upper band, indicating a potential bearish mean reversion signal. Conversely, fuchsia-colored bars are employed when the price is below the lower band, suggesting a potential bullish mean reversion signal. This color scheme helps traders quickly identify the prevailing market condition and potential reversal zones. The background color complements the bar color by providing further context. Lime-colored background indicates a potential bearish condition, while fuchsia-colored background suggests a potential bullish condition. The transparency level of the background color is set to 80% to avoid obscuring the price chart while still providing a visual reference.
To provide additional confirmation for mean reversion setups, the indicator incorporates the option to use the Relative Strength Index (RSI) as a confluence factor. The RSI is a popular momentum oscillator that measures the speed and change of price movements. When enabled, the indicator checks if the RSI is in overbought territory (above 70) or oversold territory (below 30), providing additional confirmation for potential mean reversion setups.
In addition to visual signals, the indicator includes entry arrows above or below the bars to highlight the occurrence of short or long entries. When the price is above the upper band and the confluence condition is met, a fuchsia-colored triangle-up arrow is displayed above the bar, indicating a potential short entry signal. Similarly, when the price is below the lower band and the confluence condition is met, a lime-colored triangle-down arrow is displayed below the bar, indicating a potential long entry signal.
Traders can customize the indicator's parameters according to their trading preferences. The "Lookback Period" determines the number of periods used in calculating the mean line and the average true range (ATR). Adjusting this parameter can affect the sensitivity and responsiveness of the indicator. Smaller values make the indicator more reactive to short-term price movements, while larger values smooth out the indicator and make it less responsive to short-term fluctuations. The "Multiplier" parameter determines the distance between the mean line and the upper/lower bands. Increasing the multiplier widens the bands, indicating a broader range for potential mean reversion opportunities, while decreasing the multiplier narrows the bands, indicating a tighter range for potential mean reversion opportunities.
It's important to note that the Volatility-Based Mean Reversion Bands indicator is not a standalone trading strategy but rather a tool to assist traders in identifying potential mean reversion setups. Traders should consider using additional analysis techniques and risk management strategies to make informed trading decisions. Additionally, the indicator's performance may vary across different market conditions and instruments, so it's advisable to conduct thorough testing and analysis before integrating it into a trading strategy.
DZ SR Buy&Sell Enhanced StrategyThis ALGERIAN indicator titled "SR Buy&Sell with Enhanced Strategy" is designed to identify support and resistance levels on a financial chart, and generates enhanced buy and sell signals based on these levels. It is based on a trading strategy that uses a combination of moving means and standard deviation to calculate support and resistance levels.
The indicator plots support and resistance levels on the chart, with blue color for base level, red for resistance and green for support. Green arrows are displayed when a buy signal is generated, and red arrows when a sell signal is generated.
The market entry strategy is based on breaking support and resistance levels. When a buy signal is generated and no position is opened, a buy position is opened with a take profit and stop loss level calculated according to the parameters set by the user. Similarly, when a sell signal is generated and no position is opened, a sell position is opened with the corresponding take profit and stop loss levels.
The indicator also displays a “STOP” indicator when a position exit signal is generated, indicating to the trader that it is time to close the current position.
This indicator is a powerful tool for traders who want to exploit support and resistance levels to improve their trading decisions. It can be used in different financial markets and different time periods. Parameters such as average moving length, deviations and multiplier can be adjusted according to individual trader preferences.
Note: This indicator only provides potential signals and does not guarantee positive results with every trade. It is recommended to use this indicator in combination with other technical analysis and risk management tools to make informed decisions when trading.
TTP VIX SpyTTP VIX Spy is an indicator that uses data from TVC:VIX to better time entries in the market.
The assumption used is that when the VIX is coming down from the top of its range then the risk on assets can move to the upside and when the VIX is is pushing higher there's a high likelihood or risk on assets going down.
This indicator observes the momentum of VIX using MACD. It offers two different signals both for longs and shorts: signal 1 and 2.
Signal 1 is activate when the begging of a new trend for the VIX is confirmed.
Signal 2 is activated when the VIX pulls back from an extreme value.
You can configure the parameters of the internal super trend and the look back for the slope applied to price and RSIs.
The indicator offers the following filter parameters:
- Price RSI slope: it filters signals that have RSI slope pointing in the opposite direction of the signal.
- Counter trend: it filters signals that are not counter trending super trend.
- Wide BBW: it filters signals that happen when there hasn't been high price volatility
- Price slope: it filters signals when the price is not pointing in the direction of the signal (buy: up, sell: down)
- VIX RSI filter: it filters VIX RSI values overextended. MACD can be in the right range, but sometimes RSI contradicts it. By default is OFF since it can cause false negatives.
- Working days only: it filters signals that occur in the weekend.
The colours below the price action show how the VIX momentum is changing. Transitions from red into pink and then green show how the fear is fading which tends to lead to lead to bullish moves, and the opposite when the transitions are from green to red.
Performance and initial thoughts.
I have tried VIX Spy on both BINANCE:BTCUSDT.P and BINANCE:ETHUSDT.P and it seems to offer a decent win ratio. As you can see I had to add many filter to remove bad entries and left toggles available to decide which ones you want to use.
I tried the signal in the 4H, 1H and 15min with mixed results. I tend to incline for the results in the 1H.
VIX signal offers a backtestable stream and alerts both for signals 1 and 2.
VIX HeatmapVIX HeatMap
Instructions:
- To be used with the S&P500 index (ES, SPX, SPY, any S&P ETF) as that's the input from where the CBOE calculates and measures the VIX. Can also be used with the Dow Jones, Nasdaq, & Nasdaq100.
Description:
- Expected Implied Volatility regime simplified & visualized. Know if we are in a high, medium, or low volatility regime, instantly.
- Ranges from Hot to Cold: The hotter the heat-map, the higher the implied volatility and fear & vice versa.
- The VIX HeatMap, color-maps important VIX levels (7 in this case) in measuring volatility for day trading & swing trading.
Using the VIX HeatMap:
- A LOW level volatility environment: Represented by "cooler" colors (Blue & White) depicts that the level of volatility and fear is low. Percentage moves on the index level are going to be tame and less volatile more often than not. Low fear = low perceived risk.
- A MEDIUM level volatility environment: Represented by "warmer" colors (Green & Yellow) depicts that the markets are transitioning from a calmer period or from a more fearful period. Market volatility here will be higher and provide more volatile swings in price.
- A HIGH level volatility environment: Represented by "hotter" colors (Orange, Red, & Purple) depicts that the markets are very fearful at the moment and will have big swings in both directions. Historically, extreme VIX levels tend to coincide with bottoms but are in no way predictive of the exact timing as the volatile moves can continue for an extended period of time.
- Transitioning between the 7 VIX Zones: Each and every one of these specific VIX zone levels is important.
1. Extreme low: <16
2. Low: 16 to 20
3. Normal: 20 to 24
4. Medium: 24 to 28
5. Med-High: 28 to 32
6. High: 32 to 36
7. Extreme high: >36
- These VIX levels in particular measure volatility changes that have a major impact on switching between smaller time frames and measuring depths of a sell move and vice versa. Each level also behaves as its own support & resistance level in terms of taking a bit of effort to switch regimes, and aids in identifying and measuring the potential depth of pullbacks in bull markets and bounces in bear markets to reveal reversal points.
- Examples of VIX level supports depicted on the chart marked with arrows. From left to right:
1. March 10th: Markets jumped 2 volatility levels in 2 days. The fluctuations from blue to yellow to green where a sign that price action would reverse from the selloff.
2. March 28th: As soon as we move from green to the blue VIX level (<20), markets began to rally and only ended when the volatility level moved sub VIX 16 (white).
3. May 4th & 24th: Next we see the 2 dips where volatility levels went from blue to green (VIX > 20), marked bottoms and reversed higher.
4. June 1st: We see a change in VIX regime yet again into lower VIX level and markets rocket higher.
Knowing the current VIX regime is a very important tool and aid in trading, now easily visualized.
Risk-Adjusted Return OscillatorThe Risk-Adjusted Return Oscillator (RAR) is designed to aid traders in predicting future price action by analysing the risk-adjusted performance of an asset. This oscillator is displayed directly on the price chart, unlike other oscillators.
By considering the risk-return relationship, the indicator helps identify periods of overvaluation or undervaluation, allowing traders to anticipate potential price reversals or trend accelerations.
HOW TO USE
The Risk-Adjusted Return Oscillator analyses the risk-adjusted performance of an asset to detect price reversals and accelerations. Here's how to interpret its signals:
Ranging Market:
Overbought Signal: When the RAR curve reaches the overbought level (upper red line), it suggests a potential reversal signal. It indicates that the asset may be overvalued, and a price correction or trend reversal could occur.
Oversold Signal: When the RAR curve reaches the oversold level (lower red line), it indicates a potential reversal signal. It suggests that the asset may be undervalued, and a price correction or trend reversal could take place.
Trending Market:
Overbought Signal: In a trending market, an overbought signal (RAR curve reaching upper red line) suggests trend acceleration. It indicates that the existing trend is gaining strength, and buying pressure is increasing.
Oversold Signal: In a trending market, an oversold signal (RAR curve reaching lower red line) also signifies trend acceleration. It suggests that the prevailing trend is intensifying, and selling pressure is increasing.
Thus, it's important to consider the market context when interpreting overbought and oversold signals. In ranging markets, these signals act as potential reversal points. However, in trending markets, they indicate trend acceleration, reinforcing the current price direction.
SETTINGS
Period Length: Adjust the number of bars used to calculate returns and standard deviation.
Smoothing: Define the smoothing period for the RAR curve.
Show Overbought/Oversold Signals: Choose whether to display triangular shapes for overbought and oversold conditions.
Master Supertrend Strategy [Trendoscope]Here is the strategy version of the indicator - Master Supertrend
Options and variations are same throughout.
🎲 Variations
Following variations are provided in the form of settings.
🎯 Range Type
Instead of ATR, different types of ranges can be used for stop calculation. Here is the complete list used in the script.
Plus/Minus Range* - Calculates plus range and minus range for each candle and uses them for different sides of stop calculation
Ladder ATR - Based on the existing concept of Ladder ATR defined in Supertrend-Ladder-ATR
True Range - True range derived from standard function ta.tr
Standard Deviation - Standard deviation of close prices
🎯 Applied Calculation
In standard ATR, rma of TR is used for calculations. But, the application calculation provides option to users to use different mechanisms. It can be a type of moving average or few other types of calculations.
Available values are
sma
ema
hma
rma
wma
high
median
🎯 Other options
Few other options provided are
Use Close Price - If selected stops are calculated based on the close price instead of high/low prices
Wait for Close If selected, change of supertrend direction is calculated based on close price instead of high/low prices
Diminishing Stop Distance - When selected, stop distance for the trend direction can only reduce and cannot increase. This option is useful for keeping the tight stops on strong trends.
🎯 Plus Minus Range*
One of the range type used is Plus/Minus Range. What it means and how are these ranges calculated? Let's have a look.
Plus Range is an upward movement of a candle from its last price or open price whichever is lower.
Minus Range is a downward movement of a candle from its last price or open price whichever is higher.
This divides True Range into two separate range for positive and negative side.
Note : Effectiveness on daily charts are quire visible. However, if you want to use it for lower timeframes, please play around with settings before settling on suitable configuration.
Daily Factor Indicator [CC]The Daily Factor Indicator was created by Andrea Unger (Stocks and Commodities Jun 2023 pgs 26-31), and this is a new volatility indicator that compares the body, which is the absolute difference between the previous open and previous close, and the range which is the difference between the previous high and previous low. The indicator is calculated by dividing the body and range to determine the volatility for the previous bar. This indicator will range between 0 and 1. Values closer to 1 mean very high volatility, and values closer to 0 mean very low volatility. I have introduced a simple moving average strategy to decide buy or sell signals and colors. Darker colors mean the indicator is above the threshold level, and lighter colors mean the indicator is below the threshold level. Colors are shades of green when the price is above the moving average and shades of red when the price is below the moving average. Feel free to try out your own threshold level and general buy and sell signals.
Let me know if there are any other indicators you would like me to publish!
ADW - Volatility MapThe ADW - Volatility Map script is a tool for traders to measure and visualize the volatility of a specific asset. It uses both the Average True Range (ATR) and True Range (TR) values in combination with the Commodity Channel Index (CCI) to provide a comprehensive map of the market's volatility.
Average True Range (ATR) : ATR is a measure of market volatility. It measures the average of true price ranges over a time period. In this script, we use it to calculate the ATR-CCI which gives us a more precise measure of volatility.
True Range (TR) : TR is the greatest distance the price moved during a period. It is used in this script to calculate the TR-CCI, adding another level of detail to our volatility measurement.
Commodity Channel Index (CCI) : CCI is a versatile indicator that can be used to identify a new trend or warn of extreme conditions. We use it to scale and compare the ATR and TR values, hence providing a relative measure of volatility.
The script interprets the CCI values and provides four different conditions for both ATR and TR:
Is Low (CCI < 0)
Is High (CCI > 0)
Is Extremely Low (CCI <= -100)
Is Extremely High (CCI >= 100)
The interpretation of these conditions is displayed on the chart using colour highlighting. When the ATR or TR are low, high, extremely low, or extremely high, the script fills the chart accordingly.
In addition, the script has an option `awaitBarConfirmation` set at the beginning. If this is true, the script will only display indicators for fully formed bars, ensuring that the indicators you see are based on confirmed information.
Note: The colours for different conditions can be customized at the beginning of the script, allowing you to personalize the visual output to match your preferences.
This script is designed to provide a visually clear and immediate understanding of the market's volatility. Use it to enhance your decision-making process and adapt your trading strategy to the current market conditions.
Take profit and Stop Loss ATR HL [Tcs] | ALGOThis indicator helps traders set stop loss and take profit levels based on either ATR or High-Low range.
The indicator calculates stop loss and take profit levels for both long and short positions, based on the user's input of ATR length, ATR smoothing method, and multiplier levels for each level. It’s possible to set 3 levels of take profit, for both long and short trades.
The indicator also includes the option to show or hide levels, bands, and labels for the calculated stop loss and take profit levels.
Additionally, the indicator has a function to calculate the user's risk based on their account balance, risk percentage, and broker fees.
Overall, this indicator can be helpful for traders who use stop loss and take profit levels in their trading strategies and want a visual representation of those levels on their charts.
Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
D-BoT Alpha ReversalsHello traders, today I'm going to share with you a strategy that I use very frequently. I wanted to share this strategy that I use in my manual trades by translating it into code. I'm sharing it with you with completely open source code.
RSI of ROC: The indicator initially calculates RSI (Relative Strength Index) on ROC (Rate of Change). This is a method that tracks the rate of price change (ROC) over a certain period and applies it to the RSI calculation.
Adaptive RSI: The code then calculates the RSI for all periods between the minimum and maximum RSI lengths. It takes the average of these calculations and names it as avg_rsi66. In addition, it checks whether each RSI value exceeds the determined overbought and oversold limits.
Signal Triggers: If both RSI of ROC and avg_rsi66 are above or below the specified overbought or oversold levels and the difference between these two values is less than the specified threshold value (Extremities Sensitivity), a signal is triggered. In addition, the color of the bar is also checked: An overbought (sell) signal is triggered for a red bar and an oversold (buy) signal is triggered for a green bar.
Signal Visualization: Signals are shown on the chart at appropriate places with "Sell" or "Buy" shapes. Also, each of these conditions is defined as an alert condition.
The general purpose of this indicator is to determine the turning points of the market. Overbought and oversold signals are based on the idea that the price may turn from these areas. That is, a "Sell" signal indicates a turning point where the price may start to fall, while a "Buy" signal indicates a turning point where the price may start to rise.
These types of indicators usually have some weak points:
False Signals: Like any kind of technical analysis indicator, this indicator can also give false signals. That is, you may get a "Buy" or "Sell" signal but the price may not move in the expected direction.
Market Conditions: This indicator may perform better under certain market conditions. For example, a trend-following indicator usually works well in trending markets, but can be misleading in range-bound markets. This indicator too can perform better or worse in a particular market situation.
Parameter Selection: The choice of the parameters of the indicator (ROC and RSI lengths, overbought/oversold levels, etc.) can significantly affect the quality of the indicator signals. Parameters should be optimized for various assets and time frames.
In conclusion, it would be better to use this indicator not as a standalone trading system, but in conjunction with other technical analysis tools or fundamental analysis. Also, it is always beneficial to test a new trading strategy on past data or on a demo account before trading with real money."
Stay tuned for more of my original strategies :)
Happy trading...
VWAP Trendfollow Strategy [wbburgin]This is an experimental strategy that enters long when the instrument crosses over the upper standard deviation band of a VWAP and enters short when the instrument crosses below the bottom standard deviation band of the VWAP. I have added a trend filter as well, which stops entries that are opposite to the current trend of the VWAP. The trend filter will reduce total false breakouts, thus improving the % profitable while maintaining the overall returns of the strategy. Because this is a trend-following breakout strategy, the % profitable will typically be low but the average % return will be higher. As a rule, be sure to look at the average winning trade % compared to the average losing trade %, and compare that to the % profitable to judge the effectiveness of a strategy. Factor in fees and slippage as well.
This strategy appears to work better with the lower timeframes, and I was impressed with its results. It also appears to work on a wide range of asset classes. There isn't a stop loss or take profit built-in (other than the reversal signals, which close the current trade), so I would encourage you to expand on the strategy based on your own trading parameters.
You can toggle off the bar colors and the trend filter if you so desire.
Future updates to this script (or ideas of improving on it) might include a take profit level set at one standard deviation past the current level and a stop loss level set at one standard deviation closer to the vwap from the current level - or applying a multiple to the two based off of your reward/risk ratio.
About the strategy results below: this is with commissions of 0.5 % per trade.