Sector relative strength and correlation by KaschkoThis script provides a quick overview of the relative strength and correlation of the symbols in a sector by showing a line chart of the close prices on a percent scale with all symbols starting at zero at the left side of the chart. It allows a great deal of flexibility in the configuration of the sectors and symbols in it. The standard preset sectors cover the most important futures markets and their symbols.
However, up to ten sectors with up to ten symbols each can be freely configured. Each sector is defined by a single line that has the following format:
Sector name:Symbol suffix:List of comma separated symbols
For example, the first predefined sector is defined as follows.
Energies:1!:CL,HO,NG,RB
1. The name of the sector is "Energies"
2. The suffix is "1!", i.e., to each symbol in the list "1!" is appended to get the continous future for the given symbol root. When using stock, forex or other symbols, simply leave the suffix empty.
3. The list of comma separated symbols is "CL,HO,NG,RB", i.e. crude oil, heating oil, natural gas and gasoline. As the suffix is "1!", the actual symbols whose prices are shown are "CL1!","HO1!","NG1!" and "RB1!"
You can choose to use settlement-as-close and back-adjusted contracts. The sector can also be determined automatically ("Auto-select"). In this case, it is determined to which sector the symbol currently displayed in the main chart belongs and the script displays it in the context of the other symbols in the sector.
By selecting a suitable chart time frame and time range, you can quickly determine which symbols in the sector are stronger or weaker and which are more or less strongly correlated.
The following symbols are best suited for a quick trial, as the sectors are preset for these:
CL1!,ES1!,6A1!,6B1!,6c1!,6E1!,6J1!,6M1!,6N1!,6S1!,GC1!,GF1!,HE1!,HG1!,HO1!,LBR1!,LE1!,NG1!,NQ1!,PA1!,PL1!,RB1!,SI1!,YM1!,ZB1!,ZC1!,ZF1!,ZL1!,ZM1!,ZN1!,ZO1!,ZR1!,ZS1!,ZT1!,ZW1!,CC1!,CT1!,DX1!,KC1!,OJ1!,SB1!,RTY1!
You can also use the script to compare any symbols (e.g. different shares) with each other. Preferably use the "Custom" sector for this.
Relative
Bollinger RSI BandsIndicator Description:
The "Bollinger RSI Bands" is an advanced technical analysis tool designed to empower traders with comprehensive insights into market trends, reversals, and overbought/oversold conditions. This multifaceted indicator combines the unique features of candle coloration and Bollinger Bands with the Relative Strength Index (RSI), making it an indispensable tool for traders seeking to optimize their trading strategies.
Purpose:
The primary purpose of the "Bollinger RSI Bands" indicator is to provide traders with a holistic view of market dynamics by offering the following key functionalities:
Candle Coloration: The indicator's signature candle colors - green for bullish and red for bearish - serve as a visual representation of the prevailing market trend, enabling traders to quickly identify and confirm market direction.
RSI-Based Moving Average: A smoothed RSI-based moving average is plotted, facilitating the detection of trend changes and potential reversal points with greater clarity.
RSI Bands: Upper and lower RSI bands, set at 70 and 30, respectively, help traders pinpoint overbought and oversold conditions, aiding in timely entry and exit decisions.
Bollinger Bands: In addition to RSI bands, Bollinger Bands are overlaid on the RSI-based moving average, offering insights into price volatility and highlighting potential breakout opportunities.
How to Use:
To maximize the utility of the "Bollinger RSI Bands" indicator, traders can follow these essential steps:
Candle Color Confirmation: Assess the color of the candles. Green candles signify a bullish trend, while red candles indicate a bearish trend, providing a clear and intuitive visual confirmation of market direction.
Overbought and Oversold Identification: Monitor price levels relative to the upper RSI band (70) for potential overbought signals and below the lower RSI band (30) for potential oversold signals, allowing for timely adjustments to trading positions.
Trend Reversal Recognition: Observe changes in the direction of the RSI-based moving average. A transition from bearish to bullish, or vice versa, can serve as a valuable signal for potential trend reversals.
Volatility and Breakout Opportunities: Keep a watchful eye on the Bollinger Bands. Expanding bands signify increased price volatility, often signaling forthcoming breakout opportunities.
Why Use It:
The "Bollinger RSI Bands" indicator offers traders several compelling reasons to incorporate it into their trading strategies:
Clear Trend Confirmation: The indicator's distinct candle colors provide traders with immediate confirmation of the current trend direction, simplifying trend-following strategies.
Precise Entry and Exit Points: By identifying overbought and oversold conditions, traders can make more precise entries and exits, optimizing their risk-reward ratios.
Timely Trend Reversal Signals: Recognizing shifts in the RSI-based moving average direction allows traders to anticipate potential trend reversals and adapt their strategies accordingly.
Volatility Insights: Bollinger Bands offer valuable insights into price volatility, aiding in the identification of potential breakout opportunities.
User-Friendly and Versatile: Despite its advanced features, the indicator remains user-friendly and versatile, catering to traders of all experience levels.
In summary, the "Bollinger RSI Bands" indicator is an indispensable tool for traders seeking a comprehensive view of market dynamics. With its unique combination of candle coloration and Bollinger Bands, it empowers traders to make more informed and strategic trading decisions, ultimately enhancing their trading outcomes.
Note: Always utilize this indicator in conjunction with other technical and fundamental analysis tools and exercise prudence in your trading decisions. Past performance is not indicative of future results.
Laguerre RSI - non repaintingIt seems that the traditional Laguerre* functions repaint due to the gamma parameter.
That goes even for the editorial pick here.
But one could use calculation period instead of "gamma" parameter. This gives us a non-repainting Laguerre RSI fit for scalping trends.
At first glance, I haven't seen anyone do this with a pine script, but I could be wrong because it's not a big deal.
So here is a variation of Laguerre RSI, without repainting. It's a little bit more insensitive, but this is not of great importance, since only the extreme values are used for confirmation.
( * Laguerre RSI is based on John EHLERS' Laguerre Filter to avoid the noise of RSI.)
And if you implement this indicator into a strategy (like I do) I can give you a trick.
Traditionaly the condition is at follows:
LaRSI = cd == 0 ? 100 : cu / (cu + cd)
(this is the final part of the indicator before the plotting)
LongLaguerre= LaRSIupb
It's fine for the short (ot exit long), but for the long is better to make a swich between the CD and CU parameters, as follows:
LaRSI1 = cd == 0 ? 100 : cu / (cu + cd)
LaRSI2 = cu == 0 ? 100 : cu / (cu + cd)
LongLaguerre= LaRSI2upb
Ultimate RSI [LuxAlgo]The Ultimate RSI indicator is a new oscillator based on the calculation of the Relative Strength Index that aims to put more emphasis on the trend, thus having a less noisy output. Opposite to the regular RSI, this oscillator is designed for a trend trading approach instead of a contrarian one.
🔶 USAGE
While returning the same information as a regular RSI, the Ultimate RSI puts more emphasis on trends, and as such can reach overbought/oversold levels faster as well as staying longer within these areas. This can avoid the common issue of an RSI regularly crossing an overbought or oversold level while the trend makes new higher highs/lower lows.
The Ultimate RSI crossing above the overbought level can be indicative of a strong uptrend (highlighted as a green area), while an Ultimate RSI crossing under the oversold level can be indicative of a strong downtrend (highlighted as a red area).
The Ultimate RSI crossing the 50 midline can also indicate trends, with the oscillator being above indicating an uptrend, else a downtrend. Unlike a regular RSI, the Ultimate RSI will cross the midline level less often, thus generating fewer whipsaw signals.
For even more timely indications users can observe the Ultimate RSI relative to its signal line. An Ultimate RSI above its signal line can indicate it is increasing, while the opposite would indicate it is decreasing.
🔹 Smoothing Methods
Users can return more reactive or smoother results depending on the selected smoothing method used for the calculation of the Ultimate RSI. Options include:
Exponential Moving Average (EMA)
Simple Moving Average (SMA)
Wilder's Moving Average (RMA)
Triangular Moving Average (TMA)
These are ranked by the degree of reactivity of each method, with higher ones being more reactive (but less smooth).
Users can also select the smoothing method used by the signal line.
🔶 DETAILS
The RSI returns a normalized exponential average of price changes in the range (0, 100), which can be simply calculated as follows:
ema(d) / ema(|d|) × 50 + 50
where d represent the price changes. In order to put more emphasis on trends we can put higher weight on d . We can perform this on the occurrence of new higher highs/lower lows, and by replacing d with the rolling range instead (the rolling period used to detect the higher highs/lower lows is equal to the length setting).
🔶 SETTINGS
Length: Calculation period of the indicator
Method: Smoothing method used for the calculation of the indicator.
Source: Input source of the indicator
🔹 Signal Line
Smooth: Degree of smoothness of the signal line
Method: Smoothing method used to calculation the signal line.
*Predictive Volume + HTF [Free]*"Predictive Volume + HTF " is a predictor of real-time to near-future volume % change on the current chart and the next highest time frame. The script calculates the volume's % change (Pred Vol) between Current Volume vs. Previous Volume by predicting whether Pred Vol will be higher or lower at the end of the current bar using an "elapsed time" vs "volume so far" concept. This gives the benefit of the most up-to-date information without artificial low/high comparisons when a bar has just formed. For example, it would be common to see -100% in a lot of instances when a new bar is just forming which would be normal because volume at the start of a new candle will generally be lower than where it was when the last bar closed. Where this indicator shines is during this old to new bar formation and the volume that's carried over to the new bar. As a result, it will now be common to see Pred Vol values starting much higher because the calculation is dividing up the bar and analyzing fractions of it instead of the entire bar that would otherwise lead to these incorrect volume % change calculations.
A few examples of Predictive Volume % Change:
In addition, this indicator uses many advanced and dynamic features:
⚡ Matrices that create the table, allowing you to add and remove columns to customize the table to show only the information that's important to you
⚡ View 2 time frames at once - meaning every time you switch time frames, the table will auto-adjust to show the next highest time frame, or "HTF"
⚡ Header function that keeps you aware of the ticker, time frame and session that you're on at all times (can use in lieu of TV's watermark feature, or use together)
⚡ Timer that shows you when a bar will begin/end
⚡ Includes the following popular time frames: 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 1d, week, month
⚡ 3 "bias mode" choices that use Relative Volume (RVOL) from calculations between Current, Previous & Average Volume that provide a visual with varying degrees of color representing buying & selling momentum of your favorite asset. Traders generally have an innate bias when it comes to their trading methodology. Of course it can change quickly depending on current market structure. The script's author created separate modes to account for these biases. One way to utilize the indicator is to use 2 on your chart with 1 Bullish bias \"middle right\" and another Bearish bias \"lower right\" to see if volume pressure is skewed towards your particular bias by showing how many colored boxes there are on each table.
⏩ Standard - 🟢🔴 - displays green and red to depict volume momentum using same RVOL calculations as Bullish & Bearish modes
⏩ Bullish - 🐂🐂 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light blue, green, yellow, light orange, dark orange)
⏩ Bearish - 🐻🐻 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light red to dark purple)
Ex. of all 3 bias modes during a burst of bullish volume momentum:
Ex. of all 3 bias modes during a burst of bearish volume momentum:
⚡ 2 alert types: 1 bullish & 1 bearish with 2 levels for each
⏩ The PREDEFINED ALERTS consist of 2 Bullish & Bearish levels with Lvl 1 designed to be less sensitive than Lvl 2
⏩ Configurable for every time frame, "On Close" or "Each Bar". On Close could be a better choice on lower time frames so that you're not getting a bunch of triggers over a short duration & Each Bar could be a better option for higher time frames so that you don't miss a move mid bar for instance
⏩ Creating a PREDEFINED BULLISH/BEARISH ALERT saves a snapshot of the alert's settings. You can then change the settings and create another alert. In this way, you can create multiple unique alerts
⏩ Create one alert for any alert type (bull and/or bear), for every time frame all at once, or you can create multiple & separate alerts, giving each one a unique name with the time frame that it's for: ex. BTC - Bullish Vol Lvl1 (1m)
In this example, you'll see what causes the alerts to trigger as well as how to create them and how they'll look when they do fire.
////////////////////////////////
It is with a sense of gratitude, appreciation and indebtedness to the coder of this script ©SimpleCryptoLife that I'm able to present this indicator to you after months of hard work. We hope that you find it invaluable during your own trading journey! Should you have any questions, feedback or critiques please do not hesitate to leave a comment.
Enhanced Smoothed RSIThe "Enhanced Smoothed RSI Factor" indicator is a robust technical analysis tool designed to assist traders in identifying potential trends and reversals. This indicator combines elements of the Relative Strength Index (RSI) with a smoothed factor, enhancing its reliability and responsiveness. By visualizing the Enhanced Smoothed RSI Factor alongside the standard RSI and their associated upper and lower bands, traders gain insights into potential overbought and oversold conditions, facilitating more informed trading decisions.
How to Use:
Inputs Configuration : Adjust the indicator's parameters according to your trading preferences. Modify the source data (source) to suit the price data you want to analyze. Set the RSI period (rsiPeriod) for RSI calculations, the moving average period (movingAvgPeriod) for the bands, and the smoothing factor (factor) for enhanced responsiveness.
Enhanced Smoothed RSI Factor : The indicator calculates the Enhanced Smoothed RSI Factor by applying an exponential moving average (EMA) to the RSI values. This factor reflects changes in price momentum.
Comparison with Standard RSI : Observe the Enhanced Smoothed RSI Factor and the standard RSI side by side on your chart. While the standard RSI offers insights into price momentum, the Enhanced Smoothed RSI Factor adds an extra layer of smoothing for potentially clearer trend indications.
Bands and Bar Coloring : The indicator plots upper and lower bands, which are derived from weighted and simple moving averages of the Enhanced Smoothed RSI Factor. The color of the bars changes based on the position of the Enhanced Smoothed RSI Factor relative to the bands. Green bars indicate values above the upper band, red bars indicate values below the lower band, and gray bars indicate values within the bands.
Overbought and Oversold Levels : The indicator provides horizontal lines at levels 140 and 80. When the Enhanced Smoothed RSI Factor crosses above 140, it suggests a potential bullish trend, while crossing below 80 suggests a potential bearish trend. Additionally, levels 200 and 180 indicate overbought conditions, and levels 100 and 80 indicate oversold conditions.
Additional Insights : The indicator's upper and lower bands provide valuable insights into potential trend reversals. When the Enhanced Smoothed RSI Factor crosses above the upper band, it may signal an overextended bullish trend. Conversely, a crossover below the lower band may indicate an overextended bearish trend.
Important Considerations :
This indicator is most effective when used in conjunction with other technical analysis tools and strategies.
It's recommended to avoid making trading decisions solely based on the Enhanced Smoothed RSI Factor. Combine it with other indicators, chart patterns, and fundamental analysis.
Adjust the overbought and oversold levels to align with your trading strategy and the specific market conditions.
Please remember that trading involves risks, and the indicator's signals are not guaranteed. Always conduct thorough research and consider using a practice account before implementing any trading strategy.
relative performanceThis indicator is built to mesure the performance of a stock vs the index of choice. it is best use for the intraday session because it doesn't take gap into account when doing the calculation. This is how i made my math (using AAPL compared to SPY for simplicity)
(change AAPL / ATR AAPL) - (change SPY / ATR SPY) * beta factor * volume factor
change is calculated open to close for each candle instead of close to close. this is why gap does not affect the calculation
blue columns is an instant snap shot of the RP
red and green columns is the moving average of the blue columns
limit is the max value for the blue line when ploting them on the chart but doesn't affect the calculation
option:
indice: default with SPY but could use any stock
moving average choice: let you choose between EMA or SMA green and red columns
rolling average length : number of bar for the moving average
I made an auto adjust for the 5 min chart and the 2 min chart so you can swithc between both chart and have the same average (default value set to 6x 5min and 15x 2 min, giving you the average of the last 30min)
volume weighing let you choose if you want a volume factor or not. volume factor is only going to multiplie the result of the price move. it cannot move it from positive to negative.
this is the calculation
(volume AAPL / volume SMA AAPL) / (volume SPY / volume sma SPY)
meaning that a higher volume on the thicker compared to it's sma while having a lower volume on SPY will give you a big relative performance.
you can choose the number of bar in the average for the volume.
BETA factor work the same way that the volume factor does. you got to manualy enter your beta. default is set to 1.5
table
top line : blue square is you RP value (same has the blue columns bar) and your reference thicker
middle line : pourcentage move from the open (9:30 open) for your stock on the left and the reference on the right
bottom line : beta on the left and volume factor on the right
feel free to ask question or give modification idea!
[TTI] Zanger Volume Ratio - Intraday––––HISTORY & CREDITS 🏦
The Zanger Volume Ratio - Intraday indicator is inspired by the work of Dan Zanger, a renowned trader and creator of the Zanger Volume Ratio tool. This specific adaptation of the ratio is designed for the TradingView platform and focuses on intraday trading. Dan Zanger used this same method of reading the chart to establish a world record in turning HKEX:10 ,775 into HKEX:18 ,000,000 in under 2 years.
––––WHAT IT DOES 💡
The Zanger Volume Ratio - Intraday indicator measures the estimated end-of-day volume percentage based on intraday (depending on the timeframe of your chart) comparisons for the last X days (input in the settings). It provides insights into the stock's trading volume in real-time throughout the trading day, giving traders an idea of the stock's relative volume compared to its recent trading history. For instance if you add it to a 5min chart the ratio represents the estimated end of day volume percent based on the last 3 days, the indicator will compare the cumulative volume of the current day to the X days back cumulative average up to that same point in time and tell you how it is around the thresholds.
The indicator categorizes the volume into five levels: Extreme, High, Average, Light, and Dry Up, each represented by different colors on the chart. It also displays a pace indicator, which shows whether the volume is increasing or decreasing during the trading session.
There is also a label that shows the current reading and its pace. The pace is the indication wether the volume ratio pace is increasing and picking up or it is slowing down.
Thesholds
👉EXTREME (red): >200, means "Volume is 200% of average daily volume
👉HIGH (magenta): 110
👉AVERAGE (peach): 85
👉LIGHT (orange): 60
👉DRY (gray): <60
––––HOW TO USE IT 🔧
To use the Zanger Volume Ratio - Intraday indicator effectively, follow these steps:
1️⃣ Apply the indicator to your TradingView chart with an intraday timeframe (>=1min and less than 1 day).
2️⃣Observe the real-time volume levels and their corresponding categories (Extreme, High, Average, Light, and Dry Up) to understand the current volume dynamics.
3️⃣Keep an eye on the pace indicator (arrows) to see if the volume is increasing or decreasing during the session.
4️⃣Use the information provided by the indicator to confirm trade setups, identify potential breakouts, or detect possible reversals. For example, a stock breaking out of a key area with high or extreme volume and an increasing pace arrow may indicate a strong upward move. Conversely, a stock pulling back on light or dry up volume could signal a continuation of the trend once the volume picks up again.
Remember to combine the Zanger Volume Ratio - Intraday indicator with other technical analysis tools and your own trading strategy to make informed decisions.
Relative Strength Index w/ STARC Bands and PivotsThis is an old script that I use with some useful RSI strategies from "Technical Analysis for the Trading Professional" 2nd edition by Constance Brown.
The base RSI comes with the option for custom length, and has some pre-configured ranges for looking at exits and entrances. The idea is to be bullish when bounces happen in the red zone during an already bullish trend or when the indicator enters green without a rejection. Be bearish if the indicator falls through the red zone or fails to enter green during an already bearish trend.
I have added the formulas used for creating STARC bands (just think fancier volatility bands) with adjustable tolerances. The idea is to look out for when the RSI touches one of the bands and reverses. This is usually indicative of a strong reversal (though the timing will be up to the trader). Best use this on shorter time frames during a volatile time of a stock's price action.
Although a little messy, there is a small segment of the script which includes pivot points. I like to use these because they make indicating local highs/lows for finding divergences easier.
Finally, I have added a couple of customizable EMAS for the RSI itself. Useful when combined with the other features!
RS - Relative Strength ScoreRelative strength (RS) is a measure of a stock's price performance relative to the overall market. It is calculated by dividing the stock's price change over a specified period by the market's price change over the same period. A stock with a high RS has outperformed the market, while a stock with a low RS has underperformed. (Stock can any asset that can be compared to a reference index like as Bitcoin, Altcoins etc ...)
Here are some advantages:
- Provides a measure of a stock's performance relative to a benchmark index or sector, allowing for a more accurate comparison of performance.
- Helps identify stocks with strong price momentum that are likely to continue outperforming the market in the short to medium term.
- Allows investors to identify the strongest performers within a particular sector or industry.
- Provides a quantitative and objective measure of a stock's performance, which can help reduce bias in investment decisions.
- Can be used in conjunction with other technical indicators and chart analysis to identify potentially profitable trades.
- Helps investors make more informed decisions by providing a more comprehensive picture of a stock's performance.
How to use it:
- The indicator can be used in daily and weekly timeframes.
- Check, if the default reference index is suited for your asset (Settings) The default is the combination of S&P500+Nasdaq+Dow Jones. For Crypto, it could be TOTAL (ticker for total stock market), for German stocks it could be DAX.
- Decide (settings), if you want to see the RS based on annual calculation (IBD style) or based only for the last quarter
Color coding:
- Red: Stock is performing worse than index (RS < 0)
- Yellow: Stock get momentum, starting to perform better than index (RS > 0)
- Green: Stock is outperforming the index
- Blue: Stock is a shooting star compared to index
- When RS turns positive and stays there, it could be an indication for an outbreak (maybe into a stage 2)
No financial advise. For education purposes only.
Waddah Attar Explosion with TDI First of all, a big shoutout to @shayankm, @LazyBear, @Bromley, @Goldminds and @LuxAlgo, the ones that made this script possible.
This is a version of Waddah Attar Explosion with Traders Dynamic Index.
WAE provides volume and volatility information. Also, WAE calculation was changed to a full-on MACD, to provide the momentum: the idea is to "assess" which MACD bars have significant momentum (i.e. crossover the Explosion Line)
TDI provides momentum, divergences as well as overbought and oversold areas. There is also a RSI on a different timeframe, for convergence.
Almost everything is editable:
- All moving averages are customizable, including the TRAMA, from @LuxAlgo
Waddah Attar Explosion_
- Three different crossing signals: histogram crossing contracting Explosion Line, expanding Explosion Line and ascending Explosion Line while both Bolling Bands are expanding; Explosion Line shows different color when expanding.
- Explosion line signals: Below DeadZone line and Exhaustion (highest value in a given lookback period). You can set a predefined EPL slope to filter out some noise.
- Deadzone signal : Deadzone squeeze ( lowst value in a given lookback period)
TDI:
- Overbought an Oversold signals. The OB and OS shapes have two colors, in order to display extreme signals on current timeframe or extreme signals on current and different time frame.
- Visual display of RSI outside the Bollinger Bands, and crossing of RSI Moving Average crossing of zero line.
I believe this combination is great for so many reasons!
Like the idea of TTM Squeeze? You can tune the Deadzone and Explosion lines to look for a volatility breakout
Like trading divergences or want to filter out extreme areas? The RSI is great for that
You like the using the MACD strategy but don't like the amount of false signals given? this WAE version filters some of them out.
If you are a Bollinger bands fan, you can customize both indicators to trade breakouts and/or mean reversion strategies, and filter out exhaustion of the bands expansion
This is my first publication, so give it a go and provide feedback if possible.
Relative Performance Comparison among different sectorsThis script shows how money is moving among different sectors using relative-strength of the corresponding sector-specific largest ETFs against MSCI World. Trend and current value of Relative-strength can be used to determine the sector in which you should make your investment at this point, considering the movement in markets.
Black RSI (Pro Suite)Black RSI (Pro Suite) is combination of RSI (Relative Strength Index), Volume RSI, Heikin Ashi RSI & other multi Oscillators with multi features into one indicator, features like (Quad Divergences, Multi Time Frame RSI, MTF RSI Panel, Oscillator Support/Resistance/Wedges/Trendlines, Oscillator Moving Average/BBs, Smooth RSI, RSI Price Estimator, Oscillator Over bought/sold Bars, Osc OB/OS Zones, Osc OB/OS Highlights, additionally Black RSI indicator is flexible & completely customizable).
Indicator goal: I have tried my best to organized RSI & other suitable oscillators and oscillator useful tools into one simple and free indicator for Tradingview users (specifically for Tradingview 'basic' subscription users). suggestions are always welcome. please give feedback & appreciate if you like my work.
Black RSI Indicator Features Summary:
Black RSI indicator includes many features mainly relevant to RSI and other Oscillators, these are briefly highlighted below:
Black RSI Dashboard
Multi Oscillators: Choose between multiple oscillators. All oscillators settings are customizable.
Multi Symbol: Multi Symbol Support, applicable on all oscillators
RSI (Relative Strength Index)
VRSI (Volume Relative Strength Index)
HA RSI (Heikin Ashi Relative Strength Index)
OBV (On Balance Volume)
CVD (Comulative Volume Delta)
MFI (Money Flow Index)
UO (Ultimate Oscillator)
MOM (Momentum Oscillator)
ATR (Average True Range)
Stoch (Stochastic Oscillator)
Stoch RSI (Stochastic RSI)
Oscillator Primary Tools ◢
Oscillator Moving Average/Bollinger Bands
Smooth RSI
Multi Timeframe RSI
Multi Timeframe RSI Panel
RSI Price Estimator
Oscillator Support/Resistance/Wedges/Trendlines
Oscillator Moving Average/BBs: Shows Moving Average for selected oscillator.
Smooth Smooth: Smooths out RSI
Multi Timeframe RSI: Displays Multiple Time Frame/Multiple Symbol RSI and converts it and shows it as it is in current time frame without effecting Primary RSI
Multi Timeframe RSI Panel: Displays Multiple Time Frame/Multiple Symbol RSI values of user input specific timeframes in compact panel (max 8 Time frames)
RSI Price Estimator: Calculates RSI estimate price values of 3 different user specific RSI input levels, RSI x MA cross price and RSI future value of user specific price input level.
Oscillator Support/Resistance/Wedges/Trendlines: Draws Trendlines, Wedges and Support & Resistance lines on selected oscillator
Oscillator Quad Divergence ◢
1st Oscillator Divergence: Traditional divergence indicator with enhancements & customization
2nd Oscillator Divergence: Traditional divergence indicator with enhancements & customization
3rd Oscillator Divergence: Advanced Divergence indicator with source selection, RSI/Price threshold, potential divergences & customization
4th Oscillator Divergence: Pivots divergence indicator with flexible pivots selection & customization
Regular bullish divergences are indicated when price is forming lower lows while an oscillator shows higher lows.
Regular bearish divergences are indicated when price is forming higher highs while an oscillator shows lower highs.
While regular divergences indicate trend reversals, hidden divergences indicate a trend continuation.
When the price is making higher lows and the oscillator is showing lower lows, we speak of a bullish hidden divergence.
When the price is making lower highs and the oscillator shows higher highs, it's a bearish hidden divergence.
Oscillator Secondary Tools ◢
Oscillator HH/LL pivots
Osc OB/OS Color Bars
Osc OB/OS Zones
Osc OB/OS Highlights
Background
Oscillator HH/LL pivots: Shows HH/LL pivot points on selected oscillator
Osc OB/OS Color Bars: Plots color chart bars based on RSI, MFI, Stochastic, Stochastic RSI or combine overbought/oversold conditions
Osc OB/OS Zones: Plots Osc OB/OS Zones with user input levels
Osc OB/OS Highlights: Highlight oscillator OB/OS background area
Background: background color customization
+ Primary RSI Settings ▾
- Primary RSI Length: User input RSI Length value
- Primary RSI Source: User RSI Source selection
- RSI Overbought Threshold: Allows the user to set the RSI overbought threshold value. This Overbought Threshold value will also be applied on "RSI Divergence overbought condition", "RSI OB Color Bars" and "Primary RSI Color Schemes
- RSI Oversold Threshold: Allows the user to set the RSI oversold threshold value. The lower band (oversold line) of RSI. This Oversold Threshold value will also be applied on "RSI Divergence oversold condition", "RSI OS Color Bars" and "Primary RSI Color Schemes
- RSI Middle Band: Allows the user to set the RSI middle band value. This value will also applied to "Center Line" color scheme from "Primary RSI Color Schemes" drop menu
- Primary RSI Colors:
Range color specifies a gradient of colors from the overbought to the oversold threshold user inputs from "Primary RSI" section. Color interpolation also a gradient but smoother than Range color. Center Line is similar but is not a gradient, linked to Middle Band ("Primary RSI" section) and changes color with RSI Middle Band. Traditional is simple with Overbought and Oversold colors change.
- RSI Bullish Band: Allows the user to plot extra/optional RSI band on RSI Oscillator (Note: it will not be plotted if "OB/OS Zone only" enabled from "OB/OS Zone Settings" section)
- RSI Bearish Band: Allows the user to plot extra/optional RSI band on RSI Oscillator (Note: it will not be plotted if "OB/OS Zone only" enabled from "OB/OS Zone Settings" section)
+ Primary RSI Smooth Settings ▾
- Smooth Moving Average Type: User selected Smooth MA type. With RSI Smooth enabled, will also effect all RSI Divergences detection (all divergences will be plot according to "Smoothed RSI line")
- Smooth Moving Average Length: User input Smooth MA length value
+ Oscillator Moving Average Settings ▾
- Osc Moving Average Colors: Allows user to select Bullish/Bearish colors of Oscillator Moving Average
- Osc Moving Average Type: Allows user to select Oscillator MA Type
- Osc Moving Average Length: User input Oscillator MA length value
- Osc Moving Average Thickness: User input Oscillator MA thickness
- BB StdDev: user input Bollinger Bands standard deviation value
+ Stochastic Oscillator Settings ▾
- Same as Traditional/Default indicator
+ Stochastic RSI Oscillator Settings ▾
- Same as Traditional/Default indicator
+ Money Index Flow Settings ▾
- Same as Traditional/Default indicator
+ Ultimate Oscillator Settings ▾
- Same as Traditional/Default indicator
+ Momentum Oscillator Settings ▾
- Same as Traditional/Default indicator
+ Average True Range Settings ▾
- Same as Traditional/Default indicator
+ Multi Timeframe RSI Settings ▾
- MTF RSI Time Frame: Allows user to select MTF RSI Time Frame
- MTF RSI Symbol: Allows user to select MTF RSI Time Symbol
- MTF RSI Length: User input MTF RSI length value
- MTF RSI Source: User selected MTF RSI source
- MTF RSI Line Width: User input MTF RSI line thickness value
- Number of Bars for MTF RSI plot
- MTF RSI Color > OB color > OS color : Allows user to select MTF RSI color with additionally Overbought/Oversold colors
+ MTF RSI Panel Settings ▾
- Select MTF RSI Type: If "Primary RSI" or "Volume RSI" selected MTF RSI Panel will show output values based on "Primary RSI" or "Volume RSI" parameters e.g. source, length, but without smooth.
- MTF RSI Panel Symbol: Allows user to select MTF RSI Panel symbol, leave symbol blank or uncheck "checkbox" for current chart symbol
- Show Symbol in Panel: Shows symbol ticker(current or user selected) in MTF RSI Panel
- Panel Background: Allows user to select MTF RSI Panel Background (enable/disable) and Background color selection
- TF1: MTF RSI Timeframe 1 user selection
- TF2: MTF RSI Timeframe 2 user selection
- TF3: MTF RSI Timeframe 3 user selection
- TF4: MTF RSI Timeframe 4 user selection
- TF5: MTF RSI Timeframe 5 user selection
- TF6: MTF RSI Timeframe 6 user selection
- TF7: MTF RSI Timeframe 7 user selection
- TF8: MTF RSI Timeframe 8 user selection
- Panel Top Offset: MTF RSI Panel offset input value
- Position: MTF RSI Panel position selection
- Text Size: MTF RSI Panel text size selection
- Bullish Colors: MTF RSI Panel bullish color selection. (Bullish colors range RSI >75, <75 to >65, <65 to >55)
- Bearish Colors: MTF RSI Panel bearish color selection. (Bearish colors range RSI <45 to >35, <35 to >25, <25)
+ RSI Price Estimator Settings ▾
- Price 1: User input value for RSI future price
- Price 2: User input value for RSI future price
- Price 3: User input value for RSI future price
- Panel Position Offset: User input value for panel position offset
- Price Decimals: User input value for output price decimals in panel
- Show RSI/OscMA cross Price: Enable/Disable RSIxOscillator MA cross future price
- Show RSI Level for Input Price: User input price for future RSI level
- Invisible Background: Enable/Disable Background
Auto Text Color > Auto color change of Panel text according to Dark/Light chart theme
+ Oscillator Support/Resistance Settings ▾
- Show Support line: Allows user to Enable/Disable Oscillator support line
Color > Auto Color: Auto color change of support line according to Dark/Light chart theme
- Show Resistance line: Allows user to Enable/Disable Oscillator resistance line
Color > Auto Color: Auto color display of resistance line according to Dark/Light chart theme
- Lookback lows/highs: User input of Lookback lows/highs value
- Distance threshold: Distance from the line to the low
- Line touch points: Number of points that have to be around the line
- Low/High left bars: User input of Low/High left bars value
- Low/High right bars: User input of Low/High right bars value
- Line style: User selection of line style
- Line thickness: User input of line thickness value
+ Oscillator 1st Divergence Settings ▾
- Divergence Source: User selection of divergence source. "High/Low" (high/low of oscillator/price divergence detection), "Close" (close of oscillator/price divergence detection) and "Both" (Both Close + High/Low of oscillator/price divergence detection). (Note: Traditional Divergence indicator default source is "High/Low")
- Pivot Lookback Right: How many candle to compare on the right side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signaled, but the quality of those detections could be lower.
- Pivot Lookback Left: How many candle to compare on the left side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signaled, but the quality of those detections could be lower.
- Divergence Max Length (Bars): The maximum length of a divergence (number of bars). If a detected divergence is longer than this, it will be discarded
- Divergence Min Length (Bars): The minimum length of a divergence (number of bars). If a detected divergence is shorter than this, it will be discarded
- Show Divergence as:
- Line Thickness: User input divergence line thickness value
- Label Transparency: it could reduce labels mess on oscillator line, input "100" for label text only without label background
- Labels Text Color: User label text color selection
Auto Text Color > Auto color change of label text according to Dark/Light chart theme
- Bull Divergences: Enable/Disable of Bull divergences
> Color: User selection of Bull divergence color
> Oversold only: It will show Regular Bullish RSI divergences in oversold zone only, RSI oversold threshold can be configure in "Primary RSI Settings" section.
- Bear Divergences: Enable/Disable of Bear divergences
> Color: User selection of Bear divergence color
> Overbought only: It will show Regular Bearish RSI divergences in overbought zone only, RSI overbought threshold can be configure in "Primary RSI Settings" section.
- Hidden Bull Div: Enable/Disable of Hidden Bull divergences
> Color: User selection of Hidden Bull divergence color
- Hidden Bear Div: Enable/Disable of Hidden Bear divergences
> Color: User selection of Hidden Bear divergence color
+ Oscillator 2nd Divergence Settings ▾
- Same as Oscillator 1st Divergence Settings
+ Oscillator 3rd Divergence Settings ▾
- Divergence source: User selection of divergence source . "oscillator" (divergence detection with high/low or close of selected oscillator), "price" (divergence detection with high/low or close of price)
- Bull price source: User selection of Bull price source. Bull price source: "Low" (low of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Bear price source: User selection of Bear price source. Bear price source: "High" (high of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Low/High left bars: How many candle to compare on the left side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signaled, but the quality of those detections could be lower.
- Low/High right bars: How many candle to compare on the right side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signaled, but the quality of those detections could be lower.
- Maximum lookback bars: The maximum length of a divergence (number of bars). If a detected divergence is longer than this, it will be discarded.
- Price threshold: User selection of Price threshold, higher values more lines
- RSI threshold: User selection of RSI threshold, higher values more lines
- Show Lows: Displays lows of RSI
- Show Highs: Displays highs of RSI
- Show Divergence as:
- Line Style:
- Line thickness: User input divergence line thickness value
- Label Transparency: it could reduce labels mess on oscillator line, input "100" for label text only without label background
- Labels Text Color: User label text color selection
Auto Text Color > Auto color change of label text according to Dark/Light chart theme
- Bull Divergences: Enable/Disable of Bull divergences
> Color: User selection of Bull divergence color
> Potential Bull: It will plot potential regular bull divergence with dotted line.
- Bear Divergences: Enable/Disable of Bear divergences
> Color: User selection of Bear divergence color
> Potential Bear: It will plot potential regular bear divergence with dotted line.
- Hidden Bull Div: Enable/Disable of Hidden Bull divergences
> Color: User selection of Hidden Bull divergence color
> Potential H.Bull: It will plot potential hidden bull divergence with dotted line.
- Hidden Bear Div: Enable/Disable of Hidden Bear divergences
> Color: User selection of Hidden Bear divergence color
> Hidden Bear divergence: It will plot potential hidden bear divergence with dotted line.
> Regular Bull oversold only: It will show Regular Bullish RSI divergences in oversold zone only, RSI oversold threshold can be configure in "Primary RSI Settings" section.
> Regular Bear overbought only: It will show Regular Bearish RSI divergences in overbought zone only, RSI overbought threshold can be configure in "Primary RSI Settings" section.
+ Oscillator 4th Divergences Settings ▾
- Upper Length: User pivot input value of draw upper divergence line From
- To Pivot:
- Lower Length: User pivot input value of draw lower divergence line From
- To Pivot:
- Show Divergence as:
- Line Style:
- Line thickness: User input divergence line thickness value
- Label Transparency: it could reduce labels mess on oscillator line, input "100" for label text only without label background
- Labels Text Color: User label text color selection
Auto Text Color > Auto color change of label text according to Dark/Light chart theme
- Bull Divergences: Enable/Disable of Bull divergences
> Color: User selection of Bull divergence color
- Bear Divergences: Enable/Disable of Bear divergences
> Color: User selection of Bear divergence color
- Regular Bull oversold only: It will show Regular Bullish RSI divergences in oversold zone only, RSI oversold threshold can be configure in "Primary RSI Settings" section.
- Regular Bear overbought only: It will show Regular Bearish RSI divergences in overbought zone only, RSI overbought threshold can be configure in "Primary RSI Settings" section.
+ Oscillator HHLL Pivots Settings ▾
- Pivot Length: User input value of HH/LL pivot length
> L.Text Color: User label text color selection
- HH color: User HH Label color selection
- HL color: User HL Label color selection
- LH color: User LH Label color selection
- LL color: User LL Label color selection
+ Oscillator OB/OS Colored Bars Settings▾
- Overbought/Oversold Bars Oscillator: Plots Overbought/Oversold color bars based on RSI, MFI, Stoch, Stoch RSI overbought/oversold threshold conditions separately or combined(when every oscillator reach its OB or OS threshold condition at same time).
- Overbought Bar Color: User RSI OB Bars color selection
- Oversold Bar Color: User RSI OS Bars color selection
+ Primary RSI Range Color ▾
- OB: Overbought Color
- OS: Oversold Color
- Bullish: Bullish Color
- Bearish: Bearish Color
+ Primary RSI Color interpolation ▾
- RSI Color: RSI Color
- OB: Overbought Color
- OS: Oversold Color
+ Primary RSI Center Line Color ▾
- OB: Overbought Color
- Bullish: Bullish Color
- Bearish: Bearish Color
- OS: Oversold Color
+ Primary RSI Traditional Color ▾
- RSI Color: RSI Color
- OB: Overbought Color
- OS: Oversold Color
Osc Overbought/Oversold Zones Settings ▾
- OB/OS Zone Band Lines: Enable/Disable OB/OS Zone Band Lines
- OB/OS Zones only: Only shows OB/OS Zones and disable all RSI band lines except Middle Band. Background will not be effected by this setting.
- Overbought Zone: User input value of Overbought Zone from
> To:
- Oversold Zone: User input value of Oversold Zone from
> To:
Osc Overbought/Oversold Highlights ▾
- Overbought Highlights : Enable/Disable Overbought Highlights
- Oversold Highlights : Enable/Disable Oversold Highlights
- Transparency: Gradient transparency of highlighted area
+ 'Oscillators Color Settings ▾
- Show Osc Symbol label : Enable/Disable of oscillator symbol label. Displays current oscillator symbol, but with "Override Oscillator Symbol" enabled from "Black RSI Dashboard" it will Auto/forcefully displays Override Oscillator Symbol on Oscillator
- Fade out Oscillator line: Fade out the oscillator line color, focusing only the most recent periods prominent for a clearer chart
- Fill Stoch/StochRSI lines: Fills Stoch/Stoch RSI lines
- Oscillator line thickness: user input value of oscillator line thickness
- Oscillator line offset: Shifts the oscillator to the left or to the right on the given number of bars, Default is 0
- OBV Color
- MFI Color
- ATR Color
- UO Color
- MOM Color
- CVD Bullish Color
- CVD Bearish Color
+ Background Setting ▾
- Custom Background Color: User selection of Background color
Authors & Credits: I'd like to THANK to Nabeel Black(myself), LonesomeTheBlue, iFuSiiOnzZ, jmosullivan, zdmre, creengrack, and TradingView for the locally sourced ingredients.
Disclaimer: DYOR. Not financial advice. Not a trading system. I am not affiliated with TradingView or any authors mentioned here; You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely. Always trade with confluence and Risk Management.
Feedback & Bug report
if you found any bug in this indicator or any suggestion, please let me know. Please give feedback & appreciate if you like to see more future updates and indicators. Thank you
RSI Pull-BackA pull-back occurs whenever the price or the value of an indicator breaks a line and comes back to test it before continuing in the prevailing trend.
The RSI has oversold and overbought levels such as 20 and 80 and whenever the market breaks them returns to normality, we can await a pull-back to them before the reversal continues.
This indicator shows the following signals:
* A bullish signal is generated whenever the RSI surpasses the chosen oversold level then directly shapes a pull-back to it without breaking it again.
* A bearish signal is generated whenever the RSI breaks the chosen overbought level then directly shapes a pull-back to it without surpassing it again.
RSI Candle Advanced V2RSI Advanced
As the period value is longer than 14, the RSI value sticks to the value of 50 and becomes useless.
Also, when the period value is less than 14, it moves excessively, so it is difficult for us to see the movement of the RSI .
So, using the period value and the RSI value as variables, I tried to make it easier to identify the RSI value through a new function expression.
This is how RSI Advanced was developed.
Period below 14 reduce the volatility of RSI , and period above 14 increase the volatility of RSI, allowing overbought and oversold zones to work properly and give you a better view of the trend.
By applying the custom algorithm so that the 'RSI Advanced' with period on a 5-minute timeframe has the same value as the 'original RSI' with period on a 60-minute timeframe.
As another example, an 'RSI Advanced' with a period in a 60-minute time frame has the same value as an 'original RSI' with a period in a 240-minute time frame.
Compare the difference in the RSI with a period value of 200 in the snapshot.
------------------------------------------------------------------------------------------
RSI Candlestick
RSI derives its value using only the closing price as a variable.
I solved the RSI equation in reverse and tried to include the high and low prices of candlesticks in the equation.
As a result, 'if the high or low was the closing price, the value of RSI would be like this' was implemented.
Just like when a candle comes down after setting a high price, an upper tail is formed when RSI Candle goes down after setting a high price!!
In divergence, we had to look only at the relationship between closing prices, but if we use RSI candles, we can find divergences in highs and highs, and lows and lows.
Existing indicators could not express "gap", but Version 2 made it possible to express "gap"!!!!!!
RSI can be displayed as candlesticks, bars and lines
Then enjoy my RSI!
----------------------------------------------------------------------------------------
RSI Advanced
기간값이 14보다 길어질수록 RSI값은 50값에 달라붙게 되어서 쓸모가 없어집니다.
또 기간값이 14보다 줄어들수록 과도하게 움직여서 우리는 RSI의 움직임을 보기가 힘듭니다.
그래서 기간 값과 RSI 값을 변수로 사용하여 새로운 함수 식을 통해 RSI 값을 식별하기 편하도록 해보았습니다.
이렇게 RSI Advanced가 개발되었습니다.
기간값이 14보다 낮으면 rsi의 변동폭이 줄어들고, 기간값이 14보다 크면 변동폭이 넓어져 과매수 및 과매도 영역이 제대로 작동하여 추세를 더 잘 볼 수 있습니다.
또한 저는 5분 타임프레임의 기간값이 168(=14*12)인 RSI가 주기 값이 14인 60분 타임프레임의 RSI와 동일한 값을 갖도록 적절한 함수 표현식을 적용하여 RSI를 변경했습니다.
다른 예로, 15분 시간 프레임에서 기간값이 56(=14*4)인 RSI는 60분 시간 프레임의 기간값이 14인 RSI와 동일한 값을 갖습니다.
기간값이 200인 RSI의 차이를 스냅샷에서 비교해보십시오.
-----------------------------
RSI Candlestick
RSI는 종가만을 변수로 사용하여 값을 도출해냅니다.
저는 RSI 식을 역으로 풀어내어서 캔들스틱의 고가와 저가, 시가를 식에 포함시켜보았습니다.
결과적으로, '만약 고가나 저가가 종가였다면 RSI의 값이 이럴것이다'를 구현해내었습니다.
캔들이 고가를 찍고 내려오면 윗꼬리가 생기듯 RSI Candle에서도 고가를 찍고 내려오면 윗꼬리가 생기는겁니다!!
다이버전스 또한 원래는 종가끼리의 관계만 봐야했지만 RSI 캔들을 이용한다면 고가와 고가, 저가와 저가에서도 다이버전스를 발견할 수 있습니다.
기존의 지표는 "갭"을 표현하지 못했지만 Version 2 에서는 "갭"을 표현할 수 있게 만들었습니다!!!!!!
그럼 잘 사용해주십시오!!!
Relative Strength/Weakness ArrowsHello everyone,
This Script is designed to show relative strength or relative weakness. It takes the stock your looking at and compares it to the sector it is in and to SPY. It evaluates strength or weakness on every candle. In this specific script it is only designed for the communications sector(XLC), so all the names I have inputted into the script fall within XLC. It works for all timeframes. It really helps me stay in trades longer as even though stock might be consolidating it can still be weak, making me more confident in holding. Each green arrow shows that the stock is relatively strong compared to SPY and its SECTOR, in this case, XLC. Each red arrow means that the stock is relatively weak to the market and its sector. When there are no arrows on the candles, then the stock is following the market and its sector. Tell me what yall think.
Just add it to your chart, go to any of the stocks within XLC and it will populate arrows based on relative strength and relative weakness. The weakness and strength is based on movement of price using ATR. So if the price of the stock is moving up and so is the sector it will only populate based on how large the move is. So if SPY had ATR of 1 and it moved up .50c that means the stock you're looking at would need to move more than .50c in the same candle if it also had an ATR or 1.
You can add or delete tickers in the code by going to the list of symbols and adding or removing them. Just remember that if you add a stock that doesn't fall within XLC then the arrows wont represent strength/weakness properly.
[TTI] Combined Absolute Relative Strength - ARS toolHISTORY AND CREDITS–––––––––––––––––––––––––––––––––––––––––––––––––––––––
I got inspired to build this based on some public lectures I have seen of Matt Caruso. Matt says he has taken 10 years to build similar tool. The idea of a 'better' Relative Strength hit home and I cracked open the textbooks to see which technique would serve best. I think I have made a very close (my estimate about 90%) script to the original. Examples of side by side in comments.
WHAT IT DOES––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
💡A significant advancement in relative strength analysis is Combined Adaptive Relative Strength (ARS tool).
The ARS tool makes it quick and easy to determine whether an asset exhibits Relative Strength and is therefore subject to institutional accumulation.
ARS is not restricted to equities and may be used to find RS on any traded security like crypto, forex, bonds or ETFs. By design, ARS adjusts to a security's volatility to discover RS in a slower-moving, dividend-paying investment just as easily as in a one with strong velocity. Due to this feature, investors are able to use RS analysis on any security type that fits their objectives and risk tolerance.
When the indicator calculates a favourable, strong relative strength in the ticker it paints the background of the chart to the chosen color.
🎁 Unlike the original indicator, I have left a few customisable settings for those who wish to toggle the sensitivity:
✅. You can choose which index you compare Relative Strength against (perfect for anyone trading international)
✅. You can choose how manyDays Lookback the ticker uses to make calculations
✅. You can chooses what Timeperiod in number of bars the ticker uses to calculate Relative Strength
✅. I have made all calculations adaptable for larger and smaller timeframes (so wether you are daytrader or investor this will adapt to the way you have customised your chart).
HOW TO USE IT–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
The tool highlights the periods of time when the ticker has the highest probability of attracting institutional investors and hence result in price appreciation. The blue color appears in stages of the indicator where significant upward moves are probable.
You can use the indicator as part of the longer term trend analysis of your research.
Relative Strength Index (RSI) + Realtime DivergencesRelative Strength Index (RSI) + Realtime Divergences
This version of the RSI indicator includes the following features:
- Optional divergence lines drawn directly onto the oscillator in realtime.
- Configurable alerts to notify you when divergences occur.
- Configurable lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes.
- Background colouring option to indicate when the RSI oscillator has crossed above or below its centerline.
- Alternate timeframe feature allows you to configure the oscillator to use data from a different timeframe than the chart it is loaded on.
- Fadeout oscillator feature will fade out all but the most recent history, leaving your chart free of visual noise.
- Flip oscillator feature can be used with the Tradingview 'Flip chart' feature (Alt+i) in order to flip both the chart and the oscillator, too. This feature is to help traders manually spot divergences that may have a strong natural bias in one direction.
- Optional centerline and range bands.
- Various optional moving average types, bollinger bands etc.
This indicator adds additional features onto the standard RSI whose core calculations remain unchanged. Namely, the configurable option to automatically, quickly and clearly draw divergence lines onto the oscillator for you as they occur in realtime. It also has the addition of unique alerts, so you can be notified when divergences occur without spending all day watching the charts. Furthermore, this version of the RSI comes with configurable lookback periods, which can be configured in order to adjust the sensitivity of the divergences, in order to suit shorter or higher timeframe trading approaches.
What is the Relative Strength Index ( RSI )?
Investopedia describes the Relative Strength Index as follows:
“The relative strength index (RSI) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The RSI is displayed as an oscillator (a line graph) on a scale of zero to 100. The indicator was developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, New Concepts in Technical Trading Systems.
The RSI can do more than point to overbought and oversold securities. It can also indicate securities that may be primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.”
The RSI is also commonly used to spot divergences.
You can read more about the RSI and its calculations here
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis , meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level . A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable pivot periods.
You can adjust the default pivot periods to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
Disclaimer: This script includes code from the stock RSI by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue.
Relative Bi-Directional Volatility RangeThe basic math behind this Indicator is very similar to the math behind the Relative Strength Index without using a standard deviation as used for the Relative Volatility Index. The Volatility Range is calculated by utilizing the highs and lows. However not in the same way as in the Relative Volatility Index. This approach leads to different values, but the overall result clearly reveals the intrinsic Volatility of the chart, so the user can be aware, when something fundamentally is going on behind the scenes. If the Volatility rises on positive and negative range (-100 to 100) it implies that something fundamental is changing.
An advantage of using this kind of calculation is the possibility of separating the data into positive (buy pressure) and negative (sell pressure) components. The bi-directional character shows a slightly overhang in one of the directions, which can be used to detect a trend. A Moving Average of the users choice shell smoothen the overhang of the Relative Bi-Directional Volatility and show a trend direction. Similar to the math of the Relative Strength Index as standard a Relative Moving Average is preferred. If the Moving Average is in the positive range (0 to 100) it indicates a bullish trend, else if the Moving Average is in the negative range (0 to -100) it indicates a bearish trend. External Indicators can use a provided Trend Shift Signal which switches from 0 to 1, if the trend becomes bullish or from 0 to -1, if the trend becomes bearish.
The user should know, that in this Indicator the starting point of the Moving Averages always begins at the first bar, because the starting progress is approximated appropriately. Most Moving Averages require a minimum number of bars to be calculated, which is chosen with the Moving Average Length. In this cases the length used will be automatically reduced in the background until the number of bars is sufficient to match the chosen length. So if data history is very short, the Indicator can be used never the less as good as possible.
It is feasible to switch the Indicator on a higher timeframe, while staying in a lower timeframe on the chart. This can be useful for making the indication cleaner, if the Moving Average is to choppy and shows too many false signals. On the other hand the benefit of a higher timeframe (or a higher Moving Average Length) is paid with higher latency of the signaling. So the user has to decide what the best setting in his case is.
This Indicator can be used with all kinds of charts. Even charts with percentage or negative values should work fine.
Strength of Divergence Across Multiple IndicatorsOverview:
One-stop shop for all your divergence needs, including:
(1) A single metric for divergence strength across multiple indicators.
(2) Labels that make it easy to spot where the truly strong divergence is by showing the overall divergence strength value along with the number of divergent indicators. Hovering over the label shows a breakdown of each divergent indicator and its individual divergence strength value.
(3) Fully customizable, including inputs for pivot lengths, divergence types, and weights for every component of the divergence strength calculation. This allows you to quickly and easily optimize the output for any chart. Don't worry, the default settings will have you covered if you're not interested in what's going on under the hood.
The Divergence Strength Calculation:
The total divergence strength value is the sum of the divergence strengths of all indicators for which divergence was detected at a given bar. Each indicator's individual divergence strength is comprised of two basic components: (1) |ΔPrice| - the magnitude of the change in price over the divergence period (pivot-to-pivot), and (2) |ΔIndicator| - the magnitude of the change in indicator value over the divergence period.
Because different indicators' scales and volatility can vary greatly, the Δ values are expressed in terms of standard deviation to ensure that the values are meaningful and equitable across all indicators and assets/instruments/currency pairs, etc:
|ΔIndicator| = |indicator_value_1 - indicator_value_2| / 2 * StDev(indicator_series,100)
Calculation Weights:
All components of the calculation are weighted and can be modified on the Inputs page in settings (weights are simply multipliers). For example, if you think hidden divergence should carry less weight than regular divergence, you can assign it a lesser weight. Or if you think RSI divergence is worth more than OBV divergence, you can adjust their weights accordingly. List of weights:
Regular divergence weight - default = 1
Hidden divergence weight - default = 1
ΔPrice weight - default = 0.5 (multiplied by the ΔPrice component)
ΔIndicator weight - default = 1.5 (multiplied by the ΔIndicator component)
RSI weight - default = 1.1
OBV weight - default = 0.8
MACD weight - default = 0.9
STOCH weight - default = 0.9
Development for additional indicators is ongoing, as is research into the optimal weight configuration(s).
Other Inputs:
Pivot lengths - specify the number of bars before and after each pivot high/low to consider it a valid candidate for divergence.
Lookback bars and Lookback pivots - specify the number of bars or the number of pivots to look back across.
Price sources - specify separate price sources for bullish and bearish divergence
Display settings - specify how lines and labels should display, including which divergence strength values should show the largest labels. Include/exclude specific divergence types and indicators.
Please report any bugs, or let me know if you have any enhancement suggestions or requests for additional indicators.
@reees
RSI mid partition color changeWhen RSI is above 50 our default bias is on buy side and when below 50 our bias is on sell side.
Therefore created 2 zones for easy identification.
[GTH] Relative Strength, SectorsDisplays the Relative Strength (RS) of a symbol in relation to some common sector ETFs, SPX and NDX (select from drop-down list). This is done by dividing the symbol's price by the chosen sector ETF's price.
You can also select a symbol of your choice to compare against.
Interpretation:
RS line ascending: symbol performs stronger than the sector ETF.
RS line decending: symbol performs weaker than the sector ETF.
In case of error reports: please be specfic. Thanks.
QG-Relative Strength Rank MTF DSL
Relative strength rank is a momentum indicator based on combination of short and long term strength combined with ATR to adjust for current volatility.
The Multi timeframe version long with signals only above or below +1 and -1 provide quite reliable signals and entries for pullback levels.
The RSR signal has been smoothed with EMA.