Volume-Weighted RSI with Adaptive SmoothingThis indicator is designed to provide traders with insights into the relative strength of a security by incorporating volume-weighted elements, effectively combining the concepts of Relative Strength Index (RSI) and volume-weighted averages to generate meaningful trading signals.
The indicator calculates the traditional RSI, which measures the speed and change of price movements, as well as the volume-weighted RSI, which considers the influence of trading volume on price action. It then applies adaptive smoothing to the volume-weighted RSI, allowing for customization of the smoothing process. The resulting smoothed volume-weighted RSI is plotted alongside the original RSI, providing traders with a comprehensive view of the price strength dynamics.
The line coloration in this indicator is designed to provide visual cues about the relationship between the RSI and the volume-weighted RSI. When the RSI line is above or equal to the volume-weighted RSI line, it suggests a potentially bullish condition with positive market momentum. In such cases, the line is colored lime. Conversely, when the RSI line (fuchsia) is below the volume-weighted RSI line, it indicates a potentially bearish condition with negative market momentum. The line color is set to fuchsia. By observing the line color, traders can quickly assess the relative strength between the RSI and the volume-weighted RSI, aiding their decision-making process.
The bar color and background color further enhance the visual interpretation of the indicator. The bar color reflects the RSI's relationship with the volume-weighted RSI and the predefined thresholds. If the RSI line is above both the volume-weighted RSI line and the overbought threshold (70), the bar color is set to lime, indicating a potentially overbought condition. Conversely, if the RSI line is below both the volume-weighted RSI line and the oversold threshold (30), the bar color is set to fuchsia, suggesting a potentially oversold condition. When the RSI line is between these two thresholds, the bar color is set to yellow, indicating a neutral or intermediate state. The background color, displayed with a semi-transparent shade, provides additional context by reflecting the prevailing market conditions. It turns lime if the volume-weighted RSI is above the overbought threshold, fuchsia if below the oversold threshold, and yellow if it falls between these two thresholds. This coloration scheme aids traders in quickly assessing market conditions and potential trading opportunities.
Calculations:
-- RSI Calculation : The traditional RSI is calculated based on the price movements of the asset. The up and down movements are determined, and exponential moving averages are used to smooth the values. The RSI value ranges from 0 to 100, with levels above 70 indicating overbought conditions and levels below 30 indicating oversold conditions.
-- Volume-Weighted RSI Calculation : The volume-weighted RSI incorporates the trading volume of the asset into the calculations. The closing price is multiplied by the corresponding volume, and the average is taken over a specific length. The up and down movements are smoothed using exponential moving averages to generate the volume-weighted RSI value.
-- Adaptive Smoothing : The indicator offers an adaptive smoothing option, allowing traders to customize the smoothing process of the volume-weighted RSI. By adjusting the smoothing length, traders can fine-tune the responsiveness of the indicator to changes in market conditions. Smoothing helps reduce noise and enhances the clarity of the signals.
Interpretation:
The indicator provides two main components for interpretation:
-- RSI : The traditional RSI reflects the price momentum and potential overbought or oversold conditions. Traders can look for RSI values above 70 as potential overbought signals, suggesting a possible price reversal or correction. Conversely, RSI values below 30 indicate potential oversold signals, indicating a potential price rebound or rally.
-- Volume-Weighted RSI : The volume-weighted RSI incorporates trading volume, which provides insights into the strength of price movements. When the volume-weighted RSI is above the traditional RSI, it suggests that the buying pressure supported by higher volume is stronger, potentially indicating a more reliable trend. Conversely, when the volume-weighted RSI is below the traditional RSI, it suggests that the selling pressure supported by higher volume is stronger, potentially indicating a more significant price reversal.
Potential Strategies:
-- Overbought and Oversold Signals : Traders can utilize the RSI component of the indicator to identify overbought and oversold conditions. A potential strategy is to consider taking short positions when the RSI is above 70 and long positions when the RSI is below 30. These levels can act as dynamic support and resistance areas, indicating possible price reversals.
-- Confirmation with Volume : Traders can use the volume-weighted RSI as a confirmation tool to validate price movements. When the volume-weighted RSI is above the traditional RSI, it may provide additional confirmation for long positions, suggesting stronger buying pressure. Conversely, when the volume-weighted RSI is below the traditional RSI, it may provide confirmation for short positions, indicating stronger selling pressure.
-- Trend Reversal Strategy : Watch for the volume-weighted RSI to reach extreme levels above 70 (overbought) or below 30 (oversold). Look for a reversal signal where the RSI line (green or fuchsia) crosses below or above the volume-weighted RSI line. Enter a trade when the reversal signal occurs, and the RSI line changes color. Exit the trade when the RSI line crosses back in the opposite direction or reaches the opposite extreme level.
-- Divergence Strategy : Compare the direction of the RSI line (green or fuchsia) with the volume-weighted RSI line. A bullish divergence occurs when the RSI line makes higher lows while the volume-weighted RSI line makes lower lows. A bearish divergence occurs when the RSI line makes lower highs while the volume-weighted RSI line makes higher highs. Once a divergence is identified, wait for the RSI line to cross above or below the volume-weighted RSI line as confirmation of a potential trend reversal. Consider using additional indicators or price action analysis to time the entry more accurately. Use stop-loss orders and profit targets to manage risk and secure profits.
-- Trend Continuation Strategy : Assess the overall trend direction by observing the RSI line's position relative to the volume-weighted RSI line. When the RSI line consistently stays above the volume-weighted RSI line, it indicates a bullish trend, while the opposite suggests a bearish trend. Look for temporary pullbacks within the ongoing trend where the RSI line (green or fuchsia) touches or crosses the volume-weighted RSI line. Enter trades in the direction of the dominant trend when the RSI line crosses back in the trend direction. Exit the trade when the RSI line starts to deviate significantly from the volume-weighted RSI line or when the trend shows signs of weakening through other technical or fundamental factors.
Limitations:
-- False Signals : Like any indicator, the "Volume-Weighted RSI with Adaptive Smoothing" may produce false signals, especially during periods of low liquidity or choppy market conditions. Traders should exercise caution and consider using additional confirmation indicators or tools to validate the signals generated by this indicator.
-- Lagging Nature : The indicator relies on historical price data and volume to calculate the RSI and volume-weighted RSI. As a result, the signals provided may have a certain degree of lag compared to real-time price action. Traders should be aware of this inherent lag and consider combining the indicator with other timely indicators to enhance the accuracy of their trading decisions.
-- Parameter Sensitivity : The indicator's effectiveness can be influenced by the choice of parameters, such as the length of the RSI, smoothing length, and adaptive smoothing option. Different market conditions may require adjustments to these parameters to optimize performance. Traders are encouraged to conduct thorough testing and analysis to determine the most suitable parameter values for their specific trading strategies and preferences.
-- Market Conditions : The indicator's performance may vary depending on the prevailing market conditions. It is essential to understand that no indicator can guarantee accurate predictions or consistently profitable trades. Traders should consider the broader market context, fundamental factors, and other technical indicators to complement the insights provided by the "Volume-Weighted RSI with Adaptive Smoothing" indicator.
-- Subjectivity : Interpretation of the indicator's signals involves subjective judgment. Traders may have varying interpretations of overbought and oversold levels, as well as the significance of the volume-weighted RSI in relation to the traditional RSI. It is crucial to combine the indicator with personal analysis and trading experience to make informed trading decisions.
Remember, no single indicator can provide foolproof trading signals. The "Volume-Weighted RSI with Adaptive Smoothing" indicator serves as a valuable tool for analyzing price strength and volume dynamics. It can assist traders in identifying potential entry and exit points, validating trends, and managing risk. However, it should be used as part of a comprehensive trading strategy that considers multiple factors and indicators to increase the likelihood of successful trades.
M-oscillator
MACD-AS MTF [JoseMetal]============
ENGLISH
============
- Description:
This script is a modification of the Moving Average Convergence Divergence (MACD) of Thomas Aspray, and called as MACD-AS and you may get earlier signals than MACD.
On this (my version) you have several extra elements and customization.
Foremost (of course) you have the MACD-AS, which is the HISTOGRAM, also, it has a SIGNAL line (which smooths the MACD-AS), and finally, a higher timeframe oscillator based on one of the previous values (custom).
- Visuals, features, customization:
You can show/hide any of the components with a checkbox (MACD-AS, Signal and HTF Oscillator).
The timeframe for the higher timeframe oscillator is customizable, but by default is automatic and multiplies the chart timeframe by 3: 5m > 15m, 15m > 45m etc.
So we have the MACD-AS as a histogram, with 2 optional color schemes and custom transparency, it works similar to the original MACD, oscillating around the 0 level. Green colors (bull) if above 0, red (bear) below 0.
Smoothed MACD-AS makes the Signal line, going up (bull) shows green color, down (bear) red, changes from one to another also prints a colored dot. There's another feature which darkens the color when the momentum is losing strength, a strength filter input is available for that purpose but the default 0.5 works well.
The higher timeframe oscillator (it's called "oscillator" because you can pick if you want to show the MACD-AS or Signal line of the higher timeframe), is always shown as a line, colors work similar to the Signal line, but BLUE for bull and PINK for bear.
Finally, the background color just changes from green (bull) to red (bear) and vice versa if the Signal line is above or below the 0 line to show bull/bear trend too, this is slower than other indicator signals as well.
- Usage and recommendations:
You can use this script as default MACD, the difference is that you'll use the DOTs of the Signal line (when changing green to red and vice versa) as crossovers on the classic MACD.
You can also use the higher timeframe oscillator as a trend filter to not to trade against it, ex: if the HTF is bull, don't try to SHORT.
My favorite usage is to find DIVERGENCES with the MACD-AS (histogram) with the HTF MACD-AS histogram as well, having 2 confirmations, ex: 5m divergence + 15m divergence.
As always, suggestions are welcome.
Enjoy!
============
ESPAÑOL
============
- Descripción:
Este script es una modificación del Moving Average Convergence Divergence (MACD) de Thomas Aspray, y llamado como MACD-AS, se pueden obtener señales más tempranas que con el MACD.
En ésta (mi versión) tiene varios elementos adicionales y personalización.
En primer lugar (por supuesto) tienes el MACD-AS, que es el HISTOGRAMA, también, tiene una línea de SEÑAL (que suaviza el MACD-AS), y por último, un oscilador de marco de tiempo superior basado en uno de los valores anteriores (personalizado).
- Visuales, características, personalización:
Puedes mostrar/ocultar cualquiera de los componentes con un checkbox (MACD-AS, Señal y Oscilador HTF).
La temporalidad para el oscilador HTF es personalizable, pero por defecto es automático y multiplica la temporalidad del gráfico por 3: 5m > 15m, 15m > 45m etc.
El MACD-AS (histograma), con 2 esquemas de color opcionales y transparencia personalizada, funciona de forma similar al MACD original, oscilando alrededor del nivel 0. Colores verdes (alcista) si está por encima de 0, rojo (bajista) por debajo de 0.
El suavizado del MACD-AS hace la línea de señal, subiendo (alcista) muestra color verde, bajando (bajista) rojo, cambios de uno a otro también imprime un punto de color. Hay otra característica que oscurece el color cuando el impulso está perdiendo fuerza, una entrada de filtro de fuerza está disponible para ese propósito, pero el valor predeterminado 0,5 funciona bien.
El oscilador de temporalidad superior (se llama "oscilador" porque puedes elegir si quieres mostrar el MACD-AS o la línea de señal), siempre se muestra como una línea, los colores funcionan de forma similar a la línea de señal, pero AZUL para alcista y ROSA para bajista.
Por último, el color de fondo sólo cambia de verde (alcista) a rojo (bajista) y viceversa si la línea de señal está por encima o por debajo de la línea 0 para mostrar la tendencia alcista / bajista también, eso si, resulta más lento que otros avisos del indicador.
- Uso y recomendaciones:
Puedes usar este script como el MACD clásico, la diferencia es que usarán los PUNTOS de la línea de Señal (cuando cambie de verde a rojo y viceversa) como cruces en el MACD clásico.
También puedes usar el oscilador de mayor temporalidad como filtro de tendencia para no operar en contra de ella, ej: si el HTF es alcista, no intentes SHORTs.
Mi uso favorito es encontrar DIVERGENCIAS con el MACD-AS (histograma) y el HTF MACD-AS, teniendo 2 confirmaciones, ej: 5m divergencia + 15m divergencia.
Como siempre, las sugerencias son bienvenidas.
¡Que lo disfrutéis!
Fierytrading: Volatility DepthDear Tradingview community,
I'd like to share one of my staple indicators with you. The volatility depth indicator calculates the volatility over a 7-day period and plots it on your chart.
This indicator only works for the DAILY chart on BTC/USD.
Colors
I've color coded the indicator as follows:
- Red: Extreme Volatility
- Orange: High Volatility
- Yellow: Normal Volatility
- Green: Low Volatility
Red: extreme changes in price. Often during local tops and bottoms.
Orange: higher than average moves in price. Often before or after a "red" period. Often seen in the middle of bear or bull markets.
Yellow: normal price action. Often seen during early stage bull-markets and late stage bear-markets.
Green: very low price movement. Often during times of indecision. Once this indicator becomes green, you can expect a big move in either direction. Low volatility is always followed by high volatility.
In a long-term uptrend, a green period often signals a bullish break out. In a long-term downtrend it often signals a bearish break out.
How to use
Save the indicator and apply it to your chart. You can change the length in the settings, but it's optimized for 7 days, so no need to change it.
I've build in alerts for all 4 different volatility periods. In most cases, the low volatility alert is enough.
Good luck!
Chuff by Monty V2This is the second version of the indicator ‘Chuff by Monty’ we made a while back.
This indicator uses multiple previously available indicators as well as some newly calculated scripts to provide information on chart that uses one indicator slot but is telling you more than what one indicator could’ve.
The indicator also includes alerts which can be used to find potential signals generated by the indicator, So be sure to check those out as well.
Features of the indicator:
Ichimoku Cloud
TK Crosses: Label on chart when the Conversion Line (Tenken Sen) and Base line (Kijun Sen) is crossing each other. There are five types of crosses that are marked in the indicator. Each will have Bullish or Bearish aspect but, you have to look at the image below to really understand which is worth considering signal.
TK Lines: This checkbox will enable the Conversion and Base line, the crosses of which are labeled through the TK Crosses Checkbox above.
Bullish TK: Now when the orange line crosses the red line to the up side which should be flat at that time, this generates a bullish signal showing that this can lead price to the upwards direction. And a label print as Bullish TK in red color.
Bearish TK: Now when the orange line crosses the red line to the down side which should be flat at that time, this generates a bearish signal showing that this can lead price to the downwards direction. And a label print as Bearish TK in Golden color.
Kumo Cloud: There are two types of clouds in the indicator as well, This is calculated with a bit different approach then conventional Ichimoku Cloud indicator. Both red and green Kumo cloud acts as resistance and support respectively.
Trading Edge to Edge: This phenomenon in ichimoku suggests that when there’s a close in the cloud as 1. For longs, Green candles should close in the red cloud and at that time, The other side of the cloud should be flat and 2. For shorts, Red candles should close in the green cloud and at that time, the other side of the cloud should be flat. This opens up the window for the price to go to the other flat side of the cloud after retesting the cloud through the inside. An example is shared in the snapshot.
Divergences:
This part of the indicator uses 10 different types of oscillators including MACD, Histogram, RSI, Stochastic, CCI, Momentum, On-Balance Volume, Volume Weighted MACD, CMF, Money Flow Index and EXT to calculate divergences. By default, the indicator will show hidden and regular divergences at once, but you can choose to have just hidden or just regular divergences as per your liking. I specifically hard coded the indicator to calculate divergences from candle closes rather than from wicks, so that’s what it’s doing.
Harmonic Patterns:
I personally trade three and only three harmonics, these are bat, butterfly and Gartley. This part of indicator will analyze each swing and check if these swings are falling in any of those three harmonic pattern ranges. As we all know that these patterns don’t complete their retracement to the last digit exactly each time, so there’s a liberty range that has 10% error flexibility. Which means that if a retracement is supposed to be at 0.618, the error flexibility will check it in a range of +10% and -10% of 0.618 which comes out to be 0.556-0.678. Three of the harmonics, bullish (Green) and bearish (Red) is posted in the snapshot.
You can trade these harmonics by either waiting for the indicator to print them, either by putting an alert for each type of a harmonic pattern or by pre-predicting a harmonic which is taught in our community’s premium discord discord.gg .
Golden/Death cross:
Just like TK Crosses, this will print you Goldencross and Deathcross labels each time 55sma and 200sma cross each other. If the 55sma is crossing the 200sma to the upside, A Goldencross label will appear and if 55sma is crossing the 200sma to the downside, A Deathcross label will appear. Golden cross means the coin is turning bullish and can go high. Death cross shows that the coin is turning bearish and the price can fall.
Moving Averages:
Default lengths are 13EMA, 21EMA, 55SMA, 200SMA and 355SMA. You can change it as you like but I use these lengths for my analysis. One feature that this set of moving average has is that each MA is labeled as it’s length and the calculation method (SMA or EMA). So, when you are analyzing with multiple Moving Averages enabled, you can easily know which MA is which.
SR Band:
It has three mods. Fast/Weak which is going to be quick and sensitive to the price but will a weak support and resistance area. Slow/Strong which is going to be slow and less sensitive to the price but will be a very strong support and resistance area. The normal settings which is set as default is kind of in-between these two. You can use this SR band as a way of getting in and out of the trades as it represents Supports and resistances. The colors of the band changes when the price is above, below and is in the band.
Here’s an example trade using the confluences provided by the indicator.
This is how that trade would’ve looked like with indicator:
And this is how that trade would’ve looked like without the indicator:
Do ask questions in the comment section about the indicator or the trading strategy here if you feel like this is too complex. I’ll be glad to help.
All the settings and features which were worth customizing are customizable in this version of the indicator. Feel free to change those settings as per your liking.
Thank you.
Average Variation Bands OscillatorSimilar to how a donchian% of channel helps to visualize trend and volatility, this tool helps identify those same characteristics, if the oscillator is generally above the 50 mark, it is considered to be trending upwards, and the reverse if it is generally bellow 50.
Vaidotas Momentum ScoreHello Traders!
Discover Myfractalrange latest addition on TradingView, Vaidotas Segenis Momentum Score.
How people calculate Momentum is subjective and many people (even professionals) use different Momentum formulas depending on how they view it. This is sometimes confusing for traders.
The purpose of this indicator is to identify periods of strong price momentum relative to historical volatility. Higher momentum scores indicate stronger price trends, while lower scores suggest weaker trends. Traders and investors may use this indicator to identify potential buy or sell signals based on the strength of price movements. The formula Vaidotas uses calculate Momentum Score for different periods based on the price data.
There are 3 different look back periods in the script, you will find them in "Input":
Period 1 : 10 Days
Period 2 : 30 Days
Period 3 : 90 Days
Now let's go over the different steps of the formula:
Step 1 - Calculate the daily normal returns : this gives the daily percentage change in price
Step 2 - Calculate the standard deviation of the daily normal returns over a specific look back period (Default: 100 days) : the standard deviation measures the volatility or dispersion of the returns
Step 4 - Calculate the squared standard deviation multiplied by the square root of the respective period: This is done for three different periods (Period 1, Period 2, Period 3), it amplifies the standard deviation by the square root of the period, which gives more weight to recent price changes.
Step 5 - Calculate the normal returns for each period: This calculates the percentage change in price over the specified period
Step 5 - Calculate the momentum score for each period: This score represents the relative strength or momentum of the price change compared to the expected volatility.
Using the momentum indicator involves interpreting the values and considering certain thresholds to make trading decisions. While there is no definitive rule for all markets and assets, we can provide you with a general guideline on how traders may want to use the indicator and explain the significance of certain values:
1) Strong Trend: When the momentum score is significantly positive (above a certain threshold, such as +2), it suggests a strong upward price trend.
2) Weak Trend: Conversely, when the momentum score is significantly negative (below a certain threshold, such as -2), it indicates a strong downward price trend. Traders may interpret this as a potential signal to enter or maintain a short position, expecting the trend to continue.
3) Lack of Trend: When the momentum score is close to zero, it suggests a lack of significant trend or sideways movement in the price. Values around 0 indicate a potential range-bound market or consolidation.
However, it's important to note that the specific threshold values for defining significant trends or reversals may vary depending on the asset, timeframe, and market conditions. Traders often adjust these thresholds based on their own experience and backtesting results.
Here are a few more examples to illustrate the use of the momentum indicator:
- Example 1 - Strong Uptrend Confirmation :
The momentum score is consistently above +2, indicating a strong upward trend. Traders may consider this as a potential signal to enter or maintain a long position, expecting the trend to continue.
- Example 2 - Reversal Signal :
The momentum score has been positive for an extended period but starts to decline and eventually crosses below -2. This could be seen as a potential reversal signal, suggesting that the uptrend is losing strength and a bearish trend might develop. Traders may consider exiting long positions or even taking short positions based on this reversal signal.
- Example 3 - Sideways Market :
The momentum score fluctuates around 0, without displaying any significant positive or negative values. This indicates a lack of clear trend and suggests that the asset is trading in a range or consolidating. Traders may choose to avoid taking new positions until a stronger trend emerges.
Why is it interesting to use different look back periods?
The use of different look back periods in the momentum indicator formula allows traders to assess momentum across multiple timeframes. By comparing the momentum results for each period, traders can gain a broader perspective on the strength of the trend and potential opportunities. Here's how a trader might use the different look back periods and their corresponding momentum results:
1) Identifying Consistency: Traders can compare the momentum results for different periods to assess the consistency of the trend. If the momentum scores for all periods are consistently positive or negative, it suggests a strong and consistent trend across multiple timeframes. This can provide traders with higher confidence in the trend's strength and potential trading opportunities.
2) Convergence or Divergence: Traders can analyze the relationship between the momentum results for different periods. If the momentum scores for all periods are converging (moving closer together), it indicates a higher degree of agreement across different timeframes and strengthens the signal. Conversely, if the momentum scores for different periods diverge (move apart), it may suggest a weakening or conflicting trend. Traders should exercise caution when the momentum scores diverge as it may signal a potential reversal or market uncertainty.
3) Confirmation of Momentum: Traders can use the momentum results for different periods to confirm the strength of a trend. For example, if the momentum scores for shorter periods (e.g., Period 1) are significantly higher than those for longer periods (e.g., Period 2 and Period 3), it suggests a recent increase in momentum and a potentially stronger trend. This confirmation can assist traders in making more informed trading decisions and timing their entries or exits.
4) Multiple Timeframe Analysis: Traders often employ a multiple timeframe analysis approach to validate their trading decisions. By comparing the momentum results for different periods, traders can assess the alignment of momentum across various timeframes. For instance, if the momentum scores for shorter, medium, and longer periods all indicate a strong trend in the same direction, it reinforces the conviction in the trade.
As a conclusion, the momentum indicator can be useful to traders for several reasons:
1) Identifying Trend Strength: The momentum indicator helps traders assess the strength of a price trend. When the momentum score is high, it suggests that the trend is strong and likely to continue. This information can be valuable for trend-following strategies, as it helps traders identify potentially profitable opportunities and stay on the right side of the market.
2) Spotting Reversals: Momentum indicators can also help traders identify potential trend reversals. When the momentum score diverges from the price movement, it may indicate a weakening trend or an upcoming reversal. Traders can use this signal to adjust their positions or look for opportunities to enter or exit trades.
3) Confirming Breakouts: Breakout traders often use momentum indicators to confirm the validity of a breakout. If a price breaks above a resistance level, and the momentum score also increases significantly, it provides additional confirmation that the breakout is strong and may continue. This helps traders have more confidence in their breakout trades.
4) Setting Stop Loss and Take Profit Levels: By understanding the strength of a price trend through the momentum indicator, traders can set appropriate stop-loss and take-profit levels. A strong momentum score may indicate that a trend is likely to continue, allowing traders to set wider profit targets. Conversely, a weak momentum score may suggest that the trend is losing steam, prompting traders to set tighter stop-loss levels to protect their capital.
4) Divergence Analysis: Momentum indicators can be used in conjunction with other technical indicators to identify divergences. Divergence occurs when the price and momentum indicator move in opposite directions. It can signal potential trend reversals or shifts in market sentiment, providing traders with opportunities to adjust their positions.
It's important to note that while momentum indicators can be useful tools, they should not be relied upon solely for making trading decisions. It's recommended to use them in conjunction with other technical analysis tools and consider other factors such as market conditions, risk management, and fundamental analysis. Remember that the momentum indicator is just one tool among many, and it's important to consider other factors such as volume, trend, volatility, and overall market conditions when making trading decisions. Additionally, using stop-loss orders and proper risk management techniques is crucial to mitigate potential losses.
We hope that you will find these explanations useful, please contact us by private message for access.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorised. This script is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. Myfractalrange is not responsible for any losses you may incur. Please invest wisely.
Intraday Intensity ModesIntraday Intensity Index was created by David Bostian and its use was later featured by John Bollinger in his book "Bollinger on Bollinger Bands" . It is categorically a volume indicator and considered to be a useful tool for analyzing supply and demand dynamics in the market. By measuring the level of buying and selling pressure within a given trading session it attempts to provide insights into the strength of market participants' interest and their aggressiveness in executing trades throughout the day. It can be used in conjunction with Bollinger Bands® or other envelope type indicators as a complimentary indicator to aid in trying to identify potential turning points or trends.
Intraday intensity is calculated based upon the relationship between the price change and the volume of shares traded during each daily interval. It aims to capture the level of buying or selling activity relative to the overall volume. A high intraday intensity value suggests a higher level of buying or selling pressure, indicating a more active and potentially volatile market. Conversely, a low intraday intensity value indicates less pronounced trading activity and a potentially quieter market. Overall, intraday intensity provides a concise description of the intensity of trading activity during a particular trading session, giving traders an additional perspective on market dynamics. Note that because the calculation uses volume this indicator will only work on symbols where volume is available.
While there are pre-existing versions within community scripts, none were found to have applied the calculations necessary for the various modes that are presented within this version, which are believed to be operating in the manner originally intended when first described by Bostian and again later by Bollinger. When operating in default modes on daily or lower chart timeframes the logic used within this script tracks the intraday high, low, close and volume for the day with each progressing intraday bar.
The BB indicator was included on the top main chart to help illustrate example usage as described below. The Intraday Intensity Modes indicator is pictured operating in three different modes beneath the main chart:
• The top pane beneath the main chart shows the indicator operating as a normalized 21 day II% oscillator. A potential use while in this mode would be to look for positive values as potential confirmation of strength when price tags the upper or lower Bollinger bands, and to look for negative values as potential confirmation of weakness when price tags the upper or lower Bollinger bands.
• The middle pane shows the indicator operating as an "open ended" cumulative sum of II. A potential use while in this mode would be to look for convergence or divergence of trend when price is making new highs or lows, or while price is walking the upper or lower Bollinger bands.
• The bottom pane shows the indicator operating in standard III mode, which provides independent values per session.
Indicator Settings: Inputs tab:
Osc Length : Set to 1 disables oscillation, values greater than 1 enables oscillation for II% (Intraday Intensity percent) mode.
Tootip : Hover mouse over (i) to show recommended example Settings for various modes.
Cumulative : When enabled values are cumulatively summed for the entire chart and indicator operates in II mode.
Normalized : When enabled a rolling window of Osc Length values are summed and normalized to the rolling window's volume.
Intrabar : When enabled price range and volume are evaluated for intensity per bar instead of per day which is a departure from the original
concept. Whenever this setting is enabled the indicator should be regarded as operating in an experimental mode.
Colors For Up Down : Sets the plot colors used, may be overridden in Settings:Style tab.
Styles / Width : Sets the plot style and width used, may be overridden in Settings:Style tab.
This indicator is designed to work with any chart timeframe, with the understanding that when used on timeframes higher than daily the indicator becomes "IntraPeriod" intensity, for example on weekly bars it would be "IntraWeek" intensity. On Daily or lower timeframes the indicator operates as "IntraDay" intensity and is being updated on each bar as each day progresses. If the experimental setting Intrabar is enabled then the indicator operates as "IntraBar" intensity and is no longer constrained to daily or higher evaluations, for example with Intrabar enabled on a 4H timeframe the indicator would operate as "Intra4H" intensity.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Scalping Strategy (5min)This indicator is designed for scalping strategies on a 5-minute timeframe. It generates signals based on two RSI crossovers and incorporates moving averages to identify trends. Additionally, a Bollinger Band is included to eliminate the need for an additional Bollinger Band on the chart.
Please note that this indicator does not guarantee 100% accurate signals and may produce false signals. It is recommended to use this indicator in conjunction with other indicators such as Stochastic, MACD, SuperTrend, or any other suitable indicators to enhance the accuracy of trading decisions.
1) Signal Generation: The indicator generates buy and sell signals based on two RSI crossovers. A buy signal is generated when the fast RSI crosses above the slow RSI, indicating potential bullish momentum. Conversely, a sell signal is generated when the fast RSI crosses below the slow RSI, suggesting potential bearish momentum.
2) To adjust the indicator to your specific chart and trading preferences, you have the flexibility to modify the RSI and moving average (MA) values. By changing the RSI values (slow RSI length and fast RSI length), you can fine-tune the sensitivity of the RSI crossovers to suit different timeframes and market conditions. Similarly, adjusting the MA values (slow MA period and fast MA period) allows you to adapt the indicator to the desired trend identification and short-term trend confirmation.
3) Pay attention to trades that are confirmed by the short-term moving average (MA) aligning with the desired direction. For buy signals, ensure that the short MA is tending upward, indicating a potential uptrend. For sell signals, confirm that the short MA is trending downward, suggesting a potential downtrend.
4) Moving Averages: The indicator uses a 200-period moving average (MA) to identify the overall trend and a short-term MA for additional confirmation.
5) Bollinger Band: The included Bollinger Band is not directly used in the indicator's calculations. However, it is provided for convenience so that users don't need to add another Bollinger Band to their chart separately.
6) Exercise caution when the short MA is below the 200-period MA but showing signs of attempting an upward move. These situations may indicate a potential reversal or consolidation, and it is advisable to avoid taking trades solely based on the 200-period MA crossover in such cases.
Remember that these guidelines are intended to provide additional insights and should be used in combination with your trading judgment and analysis.
N-Rho To Noise (Reinforcement Learning)N-Rho To Noise is a ratio of 2 components. Rho is my own calculation of a signal that is differenced (force time series stationary, allowing for more predictability) and its relation to a unit of a measure of noise. N is the amount of times it is differenced. Using a simplified q-learning reinforcement learning agent, the length of the ratio is calibrated to its optimal value.
- Purple indicates the undifferenced signal is above the RMSE error bands
- Red indicates both the differenced and undifferenced signals are above the threshold for a strong positive deviation, suggesting a short
- Blue indicates the undifferenced signal is below the RMSE error bands
- Green indicates both the differenced and undifferenced signals are below the threshold for a negative strong deviation, suggesting a long
- Strong long signal when you have both an undifferenced Rho and differenced Rho giving you local agreement (blue bar followed by green)
- Strong short signal when you have an undifferenced and differenced Rho giving you identical signals (purple bar followed by red)
Optimal length: the parameter of the length that the model configures to be the best parameter
Optimal reward: the reward corresponding to the optimal length (green=strong value, orange=intermediate strength, red=poor)
Average reward: the average reward of the set of lengths used over all episodes (green=strong value, orange=intermediate strength, red=poor)
Cumulative reward: the sum of all the rewards
Variance: a measure of how varied the data is (too much variance can suggest it cannot generalize too well to unseen data)
Normalized Elastic Volume Oscillator (MTF)The Multi-Timeframe Normalized Elastic Volume Oscillator combines volume analysis with multiple timeframe analysis. It provides traders with valuable insights into volume dynamics across different timeframes, helping to identify trends, potential reversals, and overbought/oversold conditions.
When using the Multi-Timeframe Normalized Elastic Volume Oscillator, consider the following guidelines:
Understanding Input Parameters : The indicator offers customizable input parameters to suit your trading preferences. You can adjust the EMA length (emaLength), scaling factor (scalingFactor), volume weighting option (volumeWeighting), and select a higher timeframe for analysis (higherTF). Experiment with these parameters to optimize the indicator for your trading strategy.
Multiple Timeframe Analysis : The Multi-Timeframe Normalized Elastic Volume Oscillator allows you to analyze volume dynamics on both the current timeframe and a higher timeframe. By comparing volume behavior across different timeframes, you gain a broader perspective on market trends and the strength of volume deviations. The higher timeframe analysis provides additional confirmation and helps identify more significant market shifts.
Normalized Values : The indicator normalizes the volume deviations on both timeframes to a consistent scale between -0.25 and 0.75. This normalization makes it easier to compare and interpret the oscillator's readings across different assets and timeframes. Positive values indicate bullish volume behavior, while negative values suggest bearish volume behavior.
Interpreting the Indicator : Pay attention to the position of the Multi-Timeframe Normalized Elastic Volume Oscillator lines relative to the zero line on both timeframes. Positive values on either timeframe indicate a bullish bias, while negative values suggest a bearish bias. The distance of the oscillator from the zero line reflects the strength of the volume deviation. Extreme readings, both positive and negative, may indicate overbought or oversold conditions, potentially signaling a trend reversal or exhaustion.
Combining with Other Indicators : For more robust trading decisions, consider combining the Multi-Timeframe Normalized Elastic Volume Oscillator with other technical analysis tools. This could include trend indicators, support/resistance levels, or candlestick patterns. By incorporating multiple indicators, you gain additional confirmation and increase the reliability of your trading signals.
Remember that the Multi-Timeframe Normalized Elastic Volume Oscillator is a valuable tool, but it should not be used in isolation. Consider other factors such as price action, market context, and fundamental analysis to make well-informed trading decisions. Additionally, practice proper risk management and exercise caution when executing trades.
By utilizing the Multi-Timeframe Normalized Elastic Volume Oscillator, you gain a comprehensive view of volume dynamics across different timeframes. This knowledge can help you identify potential market trends, confirm trading signals, and improve the timing of your trades.
Take time to familiarize yourself with the indicator and conduct thorough testing on historical data. This will help you gain confidence in its effectiveness and align it with your trading strategy. With experience and continuous evaluation, you can harness the power of the Multi-Timeframe Normalized Elastic Volume Oscillator to make informed trading decisions.
Broadview Underpriced & OverpricedIntroducing the groundbreaking Broadview Underpriced & Overpriced indicator—a convergence of science, technology, and mathematical finance. This cutting-edge development takes the highly acclaimed Overbought & Oversold Heatmap and elevates it to an entirely new level by infusing it with price trends through the application of special moving averages. The result is a revolutionary approach to asset classification, allowing traders, investors, and institutions to categorize assets into four distinct categories: Underpriced, Overpriced, Discounted, and Inflated.
The Broadview Underpriced & Overpriced indicator combines the power of the Overbought & Oversold Heatmap with a sophisticated methodology that leverages special moving averages. These unique moving averages enhance the precision and accuracy of the asset classification process, providing traders with unparalleled insights into market conditions.
Under the Broadview Underpriced & Overpriced framework, assets that are deemed oversold and positioned below the special moving average are identified as Underpriced. This designation implies that the asset's current price is undervalued relative to its intrinsic worth, presenting an opportune moment to consider initiating a buying position. Underpriced assets are represented by a vibrant purple color on the indicator, symbolizing the potential for significant buying opportunities.
Conversely, assets that are considered overbought and situated above the special moving average are labeled as Overpriced. This classification indicates that the asset's current price has exceeded its intrinsic value, suggesting a favorable moment to contemplate selling or reducing exposure to the asset. Overpriced assets are visually depicted by a striking teal color, signifying the potential for optimal selling opportunities.
Moreover, the Broadview Underpriced & Overpriced indicator recognizes a third category known as Discounted assets. These assets are characterized by being positioned above the special moving average while simultaneously experiencing oversold conditions. This classification suggests that although the asset's price may be above its average value, it is currently available at a discounted price relative to its long-term potential. Discounted assets are represented by a deep purple hue, indicating an opportunity for buyers to consider making purchases with a lower aggression dollar-cost averaging (DCA) strategy.
Lastly, the indicator identifies Inflated assets as those positioned below the special moving average while concurrently exhibiting overbought conditions. This classification implies that the asset's price may be temporarily inflated compared to its intrinsic worth. Inflated assets are depicted by a rich teal color, representing an indication for trend traders or those looking to capitalize on consolidations.
The Broadview Underpriced & Overpriced indicator brings forth a groundbreaking evolution in asset classification, meticulously combining the Overbought & Oversold Heatmap with the influence of special moving averages. Through this unique fusion, traders and investors gain access to an unprecedented level of insight, enabling them to make informed decisions based on a comprehensive evaluation of market trends.
The Broadview Underpriced & Overpriced indicator represents a paradigm shift in asset classification, uniting science, technology, and mathematical finance to deliver an innovative and comprehensive trading tool. By leveraging special moving averages in conjunction with the Overbought & Oversold Heatmap, this indicator enables traders, investors, and institutions to categorize assets as Underpriced, Overpriced, Discounted, or Inflated. Its visually captivating color scheme and strategic insights empower market participants to navigate market trends with precision, enhancing their ability to capitalize on optimal buying and selling opportunities while employing various trading strategies.
Buying/Selling Pressure Cycle (PreCy)No lag estimation of the buying/selling pressure for each candle.
----------------------------------------------------------------------------------------------------
WHY PreCY?
How much bearish pressure is there behind a group of bullish candles ?
Is this bearish pressure increasing?
When might it overcome the bullish pressure?
Those were my questions when I started this indicator. It lead me through the rabbit hole, where I discovered some secrets about the market. So I pushed deeper, and developped it a lot more, in order to understand what is really happening "behind the scene".
There are now 3 ways to read this indicator. It might look complicated at first, but the reward is to be able to anticipate and understand a lot more.
You can show/hide all the plots in the settings. So you can choose the way you prefer to use it.
----------------------------------------------------------------------------------------------------
FIRST WAY TO READ PreCy : The SIGNAL line
Go in the settings of PreCy, in "DISPLAY", uncheck "The pivot lines of the SIGNAL" and "The CYCLE areas". Make sure "The SIGNAL line" is checked.
The SIGNAL shows an estimation of the buying/selling pressure of each candle, going from 100 (100% bullish candle) to -100 (100% bearish candle). A doji would be shown close to zero.
Formula: Estimated % of buying pressure - Estimated % of selling pressure
It is a very choppy line in general, but its colors help make sense of it.
When this choppiness alternates between the extremes, then there is not much pressure on each candle, and it's very unpredictable.
When the pressure increases, the SIGNAL's amplitude changes. It "compresses", meaning there is some interest in the market. It can compress by alternating above and below zero, or it can stay above zero (bullish), or below zero (bearish) for a while.
When the SIGNAL becomes linear (in opposition to choppy), there is a lot of pressure, and it is directional. The participants agree for a move in a chosen direction.
The trajectory of the SIGNAL can help anticipate when a move is going to happen (directional increase of pressure), or stop (returning to zero) and possibly reverse (crossing zero).
Advanced uses:
The SIGNAL can make more sense on a specific timeframe, that would be aligned with the frequency of the orders at that moment. So it is a good idea to switch between timeframes until it gets less choppy, and more directional.
It is interesting to follow any regular progression of the SIGNAL, as it can reveal the intentions of the market makers to go in a certain direction discretely. There can be almost no volume and no move in the price action, yet the SIGNAL gets linear and moves away from one extreme, slowly crosses the zeroline, and pushes to the other extreme at the same time as the amplitude of the price action increases drastically.
----------------------------------------------------------------------------------------------------
SECOND WAY TO READ PreCy : The PIVOTS of the SIGNAL line
Go in the settings of PreCy, in "DISPLAY", and uncheck "The CYCLE areas". Make sure "The SIGNAL line" and "The pivot lines of the SIGNAL" are checked.
The PIVOTS help make sense of the apparent chaos of the SIGNAL. They can reveal the overall direction of the choppy moves.
Especially when the 2 PIVOTS lines are parallel and oriented.
----------------------------------------------------------------------------------------------------
THIRD WAY TO READ PreCy : The CYCLE
Go in the settings of PreCy, in "DISPLAY", and uncheck "The SIGNAL line" and "The pivot lines of the SIGNAL". Make sure "The CYCLE areas" is checked.
The CYCLE is a Moving Average of the SIGNAL in relation to each candle's size.
Formula: 6 periods Moving Average of the SIGNAL * (body of the current candle / 200 periods Moving Average of the candle's bodies)
The result goes from 200 to -200.
The CYCLE shows longer term indications of the pressures of the market.
Analysing the trajectory of the CYCLE can help predict the direction of the price.
When the CYCLE goes above or below the gray low intensity zone, it signals some interest in the move.
When the CYCLE stays above 100 or below -100, it is a sign of strength in the move.
When it stayed out of the gray low intensity zone, then returns inside it, it is a strong signal of a probable change of behavior.
----------------------------------------------------------------------------------------------------
ALERTS
In the settings, you can pick the alerts you're interested in.
To activate them, right click on the chart (or alt+a), choose "Add alert on Buying/Selling Pressure Cycle (PreCy)" then "Any alert()", then "Create".
Feel free to activate them on different timeframes. The alerts show which timeframe they are from (ex: "TF:15" for the 15 minutes TF).
I have added a lot more conditions to my PreCy, taken from FREMA Trend, for ex. You can do the same with your favorite scripts, to make PreCy more accurate for your style.
----------------------------------------------------------------------------------------------------
Borrowed scripts:
To estimate the buying and selling pressures, PreCy uses the wicks calculations of "Volume net histogram" by RafaelZioni
To filter the alerts, PreCy uses the calculations of "Amplitude" by Koholintian:
----------------------------------------------------------------------------------------------------
DO NOT BASE YOUR TRADING DECISIONS ON 1 SINGLE INDICATOR'S SIGNALS.
Always confirm your ideas by other means, like price action and indicators of a different nature.
Aggregated Funding RateThis funding rate indicator combines data from two of the largest cryptocurrency exchanges, BitMex and Binance, and supports USD, USDT, and BUSD currency pairs. Moreover, it covers a wide range of 31 different crypto assets to choose from, providing users with a comprehensive view of the funding rate for each asset.
The aggregation is formed by calculating the funding rate of the cryptocurrency for each perpetual chart respectively (Binance - USDT & BUSD and BitMex - USDT & USD). The calculation itself is based on each exchange's official formula, hence the reasoning behind including only 4 sources, they are currently the only ones which can be calculated this way in Tradingview.
Afterwards, it is either summed or averaged based on the user input. Additionaly, the user may choose freely which of the four sources will be included.
What is Funding Rate ?
The funding rate is the cost of holding a cryptocurrency position on a futures exchange. It is essentially an interest rate paid by the long or short position holder to the counterparty. If the funding rate is positive, longs pay shorts, and if it is negative, shorts pay longs. This rate is adjusted periodically, typically every eight hours, to ensure that the futures price of the cryptocurrency remains close to its spot price.
Utility :
The funding rate indicator can be used in a variety of ways. Traders can use it to gauge the sentiment of the market. If the funding rate is consistently positive, it suggests that there is more demand for long positions than short positions, indicating that the market is bullish. On the other hand, if the funding rate is consistently negative, it suggests that there is more demand for short positions than long positions, indicating that the market is bearish.
In addition, the funding rate indicator can be used to identify potential trading opportunities. If the funding rate is significantly higher than usual, it may indicate that longs are overpaying shorts, creating a potential arbitrage opportunity. Alternatively, if the funding rate is significantly lower than usual, it may indicate that shorts are overpaying longs, creating a potential arbitrage opportunity in the opposite direction.
Key Features
Aggregation type
31 supported cryptocurrencies
Simple or Depth style options
Sources to aggregate
Multi-Indicator Confluence Signals *LITE*Description:
Introducing the Multi-Indicator Confluence Signals (MICS), a comprehensive trading tool designed to simplify the process of analyzing multiple technical indicators and uncluttering your screen!
You are able to select various pre-existing indicators, including Stochastic, RSI, MACD, EMA, DMI, Bollinger Bands, and a our own custom signal we created using only price action calculations which will provide a streamlined view of the market, allowing traders to focus on speed, trade execution, strategy, and chart reading.
We do this by converting the input from the above popular technical indicators and generate clear long and short signals by placing green(long) and/or red(short) arrows directly on the chart.
You also have the option to choose which indicators you want to show on the screen and also the option to choose long and/or short signals.
The values we have chosen to generate the signals can be seen in each of the respective indicator input (i) tab in the inputs options.
Here are some examples:
Stoch Long
Will turn on green arrow signals to inform you the smoothed, 14 period stochastic line has crossed over 20.
Stoch short
Will turn on red arrow signals to inform you the smoothed, 14 period stochastic line has crossed under 80.
MA long
Will turn on green arrow signals to inform you when the moving average of the last 21 bars has become larger than the moving average of the last 50 bars.
MA short
Will turn on red arrow signals to inform you when the moving average of the last 21 bars has become smaller than the moving average of the last 50 bars.
RSI Long
Will turn on green arrow signals to inform you when the 14 period rsi value has crossed under 70.
RSI short
Will turn on red arrow signals to inform you when the 14 period rsi value has crossed over 30.
Go from this (Imagine your own drawings+the above indicators):
To this! (Only long signals displayed)
Features :
Consolidated signals:
The MICS identifies bull and bearish signals from multiple indicators and presents them in a visual arrow pointing manner, enabling traders to quickly assess potential trade opportunities.
Unique price action arrows:
The price action arrows in the MICS trading tool are a unique feature that distinguish it from traditional technical indicators.
These arrows are generated solely based on recent price movement and are calculated using an algorithm that analyzes the strength of recent price action.
The algorithm also considers factors such as the length and intensity of the trend, as well as any notable support or resistance levels.
When the 'Price Action Long' or 'Price Action Short' options are enabled, the MICS will display green or red arrows respectively, indicating potential bullish or bearish signals.
These arrows complement the signals generated by other pre-existing technical indicators in the MICS .
Clutter-free charting:
By removing the need to display individual indicators on the chart, the MICS helps create a cleaner workspace, promoting better focus and decision-making.
Confluence-based trading:
The MICS is not designed to be used as a standalone trading system.
Instead, traders should utilize the signals as confluences to complement their pre-existing trade ideas, leading to more robust and well-informed strategies.
Mashup of Indicators:
Each indicator has its own strengths and weaknesses, but by combining them, the MICS can provide a more comprehensive view of the market.
For example, Stochastic and RSI are commonly used to measure overbought and oversold conditions, while MACD and EMA are used to identify trend direction. DMI, on the other hand, is used to gauge the strength of a trend, while Bollinger Bands can be used to identify potential breakouts.
By combining the signals from these indicators, the MICS can provide traders with a more nuanced view of the market, allowing them to make better-informed trading decisions, quickly!
How They Work Together:
The MICS generates signals by analyzing the input from each individual indicator.
If the majority of the indicators show a bullish trend, the MICS will display this by showing the indicators you selected in the settings with green long arrows, indicating a potential long trade.
Conversely, if the majority of the indicators show a bearish trend, the MICS will display red short arrows, indicating a potential short trade.
In addition, the MICS uses a unique price action signal generated solely based on recent price movement, calculated using an algorithm that analyzes the strength of recent price action.
This price action signal is a distinguishing feature of the MICS and complements the signals generated by the pre-existing technical indicators.
What Makes the MICS Original?
What makes the MICS unique is its emphasis on providing a clutter-free charting experience.
By displaying only clear long and short signals directly on the chart based on your own selection in the settings, the MICS eliminates the need to have multiple indicators cluttering the screen, allowing traders to concentrate on making informed decisions, quickly!
This price action signal is a also unique feature that sets the MICS apart from other technical indicators.
True Trend Oscillator [wbburgin]The True Trend oscillator identifies trending or ranging markets with a stochastic ATR and RSI. Here are some examples for how it can be used.
Uptrends
If the candlesticks are lime green, this signals an uptrend. On the oscillator, you can identify an uptrend if the bull strength (the green line) is above the bear strength (the red line). The strength of the uptrend and the downtrend can be found by looking at the slope of these lines.
Downtrends
If the candlesticks are red, this signals a downtrend. On the oscillator, notice how the bear strength line is above the bull strength line.
Ranging Markets and Pullbacks
The True Trend oscillator can also be used to identify ranging markets or pullbacks. Let's look at the previous example again:
If you notice that the bull and bear lines are bouncing above the red weak-trend zone (as in the example above), this signals an extended trend. On the contrary, when the bull and bear lines fall into the weak-trend zone, this may indicate a larger pullback or a range to look to enter a trade again, as in this example, where the ranging candles in gray demonstrate temporary pullbacks in a larger bullish trend:
Ranges can also occur before trend reversals, so a range may also indicate a smart time to secure profits.
You can customize the ranging threshold in the settings. It can be set from 0-100 because the indicator is a stochastic.
Hope you all find this indicator useful!
Trend Momentum SynthesizerBy analyzing the MACD (Moving Average Convergence Divergence) and Squeeze Momentum indicators, this indicator helps identify potential bullish, bearish, or undecided market conditions.
The algorithm within considers the positions of the MACD and Squeeze Momentum indicators to determine the overall market sentiment. When the indicators align and indicate a bullish market condition, the indicator's plot color will be either dark green, green, yellow, or lime, indicating a potential bullish trend. Conversely, if the indicators align and indicate a bearish market condition, the plot color will be maroon or red, denoting a potential bearish trend. When the indicators are inconclusive, the plot color will be orange, suggesting an undecided market.
The ADX is an addon component of this indicator, helping to assess the strength of a trend. By analyzing the ADX, the indicator determines whether a trend is strong enough, providing additional confirmation for potential trade signals. The ADX smoothing and DI (Directional Index) length parameters can be customized to suit individual trading preferences.
By combining these indicators, the algorithm provides traders with a comprehensive view of the market, helping them make informed trading decisions. It aims to assist traders in identifying potential market opportunities and aligns with the objective of maximizing trading performance.
How to use the indicator:
Note: I used back-testing for fine tuning do not base your trades on signals from the testing framework.
TASC 2023.06 Stochastic Distance Oscillator█ OVERVIEW
This script implements the stochastic distance oscillator (SDO) , a momentum indicator introduced by Vitali Apirine in an article featured in TASC's June 2023 edition of Traders' Tips . The SDO is a variation of the classic stochastic oscillator and is designed to identify overbought and oversold levels, as well as detect bull and bear trend changes.
█ CONCEPTS
Unlike the classic stochastic oscillator, which compares an asset's price to its past price range, the SDO measures the size of the current distance relative to the maximum-minimum distance range over a set number of periods. The current distance is defined as the distance between the current price and the price n periods ago.
The readings of the SDO can be used to identify the following states of the asset price:
Uptrend state: the oscillator crosses over 50 from a non-uptrend state.
Downtrend state: the oscillator crosses under -50 from a non-downtrend state.
Overbought state: the oscillator is in an uptrend and crosses -50 for the first time.
Oversold state: the oscillator is in a downtrend and crosses 50 for the first time.
Trend continuity: the oscillator crosses 0 in the direction of the current trend.
The script indicates these five conditions using on-chart signals and background coloring.
█ CALCULATIONS
The SDO is calculated as follows:
1. Calculate the distance between the current price and the price n periods ago, as well as the maximum and minimum distances for the selected lookback period. The author recommends using one of two values of n , 14 or 40 bars.
2. Calculate the time series % D that represents the relation between the asset's current distance and its distance range over a loockback period:
% D = (Abs(current distance) − Abs(minimum distance)) / (Abs(maximum distance) − Abs(minimum distance)) * 100
3. Use the calculated % D to obtain the SDO:
If the closing price is above the close n periods ago, SDO = % D
If the closing price is below the close n periods ago, SDO = −% D
If the closing price equals the close n periods ago or the current distance equals the minimum distance, SDO = 0
4. Smooth the SDO using an exponential moving average (EMA). The author recommends using an EMA in the range from 3 to 6 .
Adjustable input parameters include the number of periods n , the lookback period for calculating % D , the smoothing EMA length, and the overbought/oversold threshold level.
BB Squeeze + SuperTrend + Keltner ChannelBollinger Bands and Keltner Channel are two of my favorite channels. When you use them correctly, they can bring great help to your trading.
I like to use Bollinger Bands and Keltner Channels to identify when you can trade and when you can not trade, which is also known as the "squeeze".
When the opening of the Bollinger Bands is very small, it is a range that you can enter a trade, the range is called "Squeeze Zone" or "Trade zone".
When the opening of the Bollinger Bands is very large, it is a range that you cannot enter a trade, because the market fluctuates big when BB's opening is large.
I use two ways to identify when the Bollinger Bands's opening is very small or large, one is the Bollinger Bands entering Keltner Bands and one is using specific ATR ranges,. The first one allows you to identify when the market is squeezing and the second one allows you to identify when the market has entered Squeeze zone, that is, the market is already in a trading range suitable for entering a trade.(see chart.)
When the market is squeezed and you enter the trade, you can also use ATR as the stop loss price of the trade, I recommend using 2 ATR as your stop loss, and I also display them on the chart (see chart).
In addition, I also added SuperTrend to this indicator. SuperTrend is a very suitable for identifying trends. You can use SuperTrend to help you identify whether to go long or short.
This is how I use this indicator(See chart):
1.Only trade when market is in Squeeze Zone. (Thick yellow line in chart)
2.When entry a trade, use 2 ATR as stop loss. (Label in Chart)
3.Use Super trend to know to go long or short.
4.Keltner Channel helps to know when the market is squeezing. (Thin yellow line in chart.)
======== 中文說明 (Chinese Explanation) ========
Bollinger Bands(布林帶)跟 Keltner Channel(肯特納通道)是我最喜歡的兩個通道,當你正確使用它們時,它們可以替你的交易帶來非常大的幫助。
我喜歡用 Bollinger Bands 跟 Keltner Channel 來識別何時可以交易,何時不能交易,這個又稱做“擠壓操作”。當布林帶的開口很小時,便是可以交易的區間,而當布林帶的開口很大時,對我來說此時就是不可以交易的區間,因為此時市場的波動很大。
我使用兩種方式來識別當布林帶開口很小的時候,一種是布林帶進入肯特納通道,一種則使用特定的ATR範圍,前者可以讓你識別市場正在擠壓,後者則可以識別市場已經進入擠壓區間,也就是市場已經處於適合進入交易的交易區間。
當市場進入擠壓之後,而你也進入了交易,你還可以使用ATR來作為交易的止損價格,我建議使用2個ATR 來當作你的止損,而我也將他們顯示在圖表上了(見圖表)。
另外,我還在這個指標中加入了 SuperTrend(超級趨勢),SuperTrend 是一個非常適合用來辨別趨勢的指標,你可以使用 SuperTrend 來幫助你識別要做多還是做空。
這是我使用該指標的方式(見圖表):
1.僅在市場處於交易區間時進行交易。 (圖中黃色粗線)
2.入場時,使用2個ATR作為止損。 (圖表中的標籤)
3.使用超級趨勢知道做多或做空。
4.Keltner Channel 有助於了解市場何時擠壓。 (圖表中的黃色細線。)
DG RSIhello crypto community,
i made combine two rsi between dominance and current chart.
mostly it has negative co relation.
1. purple which is stable coin rsi
2. dark green which is your current chart rsi.
back test its easy to understand.
Average Trend with Deviation Bands v2TL;DR: An average based trend incl. micro trend spotting and multiple display options.
This script is basically an update of my "Average Trend with Deviation Bands" script. I made the following changes:
Not an overlay anymore - The amount of drawn lines makes the chart pretty messy. That's why I moved it to a pane. If you preferred the overlay you can use my "Average Trend with Deviation Bands" script. *This is also the reason why I publish this script instead of updating the existing one.
I added an EMA to represent the price movement instead of candles
I added a signal (SMA) to spot micro trends and early entry/exit signals
I added the option to switch between a "line view" which shows the average trend and deviation bands and an "oscillator view" which shows an oscillator and histogram (MACD style)
General usage:
1. The white line is the average trend (which is an average of the last N bars open, close, high, low price).
2. Bands around the average trend are standard deviations which can be adjusted in the options menu and are only visible in "lines view". Basically they are like the clouds in the Ichimoku Cloud indicator - In big deviation bands the price movement needs more "power" to break through the average trend and vice versa.
3. Indicator line (blue line) - This is the EMA which represents the price. Crossing the average trend from below indicates an uptrend and vice versa (crossing from above indicates a down trend).
4. Signal line (red line) - This is a smoothed version of the indicator line which can be used to predict the movement of the price when crossed by the indicator line (like at MACD and many other indicators).
Oscillator usage:
When switched to "oscillator view" the indicator line oscillates around a zero line which can be seen as the average trend. The usage is basically the same as described above. However there is also the histogram which shows the difference between the indicator and signal. Of course the histogram can be deactivated. Additionally a color filling can be added to easily spot entry/exit signals.
As always: Code is free do whatever you like. If you have any questions/comments/etc. just drop it in the comment section.
Heikin Ashi with EMA, BB, MomentumConvenient indicator to confirm a trend using heikin ashi candles.
The EMA 9 periods can be used as a trend confirmation using both the location of price and the slope of the EMA
Bollinger bands and their ma20 allows to account for volatility, range, squeeze, excess etc
This is all combined with a fast and slow momentum indicator based on the MACD.
The dots illustrate a slow/long-term momentum while the background color is the fast momentum.
Very useful indicator in my opinion to visualize the trend and momentum at the same time
Adaptive Momentum Channel - [Volume Filter]The Adaptive Momentum Channel with Volume Filter (Adaptive MCVF) is an indicator that utilizes an adaptive RSI to adjust its sensitivity based on the market conditions. The RSI component of the indicator calculates the standard deviation and mean deviation of RSI values and uses these to calculate the adaptive RSI. The volume filter component of the indicator filters the adaptive RSI based on the volume average, allowing the indicator to identify trend changes and filter out market noise.
The indicator plots the upper and lower bands of the Adaptive MCVF, which are calculated by taking the moving average of the filtered RSI and applying an offset based on the standard deviation. A fast moving average is also plotted, which can be used to identify short-term changes in the trend.
The Adaptive MCVF also includes a divergence identification feature, which can be used to identify potential trend changes. The indicator plots regular bullish and bearish divergences, as well as hidden bullish and bearish divergences.
This is a variant of my previous MCVF indicator, this one simply allows you to take the standard deviation of the momentum and use it to make the indicator a bit more adaptive!
I made it protected to hide the standard deviation math and the auto divergence code.
You can always use this indicator by pressing "favorite";)
Open Interest OffsetThis indicator is used to display whether there has been an abnormal increase or decrease in recent contract positions. Its usage is similar to the RSI indicator.
Please note that this indicator uses fixed (customizable) thresholds of 0.4 and 0.6 to indicate when abnormal opening and closing occur respectively. For some altcoins, their values may far exceed 0.4 so please adjust accordingly based on your symbol.
(1) When there is an abnormal increase in recent contract positions, the value of the indicator will be above 0.4. This means that there may be a liquidation market situation occurring subsequently. If the market background at this time is rising, it may not be suitable to continue buying because the indicator shows that it is currently overbought. On the contrary, it may be appropriate to sell now.
(2) When there is an abnormal decrease in recent contract positions, the value of the indicator will be below -0.4. This means that a liquidation market situation has occurred recently. If the market background at this time is falling, it may not be suitable to continue shorting because the indicator shows that it is currently oversold. On the contrary, it may be appropriate to buy now.
Special thanks to the following TradingView community members for providing open-source indicators and contributing to the development of this indicator!
Open Interest Delta - By Leviathan - @LeviathanCapital
Regarding the relationship with the above-mentioned open source indicator:
Indicator Open Interest Delta - By Leviathan - @LeviathanCapital obtained OI data for Binance USDT perpetual contracts in the code. We refer to their method of obtaining OI data in our code.
============= 中文版本 =============
该指标用于显示近期合约持仓量是否有异常的增加和减少。它的用法类似于RSI指标
请注意,该指标使用了固定的(可定制的)阈值0.4和0.6来提示异常开仓和平仓的发生。对于某些山寨币而言,指标的数值可能远大于0.4。请根据你所关注的标的自行调整
(1)当近期合约持仓量有异常的增加时,指标的值会在0.4以上。这意味着后续可能有清算行情的发生。若此时市场背景为上涨,此时可能不太适合继续做多,因为指标显示目前处于超买行情。相反,现在可能适合卖出
(2)当近期合约的持仓量有异常的减少时,指标的值会在-0.4以下。这意味着近期已经发生了清算行情。若此时市场背景为下跌,此时可能不太适合继续做空,因为指标显示目前处于超卖行情。相反,现在可能适合买入
特别感谢以下TradingView社区成员提供开源指标并为该指标的开发做出贡献!
Open Interest Delta - By Leviathan - @LeviathanCapital
与上述开源指标的关系:
指标Open Interest Delta - By Leviathan - @LeviathanCapital在代码中获取了Binance USDT永续合约的OI数据。我们在代码中参考他们获取OI数据的方式