ATH Gain PotentialThe indicator quantifies the relative position of a symbol's current closing price in relation to its historical all-time high (ATH).
By evaluating the ratio between the ATH and the present closing price, it provides an analytical framework to estimate the potential gains that could accrue if the symbol were to revert to its ATH from a specified reference point. The ratio serves as a quantitative measure for assessing the distance between the current market value and the symbol's historical peak, enabling investors to gauge the prospective profitability of a return to the ATH.
Oscillaltor
Fibonacci Averages Trend OscillatorOverview:
The Fibonacci Averages Trend Oscillator is a unique technical indicator that leverages Fibonacci numbers to analyze market trends. It calculates the average trend sentiment over periods determined by Fibonacci numbers and smooths the result to create an oscillator.
Key Features:
Uses Fibonacci sequences for trend analysis.
Smooths the trend data to create a clear oscillator.
Offers adjustable oversold and overbought levels for customized analysis.
Inputs:
Max Fib Number: Select the highest Fibonacci number for trend calculation.
Smooth: Adjust the smoothness of the oscillator line.
Using the Oscillator:
A rising oscillator indicates a bullish trend, while a falling oscillator suggests bearish sentiment.
Oversold and overbought levels help identify potential reversal points.
Use the oscillator in conjunction with other indicators for comprehensive market analysis.
Tips for Effective Use:
Adjusting Fibonacci Levels: Experiment with different 'Max Fib Number' settings to find the one that best matches your trading style and the asset's characteristics. Higher Fibonacci numbers consider longer periods, which might be more suitable for long-term trend analysis.
Smoothing Level: The 'Smooth' input helps in reducing noise. A higher smooth level results in a less responsive but smoother line, which can be useful for identifying the overall trend direction.
Interpreting Overbought/Oversold: Watch for the oscillator reaching overbought or oversold levels. These points could signal potential trend reversals or consolidation phases.
Combination with Other Tools: For best results, combine the Fibonacci Averages Trend Oscillator with other technical tools like moving averages, RSI, or MACD to validate the signals and develop a robust trading strategy.
Conclusion:
The Fibonacci Averages Trend Oscillator offers a unique approach to trend analysis by incorporating Fibonacci numbers into its calculation. Its adjustable settings allow for customization to fit various trading styles and market conditions, making it a versatile tool for traders seeking to enhance their technical analysis capabilities.
Fusion: Aroon trend matching with dual thresholds 2Same as previous one, just making the code publicly available.
You set an upper and lower threshold and when both are met a direction is determined.
I use this primarily as a confirmation indicator of a trend.
The addition to the normal Aroon is simply the threshold settings and the visuals. There is even an option to see the length you are using which I find useful when the length is long, say 40+ so you don't forget that it's considerably longer than how it's normally used.
Additionally it defaults to the normal colors we are familar with for up and down (long/short) but you can choose Aroon colors if you wish with just a checkbox.
The length is certainly not optimized so set to whatever suits your needs. The Aroon default is 14, I used 6 for one particular case so that's what it ended up being for this indicator.
I default to a dark theme so if you are using a light theme you may need to change some brightness settings.
Finally, if you find value please do make a comment, give a thumbs up etc.
Enjoy and good luck!
WPO Modified [BackQuant]The Wave Period Oscillator (WPO), developed by Akram El Sherbini, is a sophisticated technical analysis tool that offers traders a dynamic way to interpret market cycles. Its design is inspired by the natural ebb and flow of markets, which often follow cyclical patterns driven by underlying economic, political, and psychological factors. The oscillator's unique contribution to market analysis lies in its ability to smooth out the "noise" inherent in daily price movements, thus providing a clearer view of the market's rhythmic fluctuations over time.
-----> Time Cycle Oscillators' in the IFTA Journal 2018 (page 66 - 77), as found below:
ifta.org
El Sherbini's WPO is grounded in the concept of wave period analysis, which suggests that financial markets move in waves or cycles. The oscillator translates these movements into a visual tool that oscillates above and below a central zero line. Peaks and troughs on the oscillator correspond to the crests and troughs of market price waves, providing a visual representation of the market's heartbeat.
The WPO is not merely a tool for identifying trends but also for detecting shifts in market momentum. It does this through a mathematical model that measures divergence—when the direction of the oscillator deviates from the direction of price movement. Such divergences can be precursors to potential reversals or continuations in the market, offering traders advance notice of significant changes in price direction.
Further refining its utility, the WPO incorporates methods for calculating divergence that are sensitive to the unique conditions of different markets and securities. This includes adjusting for volatility and market velocity, allowing the oscillator to provide relevant signals regardless of the market environment.
In practical terms, traders use the WPO to time their entries and exits with greater precision. When the oscillator shows a high peak or a deep trough, it can signal that a market is potentially overbought or oversold, respectively. The WPO's smoothing property ensures that these signals are not just reactionary to short-term price spikes or drops, but indicative of more substantial, sustained movements.
By providing a more measured and smoothed analysis of market cycles, the WPO helps to filter out insignificant price movements and focus on the ones that matter—those that indicate a significant wave of buying or selling pressure. This can be particularly valuable in the cryptocurrency markets, where volatility is high, and traditional indicators may struggle to provide clear signals.
For traders and analysts alike, the Wave Period Oscillator represents a convergence of technical precision and market psychology. By focusing on the periodic nature of market movements, it aligns traders with the rhythm of the markets, potentially leading to more harmonious trading decisions that are in step with the market's natural waves.
Please see the backtest here:
For more simple terms:
You can use this indicator as a the oscillator
Above 0 for long
Below 0 for short
OR
WPO MA
Above 0 for long
Below 0 for short
Easy To Trade indicatorAbstract
This script evaluates how easy for traders to trade.
This script computes the level that the gains were distributed in many trading days.
We can use this indicator to decide the instruments and the time we trade.
Introduction
Why we think the trading markets are boring?
It is because most of the gains were concentrated in a few trading days.
We look for instruments we can buy at support and sell at resistance frequently and repeatedly.
However, it does not happen usually because it is difficult to find sellers sell at support and buyers buy at resistance.
This script is a method to measure if an instrument is difficult to trade.
If most of the gains were concentrated in a few trading days, this script says it is difficult to trade.
If gains were distributed in many trading days and we can buy low and sell high repeatedly, this script says it is easy to trade.
Therefore, this script measure how difficult for us to trade by the ratio between the area of value and the total gain.
How it works
1. Determine the instruments and time frames we are interested in.
2. Determine how many days this script evaluate the result. This number may depend on how many days from you buy in to you sell out.
3. If the instrument you choose is easy to trade, this script reports higher values.
4. If the instrument is long term bullish, the number "easy to invest" is usually higher than the number "easy to short" .
5. We can consider trade instruments which are easier to trade than others.
6. We can consider wait until the period that it is difficult to trade has past or keep believing that some instruments are easier to trade than others.
Parameters
x_src = The price for each trading day this script use. It may be open , high , low , close or their combination.
x_is_exp = Whether this script evaluate the price movement in exponential or logarithm. You are advised to answer yes if the price changes drastically.
x_period = How many days this script evaluate the result.
Conclusion
With this indicator , we have data to explain how easy or difficult an instrument is for traders . In other words , if we hear some people say the trading markets are boring or difficult for traders , we can use this indicator to verify how accurate their comments are.
With this explainable analysis , we have more knowledge about which instruments and which sessions are relative easy for us to buy low and sell high repeatedly and frequently , we can have better proceeding than buy and hold simply.
Fisher+ [OSC]The Fisher Transform Indicator is classified as an oscillator, meaning that its value swings above and below a central point. This characteristic allows traders to identify overbought and oversold conditions, providing potential clues about market reversals. As mentioned previously, it is an oscillator so the strength of the move is displayed by how long the fisher line stays above/below zero. Indicator can be used to aid in confluence near supply/demand zones.
White Line = Fisher
Red/Blue Line = Moving Average
--Changes color whether fisher line is above/below the MA
Red/Blue Shaded Line = Moving Average
--Changes color based on a smoothing factor
Red/Blue Shaded Fill = Asset in Overbought/Oversold Conditions
Red/Blue Circles = Asset in Extreme Overbought/Oversold Conditions
Red/Blue Triangles = MACD Signals Below/Above "0"
Divergence Labels = Asset Signaling Divergence
The moving average line will turn red/blue as long as the fisher line is below/above the moving average. The shaded MA line will switch colors based on if it is moving in an up/down trend. The MA can also be used as a signal and treated similar to an oscillator. Market trending conditions will either keep the MA below/above the dashed zero line.
MACD code credited to LazyBear's MACD Leader indicator. It is used to filter out/confirm any signals such as divergences. As long as the MACD Leader line is above both the MACD line and signal lines then it'll signal with with a triangle. MACD divergences will be added at a later time.
RSI MTF Panel [xdecow]This indicator shows the RSI of up to 10 different timeframes with various customization options:
Panel position
Panel orientation (vertical/horizontal)
Border width and color
Choose up to 10 time frames with RSI length and source
Background and text colors
Thresholds of overbought, oversold, uptrend, downtrend and no-trend zones to change the color of the RSI
Color debug mode
Hull WavesThe Hull Waves indicator is based on the Hull Moving Averages (HMA), which are special moving averages that stand out for their ability to filter out market noise and offer a clearer view of price trends. Compared to traditional moving averages, HMAs are more responsive yet smoother, allowing traders to capture significant price movements without getting overwhelmed by short-term fluctuations.
The HMAs integrated into Hull Waves provide two distinct perspectives on the price trend:
8-period HMA: This short-term HMA is extremely reactive and closely follows price changes. It is ideal for capturing short-term trading signals while the medium-term 21-period HMA offers a more balanced view of price trends and identifies medium-term trends.
By crossing HMAs, traders can efficiently identify trend reversal points or strong market continuations.
Another feature of the indicator is the “fan” of dynamic lines, which acts as a visual float for price candles, allowing traders to quickly evaluate trading opportunities.
The "fan" or float of dynamic lines represents a visual representation of the candle's price movements. These lines extend from the start point to the end point, like an open fan. This visual approach makes the market dynamics immediately evident.
Strategy:
Long Entry Signal (Buy):
When the Hull Waves range shows a series of upward sloping lines and the Hull Moving Averages (e.g. 8-period HMA) crosses the 21-period HMA upwards, it is a long entry signal.
Confirmation of the signal can come from an increase in trader volume or other supporting indicators.
Place a buy order at the next closing price.
Short Entry Signal (Sell):
When the Hull Waves range shows a series of downward sloping lines and the Hull Moving Averages (e.g. 8-period HMA) crosses the 21-period HMA downward, it is a short entry signal.
Confirm the signal with an increase in trader volume or other relevant indicators.
Place a sell order at the next closing price.
Exit Signal (Closing a Position):
To close a long position, wait for a signal reversal, such as the Hull Moving Averages crossing downwards or a change in the Hull Waves range.
To close a short position, wait for a signal reversal, such as the Hull Moving Averages crossing higher or a change in the Hull Waves range.
Crypto Daily WatchList And Screener [M]
Hi, this is a watchlist and screener indicator designed for traders in the field of cryptocurrencies who want to monitor developments in other currency pairs and indices.
The indicator consists of two tables. One of them is the table containing indices such as BTC dominance, total, total2, which allows you to track market developments and changes. In this table, you will find price information, daily change, stochastic, and trend information.
The other table includes cryptocurrencies like BTC/USDT, ETH/USDT, DOT/USDT, and more. In this table, you will see real-time prices, daily volume, daily change, stochastic, the correlation coefficient between the pair and Bitcoin, and the trend value calculated based on MACD.
The "Customize" section in the settings enables you to personalize the appearance of the tables according to your preferences.
BTC hash rate oscillatorOVERVIEW:
This script looks to identify entry point opportunities when moving averages over Bitcoin's hash rate are indicative of Miner capitulation. The script implements an oscillator based on Charles Capriole's "Hash Ribbons & Bitcoin Bottoms" concept. It analyses the short-term and long-term moving averages of Bitcoin's hash rate and then identifies potential entry opportunities from this.
KEY FEATURES:
Signal Generation: The script identifies entry points when the short-term moving average crosses under the long-term moving average and the rate of change falls below a specified threshold. These conditions suggest potential trading opportunities.
Historical Signals: Optionally the script displays historical signals, indicating past instances where hash rate conditions suggested favourable entry points. Users can also assess the script's historical performance.
USAGE:
The generated opportunities can be used as potential entry points for BTC. The script provides visual cues on the chart (blue labels above the miner capitulation zones) for identification of signals. Customisable moving average lengths and threshold values are supported, which allow adaptation to various strategies.
CONSIDERATIONS:
Validation: It's recommended that careful backtesting over historical data be done before acting on any identified opportunities.
User Discretion: Trading decisions should not rely solely on this script. Users should exercise their judgment and consider market conditions.
Note: This script identifies opportunities based on historical data and should be used with caution, as past performance is not indicative of future results.
Heuristic Bg Color Hodl/swing/scalp [Ox_kali]The "Heuristic BG Color Hodl/Swing/Scalp " is a multi-faceted technical indicator designed to aid traders across varying investment strategies such as long-term holding (Hodl), swing trading, and scalping. Optimized to run on a range of timeframes from seconds to months. Built upon an intricate layering of moving averages, market oscillators. The indicator displays a color range from light green to deep red, based on market conditions. This tool aims to provide an analytical edge by visualizing market conditions in a straightforward manner. Incorporating both trend-following and oscillatory components both trend-following and oscillating components to furnish a more rounded view of the market. Note that this indicator is best used in conjunction with other forms of market analysis and should not be solely relied upon for making trading decisions.
Key Features:
Multiple Moving Averages: Utilizes Fast and Slow MAs to identify trend momentum.
Modified RSI and MFI: Incorporates RSI and MFI to gauge overbought and oversold conditions.
Stoch RSI Indicator: Used to provide additional confirmation for trading signals.
Dynamic Background Color: Highlights potential Buy and Sell zones using background color for easier visual interpretation.
Alert Conditions: Trigger customizable alerts for Buy and Sell zones.
Functionality Analysis:
The script allows you to select the type and period for Fast and Slow moving averages. It uses these MAs to calculate an underlying trend momentum, further refined by a user-defined MA.
The RSI and MFI are used to identify overbought and oversold conditions calculated and smoothed over a user-defined period. The Stoch RSI gives an additional layer of confirmation, allowing traders to identify more reliable trading signals.
The script's main visual feature is the background color, which changes based on potential Buy and Sell zones. It provides two layers for each, enabling traders to understand the strength of the signal. Notably, the indicator is particularly optimized for identifying Buy Zones and is more functional for detecting Sell Zones when applied to larger timeframes.
Trading Application:
The "Heuristic BG Color Hodl/Swing/Scalp" indicator can adapt to various trading styles, from long-term investment to short-term trading. When the background turns green, it signifies a potential Buy Zone, ideal for entering long positions. Conversely, a red background indicates a Sell Zone, suggesting it may be a good time to exit positions or go short.
Traders can also utilize the alert conditions set within the script to receive real-time notifications, making it easier to capitalize on potential market opportunities.
Please note that the "Heuristic BG Color Hodl/Swing/Scalp" by Ox_kali is intended for educational purposes only and does not constitute financial advice. This indicator is not a guarantee of future market performance and should be used alongside proper risk management strategies. Ensure you fully understand the methodology and limitations of this indicator before making any trading decisions. Past performance is not indicative of future results.
Bias of Volume Share inside Std Deviation ChannelThe "Bias of Volume Share inside STD Deviation Channel" indicator is a powerful tool for traders aiming to assess market sentiment within a standard deviation (STD) price channel. This indicator calculates the bullish or bearish bias by analysing the share of volume within the standard deviation channel and provides valuable insights for decision-making.
Usage:
This indicator is a valuable tool for traders seeking to gain in-depth insights into market sentiment within a specified price channel. By focusing on price movements that fall within the standard distribution range and filtering out noise and market manipulations, it provides a clear view of prevailing bullish or bearish biases. Traders can leverage this information to make well-informed trading decisions that align with current market conditions, enhancing their trading strategies and potential for success.
Please ensure you review and adhere to the terms of the Mozilla Public License 2.0, as outlined in the indicator's source code.
Coppock Curve w/ Early Turns [QuantVue]The Coppock Curve is a momentum oscillator developed by Edwin Coppock in 1962. The curve is calculated using a combination of the rate of change (ROC) for two distinct periods, which are then subjected to a weighted moving average (WMA).
History of the Coppock Curve:
The Coppock Curve was originally designed for use on a monthly time frame to identify buying opportunities in stock market indices, primarily after significant declines or bear markets.
Historically, the monthly time frame has been the most popular for the Coppock Curve, especially for long-term trend analysis and spotting the beginnings of potential bull markets after bearish periods.
The signal wasn't initially designed for finding sell signals, however it can be used to look for tops as well.
When the indicator is above zero it indicates a hold. When the indicator drops below zero it indicates a sell, and when the indicator moves above zero it signals a buy.
While this indicator was originally designed to be used on monthly charts of the indices, many traders now use this on individual equities and etfs on all different time frames.
About this Indicator:
The Coppock Curve is plotted with colors changing based on its position relative to the zero line. When above zero, it's green, and when below, it's red. (default settings)
An absolute zero line is also plotted in black to serve as a reference.
In addition to the classic Coppock Curve, this indicator looks to identify "early turns" or potential reversals of the Coppock Curve rather than waiting for the indicator to cross above or below the zero line.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Swing Point Oscillator with Trend Filter [Quantigenics]The "Swing Point Oscillator with Trend Filter" is a sophisticated trading oscillator designed to enhance trading decisions by adapting to market conditions. Oscillators typically signal overbought/oversold market states, often yielding false signals in strong trends. This trend indicator addresses this by implementing a 'Trend Filter' which changes color in strong trends, alerting traders to avoid typical oscillator reversals. In strong trends (when the trend Filter is red), mid-high or mid-low levels can be used for pullback entries. In more neutral markets (when the trend Filter is close to blue), extreme high and low levels (top and bottom) can be used, as a true 'over bought / over sold' oscillator. The oscillator combines components of the Stochastic Oscillator and the CCI, then normalizes the result, providing a unique, adaptive signal. The color-coded lines and Trend Filter offer clear visual cues, making this a comprehensive tool for various market scenarios.
Caution: Always use the indicator in conjunction with other tools and analysis methods to confirm trading decisions. Avoid trading solely based on this indicator.
GOLD 4HR
CL1! 4HR
How to Use:
Swing Point Oscillator: Displays the momentum of the price relative to its recent high and low.
Trend Filter: Highlights the general direction of the market trend.
Zones: Visual representation to categorize oscillator values (Up Zone and Down Zone).
Interpretation:
Oscillator:
When the oscillator moves upward and approaches or enters the Up Zone, it indicates increasing bullish momentum.
When the oscillator moves downward and approaches or enters the Down Zone, it suggests increasing bearish momentum.
Values near the middle (around zero) often indicate indecision or consolidation in the market.
Trend Filter:
A trend filter line above the Mid-High or below the Mid-Low suggests a strong trend.
When the trend filter is between the Mid-High and Mid-Low, it might indicate a weaker or sideways trend.
Its color will change based on its position relative to the zones. For instance, it turns red when indicating a stronger trend.
Zones:
Up Zone: The area between the Top Line and the Mid-High. Indicates strong bullish momentum when the oscillator is within this zone.
Down Zone: The area between the Mid-Low and the Bottom Line. Indicates strong bearish momentum when the oscillator is in this zone.
Trading Tips:
Bullish Scenario: Consider long positions when the oscillator is rising, and the trend filter indicates a strong upward trend.
Bearish Scenario: Consider short positions when the oscillator is falling, and the trend filter indicates a strong downward trend.
Realized Profit & Loss [BigBeluga]The Realized Loss & Profit indicator aims to find potential dips and tops in price by utilizing the security function syminfo.basecurrency + "_LOSSESADDRESSES".
The primary objective of this indicator is to present an average, favorable buying/selling opportunity based on the number of people currently in profit or loss.
The script takes into consideration the syminfo.basecurrency, so it should automatically adapt to the current coin.
🔶 USAGE
Users have the option to enable the display of either Loss or Profit, depending on their preferred visualization.
Examples of displaying Losses:
Example of displaying Profits:
🔶 CONCEPTS
The concept aims to assign a score to the data in the ticker representing the realized losses. This score will provide users with an average of buying/selling points that are better to the typical investor.
🔶 SETTINGS
Users have complete control over the script settings.
🔹 Calculation
• Profit: Display people in profit on an average of the selected length.
• Loss: Display people in loss on an average of the selected length.
🔹 Candle coloring
• True: Color the candle when data is above the threshold.
• False: Do not color the candle.
🔹 Levels
- Set the level of a specific threshold.
• Low: Low losses (green).
• Normal: Low normal (yellow).
• Medium: Low medium (orange).
• High: Low high (red).
🔹 Z-score Length: Length of the z-score moving window.
🔹 Threshold: Filter out non-significant values.
🔹 Histogram width: Width of the histogram.
🔹 Colors: Modify the colors of the displayed data.
🔶 LIMITATIONS
• Since the ticker from which we obtain data works only on the daily timeframe, we are
restricted to displaying data solely from the 1D timeframe.
• If the coin does not have any realized loss data, we can't use this script.
QQE Weighted Oscillator [LuxAlgo]The QQE (Quantitative Qualitative Estimation) Weighted Oscillator improves on its original version by weighting the RSI based on the indications given by the trailing stop, requiring more effort in order for a cross with the trailing stop to occur.
🔶 USAGE
The QQE Weighted Oscillator is comprised of a smoothed RSI oscillator and a trailing stop derived from this same RSI. The oscillator can be used to indicate whether the market is overbought/oversold as well as an early indication of trend reversals thanks to the leading nature of the RSI.
Using higher Factor values will return a longer-term trailing stop.
Like with a regular RSI divergence can be indicative of a reversal.
Further weighting will control how much "effort" is required for the trailing stop to cross the RSI. For example. For example, an RSI above the trailing stop will require a higher degree of negative price variations in order for a potential cross to occur when using higher weights.
This can cause higher weightings to return more cyclical and smoother results.
🔶 SETTINGS
Length: Length of the RSI oscillator.
Factor: Multiplicative factor used for the trailing stop calculation.
Smooth: Degree of smoothness of the RSI oscillator.
Weight: Degree of weighting used for the RSI calculation.
MACD Fake Filter [RH]Introducing a new indicator for the TradingView community based on the MACD indicator! This innovative tool goes beyond traditional MACD signals by analyzing positive and negative waves to determine the average height of the waves to filter false cross-over or cross-under signals during the sideways market.
There are two types of waves created by the MACD line, one is a positive wave above the "zero" line and another is a negative wave below "zero" line. Each wave has peaks. This indicator will find the average height of the positive waves' peaks and plot as a green line(by default). Vice-versa it will also find the average height of the negative waves' peaks and plot as a red line(by default).
Example :
This indicator will show labels when the MACD line crosses-under the MACD signal line above the average height of the positive waves.
Vice-versa, the indicator will show labels when the MACD line crosses-above the MACD signal line below the average height of the negative waves.
Example:
Alerts are also available for these types of cross-over and cross-under.
StDev RSI +Alright, let's dive into this script, which I like to call 'StDev RSI+'. It's a unique take on the classic Relative Strength Index (RSI), a popular tool among traders that helps identify potential overbought or oversold conditions in a stock. But what makes our StDev RSI+ special is how it normalizes price changes against the standard deviation, taking into account the volatility of the stock prices.
The main difference between the original script and this new 'StDev RSI+' script lies in the method of normalization used to calculate price changes. In the original script, the normalization was done using the average of current and previous closing prices. This approach is quite simple and direct, essentially comparing the day-to-day change relative to the average price.
However, the StDev RSI+ script takes a more sophisticated approach. It normalizes the price changes against the standard deviation of the closing prices over a defined period. This method takes into account the volatility of the stock price, providing a measure of how much the prices have been fluctuating during that period.
This means the StDev RSI+ script doesn't just look at the raw change in price, but rather it considers how significant that change is compared to the usual volatility of the stock. So, a big price change may not be considered as significant if the stock is typically very volatile. Conversely, a smaller price change could be seen as more meaningful if the stock is usually quite stable.
Another notable difference is the length of the period used for calculations. While the original script used a period of 14 units (days, weeks, etc.), the StDev RSI+ script uses a period of 153 units. This longer timeframe will smooth out the RSI line and make it less sensitive to individual price changes, but more reflective of longer-term trends.
In essence, while both scripts aim to provide useful trading signals through the RSI, they offer different perspectives. The original script provides a more straightforward, immediate view of price changes, while the StDev RSI+ script offers a volatility-adjusted, longer-term perspective.
RSI +This enhanced RSI script, titled "RSI +", is designed to provide traders with more detailed and nuanced information about market conditions.
// INPUTS
The length input allows you to specify the number of periods used in the RSI calculation, with a default value of 14.
The Source input designates the price used for the calculations, typically the closing price.
// CALCULATIONS + PLOTTING
The RSI itself is then calculated as 50 plus 50 times the ratio of two RMAs (Running Moving Averages) - one of the gain_loss, and another of the absolute value of gain_loss. Both RMAs use the specified length.
This script also plots several horizontal lines (bands) at fixed levels: 70, 60, 50, 40, and 30. These bands help to visually delineate areas of potential overbought (above 70) and oversold (below 30) conditions, as well as median levels. The color of the plotted RSI line changes depending on its relation to these bands and its own simple moving average (Moving_Average), providing an additional visual cue.
----------------------
What sets this script apart from a standard RSI is its unique calculation method. Unlike the traditional RSI, which simply compares the magnitude of recent gains to recent losses, this script incorporates a normalization factor (norm), calculated as the average of the current and previous period's source prices. The gain or loss (gain_loss) is then determined by dividing the change in the source price by this normalization factor. This method can potentially reduce noise and improve accuracy.
Always remember, though, that no indicator should be used in isolation. The best results are often achieved when they're used as part of a comprehensive trading strategy that considers multiple aspects of market analysis. This script, with its unique enhancements, could be used with other technical indicators like Moving Averages to ascertain the direction of the prevailing trend, while volume-based indicators like Volume-Weighted Average Price (VWAP) could provide insights into the strength behind price movements.
RSI MACDDifferent Perspective : By using the RSI as the source for MACD calculation, you are incorporating the RSI's characteristics into the MACD indicator. The RSI measures the speed and change of price movements, while the MACD focuses on the convergence and divergence of moving averages. Combining these two indicators may provide a different perspective on market conditions.
Smoothed MACD : Since the RSI is being used as the source for the MACD calculation, the resulting MACD line (macd1 in the code) may exhibit smoother movements compared to a traditional MACD calculated directly from price data. This smoothing effect could potentially help filter out noise and provide a clearer representation of trend changes.
RSI Confirmation : The RSI is often used to identify overbought and oversold conditions. By incorporating the RSI into the MACD calculation, you can potentially gain additional confirmation when the MACD line crosses above or below zero. For example, if the MACD line crosses above zero and the RSI is in an oversold region, it could provide stronger confirmation for a bullish signal.
Example:
Relative Trend Index (RTI) by Zeiierman█ Overview
The Relative Trend Index (RTI) developed by Zeiierman is an innovative technical analysis tool designed to measure the strength and direction of the market trend. Unlike some traditional indicators, the RTI boasts a distinctive ability to adapt and respond to market volatility, while still minimizing the effects of minor, short-term market fluctuations.
The Relative Trend Index blends trend-following and mean-reverting characteristics, paired with a customizable and intuitive approach to trend strength, and its sensitivity to price action makes this indicator stand out.
█ Benefits of using this RTI instead of RSI
The Relative Strength Index (RSI) and the Relative Trend Index (RTI) are both powerful technical indicators, each with its own unique strengths.
However, there are key differences that make the RTI arguably more sophisticated and precise, especially when it comes to identifying trends and overbought/oversold (OB/OS) areas.
The RSI is a momentum oscillator that measures the speed and change of price movements and is typically used to identify overbought and oversold conditions in a market. However, its primary limitation lies in its tendency to produce false signals during extended trending periods.
On the other hand, the RTI is designed specifically to identify and adapt to market trends. Instead of solely focusing on price changes, the RTI measures the relative positioning of the current closing price within its recent range, providing a more comprehensive view of market conditions.
The RTI's adaptable nature is particularly valuable. The user-adjustable sensitivity percentage allows traders to fine-tune the indicator's responsiveness, making it more resilient to sudden market fluctuations and noise that could otherwise produce false signals. This feature is advantageous in various market conditions, from trending to choppy and sideways-moving markets.
Furthermore, the RTI's unique method of defining OB/OS zones takes into account the prevailing trend, which can provide a more precise reflection of the market's condition.
While the RSI is an invaluable tool in many traders' toolkits, the RTI's unique approach to trend identification, adaptability, and enhanced definition of OB/OS zones can provide traders with a more nuanced understanding of market conditions and potential trading opportunities. This makes the RTI an especially powerful tool for those seeking to ride long-term trends and avoid false signals.
█ Calculations
In summary, while simple enough, the math behind the RTI indicator is quite powerful. It combines the quantification of price volatility with the flexibility to adjust the trend sensitivity. It provides a normalized output that can be interpreted consistently across various trading scenarios.
The math behind the Relative Trend Index (RTI) indicator is rooted in some fundamental statistical concepts: Standard Deviation and Percentiles.
Standard Deviation: The Standard Deviation is a measure of dispersion or variability in a dataset. It quantifies the degree to which each data point deviates from the mean (or average) of the data set. In this script, the standard deviation is computed on the 'close' prices over a specified number of periods. This provides a measure of the volatility in the price over that period. The higher the standard deviation, the more volatile the price has been.
Percentiles: The percentile is a measure used in statistics indicating the value below which a given percentage of observations in a group falls. After calculating the upper and lower trends for the last 'length' periods and sorting these values, the script uses the 'Sensitivity ' parameter to extract percentiles from these sorted arrays. This is a powerful concept because it allows us to adjust the sensitivity of our signals. By choosing different percentiles (controlled through the 'Sensitivity' parameter), we can decide whether we want to react only to extreme events (high percentiles) or be more reactive and consider smaller deviations from the norm as significant (lower percentiles).
Finally, the script calculates the Relative Trend Index value, which is essentially a normalized measure indicating where the current price falls between the upper and lower trend values. This simple ratio is incredibly powerful as it provides a standardized measure that can be used across different securities and market conditions to identify potential trading signals.
Core Components
Trend Data Count: This parameter denotes the number of data points used in the RTI's calculation, determining the trend length. A higher count captures a more extended market view (long-term trend), providing smoother results that are more resistant to sudden market changes. In contrast, a lower count focuses on more recent data (short-term trend), yielding faster responses to market changes, albeit at the cost of increased susceptibility to market noise.
Trend Sensitivity Percentage: This parameter is employed to select the indices within the trend arrays used for upper and lower trend definitions. By adjusting this value, users can affect the sensitivity of the trend, with higher percentages leading to a less sensitive trend.
█ How to use
The RTI plots a line that revolves around a mid-point of 50. When the RTI is above 50, it implies that the market trend is bullish (upward), and when it's below 50, it indicates a bearish (downward) trend. Furthermore, the farther the RTI deviates from the 50 line, the stronger the trend is perceived to be.
Bullish
Bearish
The RTI includes user-defined Overbought and Oversold levels. These thresholds suggest potential trading opportunities when they are crossed, serving as a cue for traders to possibly buy or sell. This gives the RTI an additional use case as a mean-reversion tool, in addition to being a trend-following indicator.
In short
Trend Confirmation and Reversals: If the percentage trend value is consistently closer to the upper level, it can indicate a strong uptrend. Similarly, if it's closer to the lower level, a downtrend may be in play. If the percentage trend line begins to move away from one trend line towards the other, it could suggest a potential trend reversal.
Identifying Overbought and Oversold Conditions: When the percentage trend value reaches the upper trend line (signified by a value of 1), it suggests an overbought condition - i.e., the price has been pushed up, perhaps too far, and could be due for a pullback, or indicating a strong positive trend. Conversely, when the percentage trend value hits the lower trend line (a value of 0), it indicates an oversold condition - the price may have been driven down and could be set to rebound, or indicate a strong negative trend. Traders often use these overbought and oversold signals as contrarian indicators, considering them potential signs to sell (in overbought conditions) or buy (in oversold conditions). If the RTI line remains overbought or oversold for an extended period, it indicates a strong trend in that direction.
█ Settings
One key feature of the RTI is its configurability. It allows users to set the trend data length and trend sensitivity.
The trend data length represents the number of data points used in the trend calculation. A longer trend data length will reflect a more long-term trend, whereas a shorter trend data length will capture short-term movements.
Trend sensitivity refers to the threshold for determining what constitutes a significant trend. High sensitivity levels will deem fewer price movements as significant, hence making the trend less sensitive. Conversely, low sensitivity levels will deem more price movements as significant, hence making the trend more sensitive.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
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.
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.