Liquidity Channel with B/SIndicator - Liquidity Level
Which calculates the liquidity levels based on the highest high and lowest low of the specified period. It determines the middle line, upper line, and lower line of the liquidity channel. The liquidity level is the average of the upper and lower lines, and the liquidity level distance is half of the difference between the upper and lower lines.
Here, the code determines if the conditions for overbought and oversold signals are met. It compares the current closing price with the previous opening price to determine the color of the bar (red or green). If the conditions are met and the bar color matches the expected direction (red for overbought and green for oversold), the respective signals are triggered.
The code plots buy and sell signals on the chart using shape labels. It displays "Buy" labels below the bars for buy signals and "Sell" labels above the bars for sell signals. Additionally, it colors the bars in gray. The code also sets up alert conditions to send notifications when buy or sell signals occur.
*************** Please note that this is a high-level overview of the code's functionality. The specific details and calculations may vary based on the parameters and settings provided in the code.
*************** Remember, trading involves risks, and it's important to thoroughly test any strategy and consider risk management principles before using it in live trading. It's recommended to consult with a knowledgeable financial advisor or professional trader for guidance and assistance in developing and implementing trading strategies.
***************Happy trading..
I will try to share my most commonly used strategies with you as much as possible. For this, you can follow me as a source of motivation, and if you like the indicators, you can give me a rocket to make me happy, my friends! :))
Oscillators
Stochastic Distance Indicator [CC]The Stochastic Distance Indicator was created by Vitali Apirine (Stocks and Commodities Jun 2023 pgs 16-21), and this is a new method that measures the absolute distance between a price and its highest and lowest values over a long period. It uses the stochastic formula to create an oscillator using this distance value and smooths the value. Obviously, there is a lag in signals due to the lookback periods, but it does a good job of staying above the midline when the stock is in a strong uptrend and vice versa. Of course, I'm open to suggestions, but I'm deciding to create buy and sell signals based on comparing the unsmoothed and smoothed values. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you would like to see me publish!
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.
Adaptive Mean Reversion IndicatorThe Adaptive Mean Reversion Indicator is a tool for identifying mean reversion trading opportunities in the market. The indicator employs a dynamic approach by adapting its parameters based on the detected market regime, ensuring optimal performance in different market conditions.
To determine the market regime, the indicator utilizes a volatility threshold. By comparing the average true range (ATR) over a 14-period to the specified threshold, it determines whether the market is trending or ranging. This information is crucial as it sets the foundation for parameter optimization.
The parameter optimization process is an essential step in the indicator's calculation. It dynamically adjusts the lookback period and threshold level based on the identified market regime. In trending markets, a longer lookback period and higher threshold level are chosen to capture extended trends. In ranging markets, a shorter lookback period and lower threshold level are used to identify mean reversion opportunities within a narrower price range.
The mean reversion calculation lies at the core of this indicator. It starts with computing the mean value using the simple moving average (SMA) over the selected lookback period. This represents the average price level. The deviation is then determined by calculating the standard deviation of the closing prices over the same lookback period. The upper and lower bands are derived by adding and subtracting the threshold level multiplied by the deviation from the mean, respectively. These bands serve as dynamic levels that define potential overbought and oversold areas.
In real-time, the indicator's adaptability shines through. If the market is trending, the adaptive mean is set to the calculated mean value. The adaptive upper and lower bands are adjusted by scaling the threshold level with a factor of 0.75. This adjustment allows the indicator to be less sensitive to minor price fluctuations during trending periods, providing more robust mean reversion signals. In ranging market conditions, the regular mean, upper band, and lower band are used as they are more suited to capture mean reversion within a confined price range.
The signal generation component of the indicator identifies potential trading opportunities based on the relationship between the current close price and the adaptive upper and lower bands. If the close price is above the adaptive upper band, it suggests a potential short entry opportunity (-1). Conversely, if the close price is below the adaptive lower band, it indicates a potential long entry opportunity (1). When the close price is within the range defined by the adaptive upper and lower bands, no clear trading signal is generated (0).
To further strengthen the quality of signals, the indicator introduces a confluence condition based on the RSI. When the RSI exceeds the threshold levels of 70 or falls below the threshold level of 30, it indicates a strong momentum condition. By incorporating this confluence condition, the indicator ensures that mean reversion signals align with the prevailing market momentum. It reduces the likelihood of false signals and provides traders with added confidence when entering trades.
The indicator offers alert conditions to notify traders of potential trading opportunities. Alert conditions are set to trigger when a potential long entry signal (1) or a potential short entry signal (-1) aligns with the confluence condition. These alerts allow traders to stay informed about favorable mean reversion setups, even when they are not actively monitoring the charts. By leveraging alerts, traders can efficiently manage their time and take advantage of market opportunities.
To enhance visual interpretation, the indicator incorporates background coloration that provides valuable insights into the prevailing market conditions. When the indicator generates a potential short entry signal (-1) that aligns with the confluence condition, the background color is set to lime. This color suggests a bullish trend that is potentially reaching an exhaustion point and about to revert downwards. Similarly, when the indicator generates a potential long entry signal (1) that aligns with the confluence condition, the background color is set to fuchsia. This color represents a bearish trend that is potentially reaching an exhaustion point and about to revert upwards. By employing background coloration, the indicator enables traders to quickly identify market conditions that may offer mean reversion opportunities with a directional bias.
The indicator further enhances visual clarity by incorporating bar coloring that aligns with the prevailing market conditions and signals. When the indicator generates a potential short entry signal (-1) that aligns with the confluence condition, the bar color is set to lime. This color signifies a bullish trend that is potentially reaching an exhaustion point, indicating a high probability of a downward reversion. Conversely, when the indicator generates a potential long entry signal (1) that aligns with the confluence condition, the bar color is set to fuchsia. This color represents a bearish trend that is potentially reaching an exhaustion point, indicating a high probability of an upward reversion. By using distinct bar colors, the indicator provides traders with a clear visual distinction between bullish and bearish trends, facilitating easier identification of mean reversion opportunities within the context of the broader trend.
While the "Adaptive Mean Reversion Indicator" offers a robust framework for identifying mean reversion opportunities, it's important to remember that no indicator is foolproof. Traders should exercise caution and employ risk management strategies. Additionally, it is recommended to use this indicator in conjunction with other technical analysis tools and fundamental factors to make well-informed trading decisions. Regular backtesting and refinement of the indicator's parameters are crucial to ensure its effectiveness in different market conditions.
HK Percentile Interpolation One
This script is designed to execute a trading strategy based on Heikin Ashi candlesticks, moving averages, and percentile levels.
Please note that you should keep your original chart in normal candlestick mode and not switch it to Heikin Ashi mode. The script itself calculates Heikin Ashi values from regular candlesticks. If your chart is already in Heikin Ashi mode, the script would be calculating Heikin Ashi values based on Heikin Ashi values, which would produce incorrect results.
The strategy begins trading from a start date that you can specify by modifying the `startDate` parameter. The format of the date is "YYYY MM DD". So, for example, to start the strategy from January 1, 2022, you would set `startDate = timestamp("2022 01 01")`.
The script uses Heikin Ashi candlesticks, which are plotted in the chart. This approach can be useful for spotting trends and reversals more easily than with regular candlestick charts. This is particularly useful when backtesting in TradingView's "Rewind" mode, as you can see how the Heikin Ashi candles behaved at each step of the strategy.
Buy and sell signals are generated based on two factors:
1. The crossing over or under of the Heikin Ashi close price and the 75th percentile price level.
2. The Heikin Ashi close price being above certain moving averages.
You have the flexibility to adjust several parameters in the script, including:
1. The stop loss and trailing stop percentages (`stopLossPercentage` and `trailStopPercentage`). These parameters allow the strategy to exit trades if the price moves against you by a certain percentage.
2. The lookback period (`lookback`) used to calculate percentile levels. This determines the range of past bars used in the percentile calculation.
3. The lengths of the two moving averages (`yellowLine_length` and `purplLine_length`). These determine how sensitive the moving averages are to recent price changes.
4. The minimum holding period (`holdPeriod`). This sets the minimum number of bars that a trade must be kept open before it can be closed.
Please adjust these parameters according to your trading preferences and risk tolerance. Happy trading!
Comparison with BTC (RSI)显示当前品种与BTC汇率对的RSI值
以此判断强势或弱势品种以及超买超卖
——————————
Display the RSI value of the exchange rate between the current variety and BTC
Use this to determine strong or weak varieties, as well as overbought and oversold
Connors RSI (ValueRay)In compare to Tradingview Connors RSI, in this one you can choose which of the parts of the CRSI you want see:
RSI
Connors RSI
Up/Down RSI
Percent Rank
The Connors RSI is a technical indicator developed by Larry Connors. It combines three different elements - price momentum, relative strength, and mean reversion - to identify potential buy and sell signals. The indicator measures the level of overbought or oversold conditions in a security, aiming to generate signals for short-term trading opportunities. It is widely used by traders to assess the strength and direction of price movements and to identify potential entry and exit points in the market.
Composite RSIOne issue with the famouse RSI indicator is that it is too sensitive in some cases and thus, might give false signals if we are eager to use those signals.
If we increase the length of the RSI, it might give too few signals which is not ideal as well.
This Composite RSI indicator was created to utilize the RSI strength, using 3 RSIs (with different length) in combination to give less signal than the original one.
You can use it like a normal RSI indicator:
- Try to find the entry when the RSI is in the overbought (RSI >= 70) and oversold (RSI <= 30) areas
- Use bullish divergence and bearish divergence on the RSI itself to signal your trade
In the example chart, I included a built-in RSI as well so you that you can compare the original one and the Composite RSI indicator.
Some extra features:
- Simple bullish and bearish divergences detection.
- Mark the RSI with green circle(s) when it is extremely overbought (over 80) and oversold (under 20)
Probability Trend IndicatorUnderstanding the Indicator:
The indicator calculates the probabilities of upward and downward trends based on the percentage change in price over a specified lookback period.
It displays these probabilities in a table and plots a histogram to represent the difference between the probabilities.
The colors of the histogram bars indicate the trend direction and whether the trend is increasing or decreasing.
Setting the Lookback Period:
The indicator allows you to specify the lookback period, which determines the number of bars to consider for calculating the probabilities.
By default, the lookback period is set to 50 bars. However, you can adjust it based on your trading preferences and the timeframe you're analyzing.
Analyzing the Probabilities:
The indicator calculates the probabilities of upward and downward trends and displays them in a table on the chart.
The probabilities are presented as percentages, representing the likelihood of each type of trend occurring.
You can use these probabilities to gain insights into the potential market direction and assess the strength of the prevailing trend.
Interpreting the Histogram:
The histogram is plotted based on the difference between the probabilities of upward and downward trends, known as the oscillator value.
The histogram bars are colored to provide visual cues about the trend direction and whether the trend is gaining or losing strength.
Green bars indicate upward trends, and red bars indicate downward trends.
Lighter shades of green or red suggest increasing trends, while darker shades suggest decreasing trends.
Making Trading Decisions:
The indicator serves as a tool for assessing the probabilities of trends and can be used alongside other technical analysis methods.
You can consider the probabilities, the histogram pattern, and the overall market context to make informed trading decisions.
It's important to remember that no indicator or tool can guarantee future market movements, so prudent risk management and additional analysis are essential.
RSI Primed [ChartPrime]
RSI Primed combines candlesticks, patterns, and the classic RSI indicator for advanced market trend indications
Introduction
Technical traders are always looking for innovative methods to pinpoint potential entry and exit points in the market. The RSI Prime indicator provides such traders with an enhanced view of market conditions by combining various charting styles and the Relative Strength Index (RSI). It offers users a unique perspective on the market trends and price momentum, enabling them to make better-informed decisions and stay ahead of the market curve.
The RSI Primed is a versatile indicator that combines different charting styles with the Relative Strength Index (RSI) to help traders analyze market trends and price momentum. It offers multiple visualization modes that serve specific purposes and provide unique insights into market performance:
Regular Candlesticks
Candlesticks with Patterns
Heikin Ashi Candles
Line Style
Regular Candlestick Mode
The Regular Candlestick Mode in RSI Primed depicts traditional Japanese candlesticks that most traders are familiar with. This mode bypasses any smoothing or modified calculations, representing real-price movements. Regular candlesticks offer a clear and straightforward way to visualize market trends and price action.
Candlestick with Patterns Mode
The Candlestick with Patterns Mode focuses on identifying high-probability candlestick patterns while incorporating RSI values. By leveraging the information captured by the RSI, this mode allows traders to spot significant market reversals or continuation patterns that could signal potential trading opportunities. Some recognizable patterns include engulfing bullish, engulfing bearish, morning star bullish, and evening star bearish patterns.
Heikin Ashi Candles Mode
The Heikin Ashi Candles Mode presents an advanced candlestick charting technique known for its excellent trend-following capabilities. Heikin Ashi Candles filter out noise in the market and provide a clear representation of market trends. In this mode, candlesticks are plotted based on RSI values of the open, high, low, and close prices, helping traders understand and utilize market trends effectively.
Line Style Mode
The Line Style Mode offers a simpler and minimalistic representation of the RSI values by using a line instead of candlesticks to visualize market trends. This mode helps traders focus on the overall trend direction and eliminates potential distractions caused by the complexity of candlestick patterns.
Candle Color Overlay Mode
The Candle Color Overlay Mode is a unique feature in the RSI Primed indicator that allows traders to visualize the RSI values on the chart's candles as a heat gradient. This mode adds a color overlay to the candlesticks, representing the RSI values in relation to the candlesticks' price action.
By displaying the RSI as a color gradient, traders can quickly assess market momentum and identify overbought or oversold conditions without having to switch between different modes or charts. The gradient ranges from cool colors (blue and green) for lower RSI values, indicating oversold conditions, to warm colors (orange and red) for higher RSI values, signifying overbought situations.
To enable the Candle Color Overlay Mode, traders can toggle the "Color Candles" option in the indicator settings. Once enabled, the color gradient will be applied to the candlesticks on the chart, providing a visually striking and informative representation of the RSI values in relation to price action. This mode can be used in tandem with any of the other charting styles, allowing traders to gain even more insights into market trends and momentum.
RSI Primed Implementation
The RSI Primed indicator combines the benefits of various charting styles with the RSI to help traders gain a comprehensive view of market trends and price momentum. It incorporates the Heikin Ashi and RSI values as inputs to generate several visualization modes, enabling traders to select the one that best suits their needs.
Chebyshev Digital Audio Filter in RSI Primed Indicator
A unique feature of the RSI Primed Indicator is the incorporation of the Chebyshev Digital Audio Filter, a powerful tool that significantly influences the indicator's accuracy and responsiveness. This signal processing method brings several benefits to the context of the RSI indicator, improving its performance and capabilities.
1. Improved Signal Filtering
The Chebyshev filter excels in its ability to remove high-frequency noise and unwanted signals from the RSI data. While other filtering techniques might introduce unwanted side effects or distort the RSI data, the Chebyshev filter accurately retains the main signal components, enhancing the RSI Primed's overall accuracy and reliability.
2. Faster Response Time
The Chebyshev filter offers a faster response time than most other filtering techniques. In the context of the RSI Primed Indicator, this means that the filtering process is quicker and more efficient, allowing traders to act swiftly during rapidly changing market conditions.
3. Enhanced Trend Detection
By effectively removing noise from the RSI data, the Chebyshev filter contributes to the enhanced detection of underlying market trends. This feature helps traders identify potential entry and exit points more accurately, improving their overall trading strategy and performance.
How to Use RSI Primed
Traders can choose from different visualization modes to suit their preferences while using the RSI Primed indicator. By closely monitoring the chosen visualization mode and the position of the moving average, traders can make informed decisions about market trends.
Green candlesticks or an upward line slope indicate a bullish trend, and red candlesticks or a downward line slope suggest a bearish trend. If the candles or line are above the moving average, it could signify an uptrend, whereas a position below the moving average may indicate a downtrend.
The RSI Primed indicator offers a unique and comprehensive perspective on market trends and price momentum by combining various charting styles with the RSI. Traders can choose from different visualization modes and make well-informed decisions to capitalize on market opportunities. This innovative indicator provides a clear and concise view of the market, enabling traders to make swift decisions and enhance their trading results.
RSI of Zero Lag MA (ValueRay)The RSI of a Zero Lag Moving Average a powerful tool for for reliable exit signals.
The Relative Strength Index (RSI) is a widely recognized momentum oscillator that measures the speed and change of price movements. It provides valuable insights into overbought and oversold conditions, enabling traders to identify potential reversal points and take advantage of market inefficiencies.
The RSI of a Zero Lag Indicator takes this concept a step further by incorporating the Zero Lag Moving Average. The Zero Lag Moving Average is a cutting-edge indicator that minimizes lag and provides a smoother representation of price action, allowing for quicker and more precise responses to market movements.
By combining the RSI with the Zero Lag Moving Average, this indicator offers traders a superior exit strategy. When the RSI reaches extreme levels of overbought or oversold conditions, it indicates a potential reversal in the market. The Zero Lag Moving Average further enhances this signal by reducing delays and providing timely exit points.
Moreover, the RSI of a Zero Lag Indicator is not limited to mean reversion strategies. While it excels in identifying mean reversion opportunities, it can also be used in conjunction with other trading approaches. Traders can take advantage of its objective signals to exit trades profitably, regardless of their chosen strategy.
With its ability to accurately pinpoint overbought and oversold conditions, the RSI of a Zero Lag Indicator offers traders a competitive edge in the market. By providing timely exit signals and minimizing lag, it helps traders optimize their trading decisions and increase their chances of success.
Multi-Divergence Buy/Sell IndicatorThe "Multi-Divergence Buy/Sell Indicator" is a technical analysis tool that combines multiple divergence signals from different indicators to identify potential buy and sell opportunities in the market. Here's a breakdown of how the indicator works and how to use it:
Input Parameters:
RSI Length: Specifies the length of the RSI (Relative Strength Index) calculation.
MACD Short Length: Specifies the short-term length for the MACD (Moving Average Convergence Divergence) calculation.
MACD Long Length: Specifies the long-term length for the MACD calculation.
MACD Signal Smoothing: Specifies the smoothing length for the MACD signal line calculation.
Stochastic Length: Specifies the length of the Stochastic oscillator calculation.
Stochastic Overbought Level: Defines the overbought level for the Stochastic oscillator.
Stochastic Oversold Level: Defines the oversold level for the Stochastic oscillator.
Calculation of Indicators:
RSI: Calculates the RSI based on the specified RSI Length.
MACD: Calculates the MACD line, signal line, and histogram based on the specified MACD parameters.
Stochastic: Calculates the Stochastic oscillator based on the specified Stochastic parameters.
Divergence Detection:
RSI Divergence: Identifies a bullish divergence when the RSI crosses above its 14-period simple moving average (SMA).
MACD Divergence: Identifies a bullish divergence when the MACD line crosses above the signal line.
Stochastic Divergence: Identifies a bullish divergence when the Stochastic crosses above its 14-period SMA.
Buy and Sell Conditions:
Buy Condition: Triggers a buy signal when all three divergences (RSI, MACD, and Stochastic) occur simultaneously.
Sell Condition: Triggers a sell signal when both RSI and MACD divergences occur, but Stochastic divergence does not occur.
Plotting Buy/Sell Signals:
The indicator plots green "Buy" labels below the price bars when the buy condition is met.
It plots red "Sell" labels above the price bars when the sell condition is met.
Usage:
The indicator can be used on any timeframe and for any trading instrument.
Look for areas where all three divergences (RSI, MACD, and Stochastic) align to generate stronger buy and sell signals.
Consider additional technical analysis and risk management strategies to validate the signals and manage your trades effectively.
Remember, no indicator guarantees profitable trades, so it's essential to use this indicator in conjunction with other tools and perform thorough analysis before making trading decisions.
Feel free to ask any questions
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...
Fib top and bottom Hunter - No Repaint "Top and bottom Hunter" indicator combines two popular technical analysis tools, Fibonacci retracement levels and the Relative Strength Index (RSI), to identify potential trading opportunities in the market.
Fibonacci retracement levels are based on the Fibonacci sequence, a mathematical series where each number is the sum of the two preceding ones. In trading, Fibonacci retracement levels are used to identify potential support and resistance levels based on the recent price action. The indicator uses two Fibonacci levels, fib_0 and fib_1, which are typically set to 0.382 and 0.618, respectively. These levels represent common retracement ratios.
To calculate the Fibonacci levels, the indicator considers the highest and lowest prices within a specified range, typically the highest and lowest of the last two bars. It calculates the fib_range, which is the difference between the highest and lowest prices. Then, fib_level_0 and fib_level_1 are determined by subtracting the Fibonacci ratios from the highest price.
The RSI is a momentum oscillator that measures the speed and change of price movements. It helps identify overbought and oversold conditions in the market. The RSI parameters used in this indicator are rsi_length (length of the RSI calculation), rsi_overbought (upper threshold indicating overbought conditions), and rsi_oversold (lower threshold indicating oversold conditions). The RSI value is calculated based on the closing prices.
The indicator generates buy and sell signals based on specific conditions:
Buy Condition: A buy signal is triggered when the RSI crosses above the oversold level (rsi_oversold) and the closing price is higher than fib_level_1. This indicates a potential reversal or bounce from the Fibonacci support level.
Sell Condition: A sell signal is triggered when the RSI crosses below the overbought level (rsi_overbought) and the closing price is lower than fib_level_0. This suggests a potential reversal or pullback from the Fibonacci resistance level.
In summary, this indicator combines the power of Fibonacci retracement levels and the RSI to identify potential trading opportunities. It helps traders find confluence between the Fibonacci support or resistance levels and the RSI readings, indicating potential trend reversals or bounces. Traders can use this information to make informed decisions about entering or exiting positions in the market.
Feel free to change the settings for what works best for you and use this with other confluences. I personally use RSI overbought and oversold values as 80 and 20
D-BoT Alpha Volume SpikeHello traders, Let me explain the code and provide an example of how to trade using this indicator.
The code you provided is a Pine Script indicator that combines multiple technical indicators, such as Supertrend, ADX, RSI, and MFI, to generate buy and sell signals. Here's a breakdown of the code:
User Settings:
The user can adjust parameters like overbought_limit, oversold_limit, volume_multiplier, volume_ma_length, volume_spike_multiple, lookback_period, and use_extremities_confirmation according to their preference.
Calculate Supertrend:
The Supertrend indicator is calculated using three different ATR lengths (supertrend_atr_period1, supertrend_atr_period2, supertrend_atr_period3) and corresponding factors (supertrend_factor1, supertrend_factor2, supertrend_factor3).
The supertrend_value1, supertrend_value2, and supertrend_value3 represent the Supertrend values, while trend_direction1, trend_direction2, and trend_direction3 indicate the trend direction (negative for downtrend, positive for uptrend).
Candle calculations:
The high and low values are checked to identify bullish and bearish candles based on specific conditions.
Volume Spikes:
Volume spikes are detected by comparing the current volume with a median volume over a specified lookback period.
If the volume exceeds a certain multiple of the median volume and the DI+ value is greater than the DI- value, an "up" signal is generated. Similarly, if the DI- value is greater than the DI+ value, a "down" signal is generated.
Additional Filters (RSI and MFI):
Relative Strength Index (RSI) and Money Flow Index (MFI) are used as additional filters.
The RSI and MFI parameters can be adjusted according to the user's preference.
The signals generated by the volume spikes are filtered based on RSI and MFI conditions.
Plotting:
The indicator plots shapes (triangles) to represent buy and sell signals.
The Supertrend lines are plotted using different colors and transparency levels based on the distance from the current price.
The "bodyMiddle" plot is used for filling the area between the Supertrend lines.
Example Trade Scenario:
Let's consider an example trade scenario using this indicator:
When the indicator generates an "up" signal (trendBuy = true), indicating a potential bullish trend, and all the confirmation conditions (RSI, MFI, Supertrend) are met, you can consider opening a long position.
Conversely, when the indicator generates a "down" signal (trendSell = true), indicating a potential bearish trend, and all the confirmation conditions are met, you can consider opening a short position.
Remember, this is just an example, and it's crucial to perform thorough analysis and consider other factors before making trading decisions. It's recommended to backtest the strategy, assess risk management, and apply appropriate position sizing techniques.
Please note that the code provided is a simplified version, and there might be additional factors and considerations specific to your trading strategy that are not included in this code. *******"I have also reviewed the following indicators, and the volume calculation approaches of my friends have been very helpful in creating this indicator: "Volume Spikes " © tradeforopp and "Volume Spikes & Growing Volume Signals With Alerts & Scanner" © FriendOfTheTrend."*******
Stochastic [Tcs] | OSCThis script is an implementation of the stochastic relative strength index (STOCH RSI) indicator
The script takes inputs from the length of the RSI, the source of the data, and parameters for the smoothing of the STOCH RSI.
The STOCH RSI is calculated by first calculating the RSI of the chosen source data, then smoothing it with an exponential moving average. The stochastic oscillator is then applied to the smoothed RSI, and smoothed again to create the final STOCH RSI.
The script also calculates a trigger value using a combination of the STOCH RSI and a volume-weighted moving average. It then plots the STOCH RSI, trigger value, and overbought/oversold levels, and fills the background of the plot based on the relationship between the trigger and STOCH RSI values.
Finally, the script plots buy and sell signals based on crossovers and crossunders of the STOCH RSI and its smoothed version.
The cross signal is stronger than the dots, in both direction and usually the best entries happen when two crosses signal on the level 0(long) or 100(short) appear after a dot signal.
Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
TTP NVT StudioNVT Studio is an indicator that aims to find areas of reversal of the Bitcoin price based on the extreme areas of Network Value Transaction.
Instructions:
- We recommend using it on INDEX:BTCUSD
- Use the daily or weekly timeframe
The indicator works as an oscillator and offers to visualisation modes.
1) Showing the short term oscillations of NVT showing signals in potential areas of reversal.
2) The actual value of NVT displayed. When in green is an area of value and in red when its overextended.
This indicator can be used based on the signals or based on breakouts of trend lines drawn in the oscillator mode.
Red/green dots: signal type 1 - extremes with confirmation, these might trigger late
Yellow/Orange: signal type 2 - extremes without confirmation, might trigger too soon
Hobbiecode - RSI + Close previous dayThis is a simple strategy that is working well on SPY but also well performing on Mini Futures SP500. The strategy is composed by the followin rules:
1. If RSI(2) is less than 15, then enter at the close.
2. Exit on close if today’s close is higher than yesterday’s high.
If you backtest it on Mini Futures SP500 you will be able to track data from 1993. It is important to select D1 as timeframe.
Please share any comment or idea below.
Have a good trading,
Ramón.
Hobbiecode - Five Day Low RSI StrategyThis is a simple strategy that is working well on SPY but also well performing on Mini Futures SP500. The strategy is composed by the followin rules:
1. If today’s close is below yesterday’s five-day low, go long at the close.
2. Sell at the close when the two-day RSI closes above 50.
3. There is a time stop of five days if the sell criterium is not triggered.
If you backtest it on Mini Futures SP500 you will be able to track data from 1993. It is important to select D1 as timeframe.
Please share any comment or idea below.
Have a good trading,
Ramón.
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.
TTP Breaking PointThis signal uses information from BITFINEX:BTCUSDLONGS and BITFINEX:BTCUSDSHORTS to forecast tops and bottoms.
The idea behind is very simple.
We calculate the RSI of the ratio of longs vs shorts and find areas where both the SMA of this RSI and the RSI itself are overextended.
You might notice that the win rate is not high but most of the wins provide a decent move that, if combined with proper risk management, can be used to build profitable strategies.
The signal offers a backtesting stream: 1 for buy and 2 for sell.
Shortly I'll be adding new features including: alerts, support for other symbols, filters, etc.
AlphaTrend - ScreenerScreener version of AlphaTrend indicator:
BUY / LONG when AlphaTrend line crosses above its 2 bars offsetted line, and there would be a green filling between them
SELL / SHORT when AlphaTrend line crosses below its 2 bars offsetted line, and filling would be red then.
Default values:
Coefficient: 1, which is the factor of the trailing ATR value
Common Period: 14, which is the length of ATR MFI and RSI
AlphaTrend default uses MFI in the calculation, and MFI (Money Flow Index) needs the volume data of the chart.
If your chart doesn't have the volume data, please select the "Change Calculation" option to use RSI instead of MFI.
Screener Panel:
You can explore 20 different and user-defined tickers, which can be changed from the SETTINGS (shares, crypto, commodities...) on this screener version.
The screener panel shows up right after the bars on the right side of the chart.
Tickers seen in green are the ones that are in an uptrend, according to AlphaTrend.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers in front of each Ticker indicate how many bars passed after the last BUY or SELL signal of AlphaTrend.
For example, according to the indicator, when BTCUSDT appears in (3) and in GREEN, Bitcoin switched to BUY signal 3 bars ago.
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!