Revolution SMA-EMA DivergenceThis is an MACD inspired indicator and it analyzes the difference between the SMA and EMA using the same time period. Unlike the MACD, it can give you a better understanding of the overall trend. Values above 0 is bullish and below 0 bearish. It consists of two cycles: Black histogram - the long-term cycle and orange histogram - the short-term cycle, as well as timing signal (red line).
M-oscillator
RSI MTF [Market Yogi]The Multi-Time Frame RSI with Money Flow Index and Average is a powerful trading indicator designed to help traders identify overbought and oversold conditions across multiple time frames. It combines the Relative Strength Index (RSI) with the Money Flow Index (MFI) and provides an average value for better accuracy.
The Relative Strength Index (RSI) is a popular momentum oscillator that measures the speed and change of price movements. It oscillates between 0 and 100 and is used to identify overbought and oversold conditions in an asset. By incorporating the RSI across multiple time frames, this indicator offers a broader perspective on market sentiment.
In addition to the RSI, this indicator also includes the Money Flow Index (MFI). The MFI is a volume-based oscillator that measures the inflow and outflow of money into an asset. It takes into account both price and volume, providing insights into the strength and direction of buying and selling pressure.
By combining the RSI and MFI across multiple time frames, traders gain a comprehensive understanding of market dynamics. The indicator allows for comparing the RSI and MFI values across different time frames, enabling traders to identify divergences and potential trend reversals.
Furthermore, this indicator provides an average value of the multi-time frame RSI, offering a consolidated signal that helps filter out noise and enhance the accuracy of trading decisions.
Key Features:
1. Multi-Time Frame RSI: Combines the RSI across different time frames to provide a comprehensive view of market sentiment.
2. Money Flow Index (MFI): Incorporates the MFI to gauge buying and selling pressure based on both price and volume.
3. Average Calculation: Computes the average value of the multi-time frame RSI to generate a consolidated trading signal.
4. Divergence Detection: Enables traders to spot divergences between the RSI and MFI values, indicating potential trend reversals.
5. Overbought and Oversold Levels: Highlights overbought and oversold levels on the RSI, aiding in timing entry and exit points.
The Multi-Time Frame RSI with Money Flow Index and Average is a versatile tool that can be applied to various trading strategies, including trend following, swing trading, and mean reversion. Traders can adjust the time frame settings to suit their preferences and trading style.
Note: It's important to use this indicator in conjunction with other technical analysis tools and indicators to validate signals and make informed trading decisions.
Heikin Ashi ROC Percentile Strategy**User Guide for the "Heikin Ashi ROC Percentile Strategy"**
This strategy, "Heikin Ashi ROC Percentile Strategy", is designed to provide an easy-to-use framework for trading based on the Heikin Ashi Rate of Change (ROC) and its percentiles.
Here's how you can use it:
1. **Setting the Start Date**: You can set the start date for the strategy in the user inputs at the top of the script. The variable `startDate` defines the point from which the script begins executing trades. Simply input the desired date in the format "YYYY MM DD". For example, to start the strategy from March 3, 2023, you would enter `startDate = timestamp("2023 03 03")`.
2. **Adjusting the Midline, Lookback Period, and Stop Loss Level**: The `zerohLine`, `rocLength`, and `stopLossLevel` inputs allow you to adjust the baseline for ROC, the lookback period for the SMA and ROC, and the level at which the strategy stops the loss, respectively. By tweaking these parameters, you can fine-tune the strategy to better suit your trading style or the particular characteristics of the asset you are trading.
3. **Understanding the Trade Conditions**: The script defines conditions for entering and exiting long and short positions based on crossovers and crossunders of the ROC and the upper and lower "kill lines". These lines are defined as certain percentiles of the ROC's highest and lowest values over a specified lookback period. When the ROC crosses above the lower kill line, the script enters a long position; when it crosses below the upper kill line, it exits the position. Similarly, when the ROC crosses below the upper kill line, the script enters a short position; when it crosses above the lower kill line, it exits the position.
In my testing, this strategy performed best on a day and hour basis. However, I encourage you to experiment with different timeframes and settings to see how the strategy performs under various conditions. Remember, there's no one-size-fits-all approach to trading; what works best will depend on your specific circumstances, goals, and risk tolerance.
If you find other useful applications for this strategy, please let me know in the comments. Your feedback is invaluable in helping to refine and improve this tool. Happy trading!
Linear Correlation Coefficient W/ MAs and Significance TestsThis Linear CC takes into account the log-normal distribution of stock prices and performs Pearson correlation on that data set. It also smoothens the results into an easy to read oscillator, and performs a two-tail t-test on the correlation coefficient data (with a = 0.05) to determine the significance of the coefficients. Significant results are shown in a solid yellow color while insignificant results are shown in a dark yellow color (you can eyeball this with a normal LCC by looking at results around -0.5 to +0.5).
Two MAs are provided as well for a quick trend analysis. You can reduce the lookback period, but it defaults to 31 for the sake of statistical standards.
Futures All List / Sell SignalAs of May 2023, there are more than 180 usdt perpetual coins on the binance futures exchange. These coins are included in the indicator in lists of 40. They are sorted instantly in the table from largest to smallest. The sorting style can be changed in the indicator settings. This indicator collects RSI and TSI values at desired values. The result has a maximum value of 600. A value of 600 signals that the price will decrease or remain stable for a certain period of time. Generally, a short can be expected from the closest point to 600. If 3 separate lists are selected by using 3 of these indicators, 120 coins can be analyzed at the same time. Available in all time zones. Examine it in a 3-minute timeframe. The line inside the indicator draws the instantaneous values of the relevant coin.
Bensler COT OscillatorI tried to replicate the indicator I think Jason Shapiro from Crowded Market Report has kind of alluded to on his interviews and YouTube channel. I think I made the default colors on my indicator match Shapiro's. It's best if used in parallel with the indicator CoT-Buschi which is a nice COT indicator that I based my oscillator off of. That way you can see the effect of the oscillator and decide if you like how the time period affects the output. I am a total noob so just in case you think I know what I'm talking about or doing, I don't.
D-BoT Alpha 'Short' SMA and RSI StrategyDostlar selamlar,
İşte son derece basit ama etkili ve hızlı, HTF de çok iyi sonuçlar veren bir strateji daha, hepinize bol kazançlar dilerim ...
Nedir, Nasıl Çalışır:
Strateji, iki ana girdiye dayanır: SMA ve RSI. SMA hesaplama aralığı 200 olarak, RSI ise 14 olarak ayarlanmıştır. Bu değerler, kullanıcı tercihlerine veya geriye dönük test sonuçlarına göre ayarlanabilir.
Strateji, iki koşul karşılandığında bir short sinyali oluşturur: RSI değeri, belirlenen bir giriş seviyesini (burada 51 olarak belirlenmiş) aşar ve kapanış fiyatı SMA değerinin altındadır.
Strateji, kısa pozisyonu üç durumda kapatır: Kapanış fiyatı, takip eden durdurma seviyesinden (pozisyon açıldığından beri en düşük kapanış olarak belirlenmiştir) büyükse, RSI değeri belirlenen bir durdurma seviyesini (bu durumda 54) aşarsa veya RSI değeri belirli bir kar al seviyesinin (bu durumda 32) altına düşerse.
Güçlü Yönleri:
İki farklı gösterge (SMA ve RSI) kullanımı, yalnızca birini kullanmaktan daha sağlam bir sinyal sağlayabilir.
Strateji, karları korumaya ve fiyat dalgalanmalarında kayıpları sınırlamaya yardımcı olabilecek bir iz süren durdurma seviyesi içerir.
Script oldukça anlaşılır ve değiştirmesi nispeten kolaydır.
Zayıf Yönleri:
Strateji, hacim, oynaklık veya daha geniş piyasa eğilimleri gibi diğer potansiyel önemli faktörleri göz önünde bulundurmaz.
RSI seviyeleri ve SMA süresi için belirli parametreler sabittir ve tüm piyasa koşulları veya zaman aralıkları için optimal olmayabilir.
Strateji oldukça basittir. Trade maliyetini (kayma veya komisyonlar gibi) hesaba katmaz, bu da trade performansını önemli ölçüde etkileyebilir.
Bu Stratejiyle Nasıl İşlem Yapılır:
Strateji, short işlemler için tasarlanmıştır. RSI, 51'in üzerine çıktığında ve kapanış fiyatı 200 periyotluk SMA'nın altında olduğunda işleme girer. RSI, 54'ün üzerine çıktığında veya 32'nin altına düştüğünde veya fiyat, pozisyon açıldığından beri en düşük kapanış fiyatının üzerine çıktığında işlemi kapatır.
Lütfen Dikkat, bu strateji veya herhangi bir strateji izole bir şekilde kullanılmamalıdır. Tüm bu çalışmalar eğitsel amaçlıdır. Yatırım tavsiyesi içermez.
This script defines a trading strategy based on Simple Moving Average (SMA) and the Relative Strength Index (RSI) indicators. Here's an overview of how it works, along with its strengths and weaknesses, and how to trade using this strategy:
How it works:
The strategy involves two key inputs: SMA and RSI. The SMA length is set to 200, and the RSI length is set to 14. These values can be adjusted based on user preferences or back-testing results.
The strategy generates a short signal when two conditions are met: The RSI value crosses over a defined entry level (set at 51 here), and the closing price is below the SMA value.
When a short signal is generated, the strategy opens a short position.
The strategy closes the short position under three conditions: If the close price is greater than the trailing stop (which is set as the lowest close since the position opened), if the RSI value exceeds a defined stop level (54 in this case), or if the RSI value drops below a certain take-profit level (32 in this case).
Strengths:
The use of two different indicators (SMA and RSI) can provide a more robust signal than using just one.
The strategy includes a trailing stop, which can help to protect profits and limit losses as the price fluctuates.
The script is straightforward and relatively easy to understand and modify.
Weaknesses:
The strategy doesn't consider other potentially important factors, such as volume, volatility, or broader market trends.
The specific parameters for the RSI levels and SMA length are hard-coded, and may not be optimal for all market conditions or timeframes.
The strategy is very simplistic. It doesn't take into account the cost of trading (like slippage or commissions), which can significantly impact trading performance.
How to trade with this strategy:
The strategy is designed for short trades. It enters a trade when the RSI crosses above 51 and the closing price is below the 200-period SMA. It will exit the trade when the RSI goes above 54 or falls below 32, or when the price rises above the lowest closing price since the position was opened.
Please note, this strategy or any strategy should not be used in isolation. It's important to consider other aspects of trading such as risk management, capital allocation, and combining different strategies to diversify. Back-testing the strategy on historical data and demo trading before going live is also a recommended practice.
D-Bot Alpha RSI Breakout StrategyHello dear Traders,
Here is a simple yet effective strategy to use, for best profit higher time frame, such as daily.
Structure of the code
The code defines inputs for SMA (simple moving average) length, RSI (relative strength index) length, RSI entry level, RSI stop loss level, and RSI take profit level. The default values of these variables can be customized as per the user's preferences.
The script calculates SMA and RSI based on the input parameters and the closing price of the asset.
Trading logic
This strategy allows the placement of a long position when:
The RSI crosses above the RSI entry level and
The close price is above the SMA value.
After entering a long position, it applies a trailing stop mechanism. The stop price is updated to the close price if the close price is lower than the last close price.
The script closes the long position when:
RSI falls below the stop loss level.
RSI reaches or exceeds the take profit level.
If the trailing stop is activated (once RSI reaches or exceeds the take profit level), the closing price falls below the trailing stop level.
Strengths
The strategy includes mechanisms for entering a position, taking profit, and stopping losses, which are fundamental aspects of a trading strategy.
It applies a trailing stop mechanism that allows to capture further gains if the price keeps increasing while protecting from losses if the price starts to decrease.
Weaknesses
This strategy only contemplates long positions. Depending on the market situation, the strategy may miss opportunities for short selling when the market is on a downward trend.
The choice of the fixed RSI entry, stop loss, and take profit levels may not be ideal for all market conditions or assets. It might benefit from a more adaptive mechanism that adjusts these levels according to market volatility or trend.
The strategy doesn't factor in trading costs (such as spread or commission), which could have a significant impact on the net profit, especially if the user is trading with a high frequency or in a low liquidity market.
How to trade with this strategy
Given these parameters and the strategy outlined by the code, the trader would enter a long position when the RSI crosses above the RSI entry level (default 34) and the closing price is above the SMA value (SMA calculated with default period of 200). The trader would exit the position when either the RSI falls below the RSI stop loss level (default 30), or RSI rises above the RSI take profit level (default 50), or when the trailing stop is hit.
Remember "The strategies I have prepared are entirely for educational purposes and should not be considered as investment advice. Support your trades using other tools. Wishing everyone profitable trades..."
MACD Normalized [ChartPrime]Overview of MACD Normalized Indicator
The MACD Normalized indicator, serves as an asset for traders seeking to harness the power of the moving average convergence divergence (MACD) combined with the advantages of the stochastic oscillator. This novel indicator introduces a normalized MACD, offering a potentially enhanced flexibility and adaptability to numerous market conditions and trading techniques.
This indicator stands out by normalizing the MACD to its average high and average low, also factoring in the deviation of the high-low position from the mean. This approach incorporates the high and low in the calculations, providing the benefits of stochastic without its common drawbacks, such as clipping problems. As a result, the indicator becomes exceptionally versatile and suitable for various trading strategies, including both faster and slower settings.
The MACD Normalized Indicator boasts a variety of options and settings. The features include:
Enable Ribbon: Toggle the display of the ribbon accompanying the MACD Normalized, as desired.
Fast Length: Determine the movement speed of the fast line to receive advance notice of potential market opportunities.
Slow Length: Control the movement pace of the slow line for smoother signals and a comprehensive outlook on market trends.
Average Length: Specify the length used to calculate the high and low averages, providing greater control over the indicator's granularity.
Upper Deviation: Establish the extent to which the high and low values deviate from the mean, ensuring adaptability to diverse market situations.
Inner Band (Middle Deviation): Adjust the balance between the high and low deviations to create an inner band signal, giving traders a secondary level of market analysis and decision-making support.
Enable Candle Color: Enable the coloring of candles based on the MACD Normalized value for effortless visualization of trading potential.
Use Cases for the MACD Normalized Indicator
In addition to analyzing market trends and identifying potential trading opportunities, ChartPrime's MACD Normalized Indicator offers a range of applications for traders. These use cases encompass distinct trading scenarios and strategies:
Overbought and Oversold Regions
One of the key applications of the MACD Normalized Indicator is identifying overbought and oversold regions. Overbought refers to a situation where an asset's price has risen significantly and is expected to face a downturn, while oversold indicates a price drop that may subsequently lead to a reversal.
By adjusting the indicator's parameters, such as the upper and inner deviation levels, traders can set precise boundaries to determine overbought and oversold areas. When the MACD moves into the upper region, it may signal that the asset is overbought and due for a price correction. Conversely, if the MACD enters the lower region, it possibly indicates an oversold condition with the potential for a price rebound.
Signal Line Crossovers
The MACD Normalized Indicator displays two lines: the fast line and the slow line (inner band). A common trading strategy involves observing the intersection of these two lines, known as a crossover. When the fast line crosses above the slow line, it may signify a bullish trend or a potential buying opportunity. Conversely, a crossover with the fast line moving below the slow line typically indicates a bearish trend or a selling opportunity.
Divergence and Convergence
Divergence occurs when the price movement of an asset does not align with the corresponding MACD values. If the price establishes a new high while the MACD fails to do the same, a bearish divergence emerges, suggesting a potential downtrend. Similarly, a bullish divergence takes place when the price forms a new low but the MACD does not follow suit, hinting at an upcoming uptrend.
Convergence, on the other hand, is represented by the MACD lines moving closer together. This movement signifies a potential change in the trend, providing traders with a timely opportunity to enter or exit the market.
Regularized-Moving-Average Oscillator SuiteThe Regularized-MA Oscillator Suite is a versatile indicator that transforms any moving average into an oscillator. It comprises up to 13 different moving average types, including KAMA, T3, and ALMA. This indicator serves as a valuable tool for both trend following and mean reversion strategies, providing traders and investors with enhanced insights into market dynamics.
Methodology:
The Regularized MA Oscillator Suite calculates the moving average (MA) based on user-defined parameters such as length, moving average type, and custom smoothing factors. It then derives the mean and standard deviation of the MA using a normalized period. Finally, it computes the Z-Score by subtracting the mean from the MA and dividing it by the standard deviation.
KAMA (Kaufman's Adaptive Moving Average):
KAMA is a unique moving average type that dynamically adjusts its smoothing period based on market volatility. It adapts to changing market conditions, providing a smoother response during periods of low volatility and a quicker response during periods of high volatility. This allows traders to capture trends effectively while reducing noise.
T3 (Tillson's Exponential Moving Average):
T3 is an exponential moving average that incorporates additional smoothing techniques to reduce lag and provide a more responsive indicator. It aims to maintain a balance between responsiveness and smoothness, allowing traders to identify trend reversals with greater accuracy.
ALMA (Arnaud Legoux Moving Average):
ALMA is a moving average type that utilizes a combination of linear regression and exponential moving average techniques. It offers a unique way of calculating the moving average by providing a smoother and more accurate representation of price trends. ALMA reduces lag and noise, enabling traders to identify trend changes and potential entry or exit points more effectively.
Z-Score:
The Z-Score calculation in the Regularized-MA Oscillator Suite standardizes the values of the moving average. It measures the deviation of each data point from the mean in terms of standard deviations. By normalizing the moving average through the Z-Score, the indicator enables traders to assess the relative position of price in relation to its mean and volatility. This information can be valuable for identifying overbought and oversold conditions, as well as potential trend reversals.
Utility:
The Regularized-MA Oscillator Suite with its unique moving average types and Z-Score calculation offers traders and investors powerful analytical tools. It can be used for trend following strategies by analyzing the oscillator's position relative to the midline. Traders can also employ it as a mean reversion tool by identifying peak values above user-defined deviations. These features assist in identifying potential entry and exit points, enhancing trading decisions and market analysis.
Key Features:
Variety of 13 MA types.
Potential reversal point bubbles.
Bar coloring methods - Trend (Midline cross), Extremities, Reversions, Slope
Example Charts:
Ultimate Balance StrategyThe Ultimate Balance Oscillator Strategy harnesses the power of the Ultimate Balance Oscillator to deliver a comprehensive and disciplined approach to trading. By combining the insights of the Rate of Change (ROC), Relative Strength Index (RSI), Commodity Channel Index (CCI), Williams Percent Range, and Average Directional Index (ADX) from TradingView, this strategy offers traders a systematic way to navigate the markets with precision.
The core principle of this strategy lies in its ability to identify optimal entry and exit points based on the movement of the Ultimate Balance Oscillator. When the oscillator line crosses below the 0.75 level, a buy signal is generated, indicating a potential opportunity for a bullish trend reversal. Conversely, when the oscillator line crosses above the 0.25 level, it triggers an exit signal, suggesting a possible end to a bullish trend.
Key Features:
1. Objective Market Analysis: The Ultimate Balance Oscillator Strategy provides a disciplined and objective approach to market analysis. By relying on the quantified insights of multiple indicators, it helps traders cut through market noise and focus on key signals, improving decision-making and reducing emotional biases.
2. Enhanced Timing and Precision: This strategy's entry and exit signals are based on the specific thresholds of the Ultimate Balance Oscillator. By waiting for confirmation through the crossing of these levels, traders can potentially enter trades at opportune moments and exit with greater precision, maximizing profit potential and minimizing risk exposure.
3. Customizability and Adaptability: The strategy offers flexibility, allowing traders to customize the parameters to fit their preferred trading style and timeframes. Whether you're a short-term trader or a long-term investor, the Ultimate Balance Oscillator Strategy can be adjusted to suit your specific needs, making it adaptable to various market conditions.
4. Real-time Alerts: Stay informed and never miss a potential trade opportunity with the strategy's built-in alert system. Set personalized alerts for buy and exit signals to receive timely notifications, ensuring you're always aware of the latest developments in the market.
5. Backtesting and Optimization: Before applying the strategy to live trading, it's recommended to conduct thorough backtesting and optimization. By testing the strategy's performance over historical data and fine-tuning the parameters, you can gain insights into its strengths and weaknesses, enabling you to make informed adjustments and increase its effectiveness.
Trading involves risk. Use the Ultimate Balance Oscillator Strategy at your own discretion. Past performance is not indicative of future results.
Ultimate Balance OscillatorIntroducing the Ultimate Balance Oscillator: A Powerful Trading Indicator
Built upon the renowned Rate of Change (ROC), Relative Strength Index (RSI), Commodity Channel Index (CCI), Williams Percent Range, and Average Directional Index (ADX) from TradingView, this indicator equips traders with an unparalleled understanding of market dynamics.
What sets the Ultimate Balance Oscillator apart is its meticulous approach to weighting. Each component is assigned a weight that reflects its individual significance, while carefully mitigating the influence of highly correlated signals. This strategic weighting methodology ensures an unbiased and comprehensive representation of market sentiment, eliminating dominance by any single indicator.
Key Features and Benefits:
1. Comprehensive Market Analysis: The Ultimate Balance Oscillator provides a comprehensive view of market conditions, enabling traders to discern price trends, evaluate momentum shifts, identify overbought or oversold levels, and gauge the strength of prevailing trends. This holistic perspective empowers traders to make well-informed decisions based on a thorough understanding of the market.
2. Enhanced Signal Accuracy: With its refined weighting approach, the Ultimate Balance Oscillator filters out noise and emphasizes the most relevant information. This results in heightened signal accuracy, providing traders with a distinct advantage in identifying optimal entry and exit points. Say goodbye to unreliable signals and welcome a more precise and dependable trading experience.
3. Adaptability to Various Trading Scenarios: The Ultimate Balance Oscillator transcends the constraints of specific markets or timeframes. It seamlessly adapts to diverse trading scenarios, accommodating both short-term trades and long-term investments. Traders can customize this indicator to suit their preferred trading style and effortlessly navigate ever-changing market conditions.
4. Simplicity and Ease of Use: The Ultimate Balance Oscillator simplifies trading analysis by providing a single line on the chart. Its straightforward interpretation and seamless integration into trading strategies make decision-making effortless. By observing bullish or bearish crossovers with the moving average, recognizing overbought or oversold levels, and tracking the overall trend of the oscillator, traders can make well-informed decisions with confidence.
5. Real-time Alerts: Stay ahead of the game with the Ultimate Balance Oscillator's customizable alert system. Traders can set up personalized alerts for bullish or bearish crossovers, breaches of overbought or oversold thresholds, or any specific events that align with their trading strategy. Real-time notifications enable timely action, ensuring traders never miss lucrative trading opportunities.
The Ultimate Balance Oscillator is a robust trading companion, empowering traders to make shrewd and calculated decisions. Embrace its power and elevate your trading endeavors to new heights of precision and success. Discover the potential of the Ultimate Balance Oscillator and unlock a world of trading possibilities.
Volume Accumulation Oscillator (VAO)The Volume Accumulation Oscillator (VAO) is a powerful momentum-based indicator designed to assess the strength of volume accumulation in a given asset. It helps traders identify periods of intense buying or selling pressure and potential trend reversals.
The VAO calculates the Net Volume Accumulation (NVA) by considering the volume, open, close, high, and low prices. It then applies exponential moving averages (EMAs) to smooth the NVA and calculates the VAO by comparing the smoothed NVA with its EMA over a specified signal period.
The VAO is plotted as a line chart, providing a clear visual representation of its values. Positive VAO values indicate strong bullish volume accumulation, suggesting potential upward price movement. Conversely, negative VAO values indicate significant selling pressure and the possibility of a downtrend.
To enhance the analysis, the indicator includes reference levels such as the zero line and +/-1 levels. These levels serve as important reference points for interpreting the VAO values and identifying key turning points in the market.
Additionally, the VAO histogram is included, which further illustrates the strength and direction of volume accumulation. The histogram bars are color-coded, with green bars representing positive VAO values and red bars representing negative VAO values.
The Volume Accumulation Oscillator is a versatile tool that can be used in various trading strategies. Traders can look for divergences between the VAO and the price chart to identify potential trend reversals. Combining the VAO with other technical analysis techniques can provide valuable insights into market dynamics and help traders make informed trading decisions.
Note: It is recommended to customize the indicator's parameters and conduct thorough backtesting to align it with your specific trading strategy and preferences before using it for live trading.
Disclaimer: This indicator is provided for educational and informational purposes only. Trading involves risks, and it is important to exercise caution and conduct your own analysis before making any investment decisions.
David Varadi Intermediate OscillatorThe David Varadi Intermediate Oscillator (DVI) is a composite momentum oscillator designed to generate trading signals based on two key factors: the magnitude of returns over different time windows and the stretch, which measures the relative number of up versus down days. By combining these factors, the DVI aims to provide a reliable and objective assessment of market trends and momentum.
Methodology:
To calculate the DVI, a specific formula is applied. The magnitude component involves averaging smoothed returns over various lengths, weighted according to user-defined parameters. This calculation helps determine the magnitude of price changes. The stretch component follows a similar process, averaging smoothed returns over different lengths to gauge market momentum. Users have the flexibility to adjust the weights and lengths to suit their trading preferences and styles.
Utility:
The DVI offers versatility in its applications. It can be used for both momentum trading and trend analysis due to its smooth and consistent signals. Unlike some other oscillators, the DVI provides longer and uncorrelated signals, allowing traders to effectively combine trend-following and mean-reversion strategies. For example, the DVI is adept at identifying overbought levels above the 200-day moving average, serving as a useful tool for determining exit points during price strength and even potential shorting opportunities. Traders can develop simple trading systems based on the DVI, buying above the 200-day moving average and selling when the DVI exceeds a specified threshold. Conversely, they can consider short positions below the 200-day moving average and cover when the DVI falls below a specific threshold. The DVI's objective approach to analyzing market momentum makes it a valuable resource for traders seeking to identify trading opportunities.
Key Features:
Bar coloring: based on Trend, Extremeties or Reversions
Reversions: Potential reversal points marked with triangles above\below oscillator
Extremity Hues: Highlighting oxcillator reaching traditional OB\OS levels
Example Charts:
Williams %R Strategy
The Williams %R Strategy is a trading approach that is based on the Williams Percent Range indicator, available on the TradingView platform.
This strategy aims to identify potential overbought and oversold conditions in the market, providing clear buy and sell signals for entry and exit.
The strategy utilizes the Williams %R indicator, which measures the momentum of the market by comparing the current close price with the highest high and lowest low over a specified period. When the Williams %R crosses above the oversold level, a buy signal is generated, indicating a potential upward price movement. Conversely, when the indicator crosses below the overbought level, a sell signal is generated, suggesting a possible downward price movement.
Position management is straightforward with this strategy. Upon receiving a buy signal, a long position is initiated, and the position is closed when a sell signal is generated. This strategy allows traders to capture potential price reversals and take advantage of short-term market movements.
To manage risk, it is recommended to adjust the position size based on the available capital. In this strategy, the position size is set to 10% of the initial capital, ensuring proper risk allocation and capital preservation.
It is important to note that the Williams %R Strategy should be used in conjunction with other technical analysis tools and risk management techniques. Backtesting and paper trading can help evaluate the strategy's performance and fine-tune the parameters before deploying it with real funds.
Remember, trading involves risks, and past performance is not indicative of future results. It is always advised to do thorough research, seek professional advice, and carefully consider your financial goals and risk tolerance before making any investment decisions.
Relative Strength, not RSIThe Smoothed Relative Strength Indicator (not RSI) with Multi-Timeframe Support is a custom indicator that combines the concepts of Relative Strength (not RSI) and Money Flow Index (MFI) to create a smoothed trend-following tool. It works on any timeframe and adapts to different market conditions.
Key Features:
Multi-timeframe support: [ The script uses the request.security function to fetch data from other timeframes, allowing users to analyze the trend on different timeframes simultaneously.
Relative Strength calculation: The script calculates the Relative Strength (not RSI) by averaging the gains and losses over a user-defined period (len).
Money Flow Index calculation: The script calculates the Money Flow Index (MFI) by considering both price and volume data. The MFI is an oscillator that ranges between 0 and 100, and it helps identify overbought or oversold conditions in the market.
Combination of Relative Strength and MFI:The indicator calculates the average of Relative Strength and MFI values to create the Trend Reversal Strength (TRS) line.
Smoothing the TRS line: The TRS line is smoothed using a Simple Moving Average (SMA) with a user-defined smoothing length (smoothLen). This helps to reduce noise and make the trend more readable.
Trend color determination: The script determines the trend color based on the slope of the smoothed TRS line. If the current value of the smoothed TRS line is higher than the previous one, the line is colored green (uptrend). If the current value is lower than the previous one, the line is colored red (downtrend).
Visual representation of trend changes: The indicator plots small circles at points where the trend color changes, making it easier to identify potential trend reversal points.
Zero line: The script draws a horizontal line at the zero level to help users gauge the market's strength or weakness relative to this level.
Usage:
This indicator can be used as a trend-following tool to identify potential entry and exit points in the market. When the smoothed TRS line is green and rising, it suggests a bullish trend, and traders may consider entering long positions. Conversely, when the smoothed TRS line is red and falling, it indicates a bearish trend, and traders may consider short positions or exiting long trades.
Please note that this indicator should be used in conjunction with other technical analysis tools and proper risk management techniques to improve the accuracy of your trading decisions.
Composite MomentumComposite Momentum Indicator - Enhancing Trading Insights with RSI & Williams %R
The Composite Momentum Indicator is a powerful technical tool that combines the Relative Strength Index (RSI) and Williams %R indicators from TradingView. This unique composite indicator offers enhanced insights into market momentum and provides traders with a comprehensive perspective on price movements. By leveraging the strengths of both RSI and Williams %R, the Composite Momentum Indicator offers distinct advantages over a simple RSI calculation.
1. Comprehensive Momentum Analysis:
The Composite Momentum Indicator integrates the RSI and Williams %R indicators to provide a comprehensive analysis of market momentum. It takes into account both the strength of recent price gains and losses (RSI) and the relationship between the current closing price and the highest-high and lowest-low price range (Williams %R). By combining these two momentum indicators, traders gain a more holistic view of market conditions.
2. Increased Accuracy:
While the RSI is widely used for measuring overbought and oversold conditions, it can sometimes generate false signals in certain market environments. The Composite Momentum Indicator addresses this limitation by incorporating the Williams %R, which focuses on the price range and can offer more accurate signals in volatile market conditions. This combination enhances the accuracy of momentum analysis, allowing traders to make more informed trading decisions.
3. Improved Timing of Reversals:
One of the key advantages of the Composite Momentum Indicator is its ability to provide improved timing for trend reversals. By incorporating both RSI and Williams %R, traders can identify potential turning points more effectively. The Composite Momentum Indicator offers an early warning system for identifying overbought and oversold conditions and potential trend shifts, helping traders seize opportunities with better timing.
4. Enhanced Divergence Analysis:
Divergence analysis is a popular technique among traders, and the Composite Momentum Indicator strengthens this analysis further. By comparing the RSI and Williams %R within the composite calculation, traders can identify divergences between the two indicators more easily. Divergence between the RSI and Williams %R can signal potential trend reversals or the weakening of an existing trend, providing valuable insights for traders.
5. Customizable Moving Average:
The Composite Momentum Indicator also features a customizable moving average (MA), allowing traders to further fine-tune their analysis. By incorporating the MA, traders can smooth out the composite momentum line and identify longer-term trends. This additional layer of customization enhances the versatility of the indicator, catering to various trading styles and timeframes.
The Composite Momentum Indicator, developed using the popular TradingView indicators RSI and Williams %R, offers a powerful tool for comprehensive momentum analysis. By combining the strengths of both indicators, traders can gain deeper insights into market conditions, improve accuracy, enhance timing for reversals, and leverage divergence analysis. With the added customization of the moving average, the Composite Momentum Indicator provides traders with a versatile and effective tool to make more informed trading decisions.
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! :))
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.
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
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.