RSI Buy/Sell SignalsThis Pine Script is designed to plot Buy and Sell signals based on the Relative Strength Index (RSI) for both 15-minute and hourly timeframes. It calculates the RSI values for the current 15-minute chart and requests the hourly RSI data for comparison. Buy signals are generated when the RSI crosses above 60 in either timeframe, while sell signals occur when the RSI crosses below 40. The script also plots visual markers on the chart, indicating buy signals with green labels below the price bars and sell signals with red labels above the price bars. Additionally, it allows for alert conditions, notifying the user when a buy or sell signal is triggered.
Cari dalam skrip untuk "rsi"
RSI Sector analysis
Screening tool that produces a table with the various sectors and their RSI values. The values are shown in 3 rows, each with a user-defined length, and can be averaged out and displayed as a single value. The chart is color coded as well. Each ETF representing a sector can be looked at individually, with the top holdings in each preprogrammed, but users can define their own if they wish. The left most ticker is the "benchmark"; SPY is the benchmark for the various sectors, and the ETF is the benchmark for the tickers within.
Symbols are color coded: light blue text indicates that a symbol has greater RSI values in all three timeframes than the benchmark (the leftmost symbol). Orange text indicates that a symbol has a lower RSI value for all three timeframes. In the first row, light blue text indicates the largest RSI increase from the third row to the first row. Orange text indicates the largest RSI decrease from the third row to the first row.
A blue highlight indicates that the value is the highest among the tickers, excluding the benchmark, and an orange highlight indicates that the value is the lowest among the tickers, also excluding the benchmark. A blue highlight on the ticker indicates that it has the highest average value of the 3 rows, and a orange highlight on the ticker indicates that it has the lowest average value of the 3 rows.
RSI divergence(mom check)The core of this indicator is obviously RSI divergence. But there are some tips I would like to explain and suggest.
First of all, although the basic principle of this indicator is simple: simply comparing the price and RSI value within a given time period. To be more specific, if the price now is lowest among last 300 candlesticks but its RSI value is not, then the candlesticks will be marked. However, sometimes it is not accurate. Here are some examples:
This is bitcoin 2h chart from COINBASE. It is true that we can capture most of corrections and make a fortune during a bull market. However, the market is not always consist of bull market:
This is also bitcoin 2h chart from COINBASE. We can imagine how much money we would lose if we buy every time solely according to the RSI divergence signals during a bear market. So, how to solve this question? As a bullish indicator, it's normal to have distortions in a bear market, but I still hope to improve its win rate and make it more reliable even though when people are trading during a bear market. So we need to add some filtering conditions to screen out all the divergence signals.
The first indicator came in my mind is: Momentum. Here is the momentum code with its zero axis:
//@version=5
indicator(title="Momentum", shorttitle="Mom", timeframe="", timeframe_gaps=true)
//input variables
len = input.int(30, minval=1, title="Length")
src = input(close, title="Source")
//calculate momentum
mom = src - src
//draw momentum chart
plot(mom, color=#2962FF, title="MOM")
//draw 0 axis
hline(0, "Zero Line", color=color.white)
One thing we should notice is that ’30’ is the time period of the momentum, you can change this to everything you want according to which assets you are trading. For example, in a long-run bullish stock market or gold market, you can set ’60’. But when it comes to futures or crypto, maybe 30 is a better choice.
Now, I use momentum as a condition to distinguish a bearish trend: if the all momentum value of past 100 candlesticks of my RSI divergence signals are minus, which means these divergence signals are in a bearish trend, in this case, I market them as purple signal2. Attached are some examples of BTC, ETH and SOL charts. We can see if we trade according to green signal1s. We gonna have to cut our losses multiple times, and for leveraged traders, it could even mean facing liquidation. However, signal2 has helped filter most of signal1s. So in most conditions, I believe the appearance of signal2 represents the end of bearish trends.
So far, we have created an overall frame. And I have set ‘alertcondition’ functions so that we can use this indicator to set alerts.
Here are some tips I would like to suggest based on my personal experiences:
1. Set stop losses and follow them strictly;
2. Adjust the time period according to different assets. For instance, 4h chart is good for bitcoin and most altcoin. But when it comes to stock market, 12h or 1d may be a better choice. You need to find the best suitable time period by yourself;
3. In a bear market, please be especially cautious with the green Signal 1; they are great for following uptrends but are not suitable for bottom-fishing. I recommend waiting for the purple Signal 2 to appear before placing trust again in the green Signal 1.
4. To be continued….
RSI TrendsThis TradingView script combines RSI trend analysis with FVG (Fair Value Gap) detection to identify potential buy and sell opportunities in financial markets. The script is customizable and provides extensive visual feedback directly on the chart, enhancing both strategic entry and exit points for traders. Raw code of FVG was taken from LuxAlgo
Features
FVG Detection: Identifies Fair Value Gaps (FVG), and provides options to display these gaps based on user settings.
RSI Trend Bars: Utilizes the Relative Strength Index (RSI) to paint bars indicating overbought and oversold conditions. This helps traders understand current market sentiment and potential reversal points.
Customizable Settings: Users can customize the timeframe, FVG types, and RSI thresholds. This flexibility allows the script to be adapted to various trading styles and timeframes.
Historical Analysis: Option to display or hide historical FVGs, helping users analyze past market behavior without cluttering the chart.
Alert System: Integrated alerts for detected buy and sell signals based on RSI conditions and the presence or absence of FVGs. This feature notifies traders of potential trading opportunities.
Trading Signals
Buy, Buy+, and Buy++ Signals: These signals are triggered based on overbought conditions without corresponding bearish FVG presence, with increasing stringency for higher tiers of buy signals.
Sell, Sell+, and Sell++ Signals: These signals are based on oversold conditions devoid of bullish FVG presence, with each subsequent plus sign indicating a higher level of confirmation required to trigger the signal.
Use Case
Ideal for traders who rely on technical analysis and are looking for an automated way to spot potential buy and sell points using both price action gaps and momentum indicators.
Customization
All input parameters are adjustable directly from the indicator's settings panel, making it easy to tailor the tool to your trading needs and preferences.
RSI-HeatmapThis unique indicator is a comprehensive tool designed for traders seeking to gain an edge in the market. It consists of three main components: a revised RSI, a dynamic heatmap, and an integrated alert system.
1.Modified RSI:
Unlike the traditional RSI that calculates delta as the difference between the current price and the previous price (Δ = {price} - {previous price}), this version computes delta by comparing the current price with the price n periods ago (Δ = {price} - {n-th previous price}). This delta is then smoothed using a Volume Weighted Moving Average (VWMA) with a short length to preserve the RSI's core characteristics while adapting it to capture longer-term momentum shifts more effectively.
2.Heatmap:
The heatmap feature introduces a novel approach to visualize market conditions, with 5 high levels and 5 low levels identified around the current price. When the price crosses these thresholds, the RSI-based heatmap changes colors, ranging from blue (indicative of oversold conditions) to red (signaling overbought conditions). This visual tool helps traders quickly gauge the strength and potential reversal points in the market.
3.Alert:
The Alert system employs MACD (Moving Average Convergence Divergence) and CCI (Commodity Channel Index) indicators to signal potential buy or sell opportunities. It categorizes alerts into four color-coded recommendations:
Green and Lighter Green: Strong buy signal, suggesting favorable conditions for entering buy positions.
Blue and Lighter Blue: Moderate buy signal, indicating less robust but potentially profitable buy conditions.
Red and Lighter Red: Strong sell signal, advising traders to consider taking sell positions.
Orange and Lighter Orange: Moderate sell signal, hinting at sell conditions that are not as compelling as those indicated by red.
RSI MFI MultiTimeframe Oversold/OverboughtHello Traders,
This indicator is designed to easily visualize the overbought/oversold states of RSI and MFI across multiple timeframes.
The indicator is very straightforward.
The deeper the red, the closer it is to 0, and the deeper the green, the closer it is to 100. The intermediate values are rendered in a transparent gray to focus on the key regions.
However, I understand that traders may have an interest in knowing the most recent state of the oscillator, whether it was overbought or oversold.
For this reason, I have included the 'Gradient Color' option in the color settings.
By turning off this option, you can easily see at a glance which region the oscillator was in most recently.
(Gradient Color Option Off)
In addition, I know that many traders are interested in the actual RSI/MFI values across multiple timeframes.
Thus, I have displayed the RSI/MFI values for each timeframe on the far right.
Furthermore, although the name of this indicator is RSI MFI MultiTimeframe Oversold/Overbought, I have also included the Stochastic RSI as an option, as I find it personally useful.
Feel free to use it if you find it helpful.
RSI Chart LevelsThe RSI Chart Levels shows you in a simple way where Support/Resistance might be. You want to make sure all settings are the same in the RSI that you are using with this overlay to be accurate.
This is also good at spotting divergence in real-time. If price goes over the Higher High but the RSI hasn't gained a new Higher High it is showing divergence, vice versa for Lower Low.
This overlay was created with the idea of RSI Divergence Scanner by zdmre indicator. Add his RSI and match the settings to the chart overlay. The default Zigzag is set to 7 which zdmre settings is different so change to whatever you prefer.
Shoutout to zdmre original work!
RSI Accumulation/Distribution [M]Hello everyone,
After my long tests, I observed that the rate of change of direction of the price was high after the periods when the RSI spent a long time outside the band. As a result of my observations, I prepared this indicator.
This indicator shows you the accumulation and distribution areas that occur outside the rsi band.
There are 3 different levels available.
Level 1 = 5 Bars
Level 2 = 7 Bars
Level 3 = 9 Bars
For example, if the RSI spends more than 9 bars below the 30 level or above the 70 level, it will paint that area red. Levels can be changed from the indicator settings. The rsi is smoothed with simple moving average to reduce fake signals.
Using the RSI A/D indicator with different indicators or patterns will increase your success rate.
Examples:
RSI Objective LinesThe RSI is a contrarian indicator bounded between 0 and 100 where values close to the area of 30 represent an oversold condition and values close to the area of 70 represent an overbought condition.
Generally, we use the area of 70/75 and the area of 30/25 as extremes that signal a market reversal or a correction. But what if we calculate a simple way to make these levels more dynamic?
The main idea from these objective support and resistance levels is that market regime and dynamics move and as such fixed levels are unlikely to always provide value which means that we can try creating variable levels. The objective support and resistance levels are created following these steps:
* Calculate a 14-period RSI on the close price, let's call this RSI_Close.
* Calculate a 14-period RSI on the high price, let's call this RSI_High.
* Calculate a 14-period RSI on the low price, let's call this RSI_Low.
* Calculate the maximum range which is the highest value of RSI_High in the last 200 periods minus the lowest value of RSI_Low in the last 200 periods. Let's call this Max_Range
* Define the range width. By default, it is set to 5%. Let's call this Threshold.
* The objective support is calculated as the sum of the RSI_Low + (Max_Range * Threshold).
* The objective resistance is calculated as the sum of the RSI_High - (Max_Range * Threshold).
The levels are used in the same way as the oversold and overbought levels. They are more dynamic as they take into account the fluctuations of the RSI so you might see at some point in time a support at 20 and at another at 35.
RSI Trend Veracity (RSI TV)The RSI only plots itself between a high and a low value. It does not show its bullish/bearish sentiment.
The RSI TV shows the sentiment and helps anticipate the RSI trend but not the price trend.
When the Trend Veracity Line is in green, there is bullish sentiment. When it is in red, there is bearish sentiment.
The closer the lines get to their extremities, the more the current trend of the RSI is exhausted.
It works quite well even in choppy markets. See notes in the picture for more details.
RSI + GDAX EMA ConfluencerHighly customizable RSI + GDAX EMA tool to help you quickly spot levels of confluence
- Displays current RSI levels as a plot
- Displays current 12 + 26 EMA as a plot
- 7 customizable time frames
- Each time frame marks RSI oversold, RSI overbought, 12 EMA, and 26 EMA as a line with label
- Each time frame RSI and EMA have options to toggle visibility and oversold/overbought only so you can choose exactly what you want to see
Planned for future release:
- Further customization for lines (color, size, direction, etc)
- Further customization for labels (location, offset, color, size, etc)
- Highlighting areas of confluence (if 2-3+ lines are within a certain % of each other)
RSI ScalingRSI Scaling Indicator
Objective - Use for entry action
Description - RSI Scaling is the introduction of price to scaling it into 1 Standard deviation. Since the price scaling in general has a wide distribution of data, we need to scaling the data to reduce fragmentation. After that, bring the price data that has been made standardization into the RSI Model.
Applications - The principle of RSI Scaling is to use it as an executed order
Recommendation - RSI Scaling should be used in conjunction with indicators used to filter trend. for example Supertrend
RSI Wave SignalsQuick Description: Smoothed RSI with optimized trailing moving average. Look for cross above or cross under signals for buy and sell orders respectively.
VIDYA moving average of RSI incorporated with "optimized trend tracker" system. Thanks to kivancozbilgic and anilozeksi for implementing this great idea on Tradingview. The indicator adds "1,000" to the RSI MA values for more natural and accurate percentage trailing.
Settings:
- Period MA is the moving average length of the blue line
- Trailing Percentage of MA adjusts the percentage (sort of) trailing level of the moving average.
- RSI Length adjusts the rsi length in calculation.
Trading Tips:
- System might be enhanced by taking signals only on "oversold" or "overbought" territories (i.e <~1020 or >~1080)
- Adjust position size of by 4 times of atr(length=14)
- Take 50% of position as profit when position reaches the 4*atr TP Level (breakeven)
- Let the rest ride.
- Best performing on short frequencies such as 1, 3, 5 mins.
RSI Multi TF strategy
The RSI is a very popular indicator that follows price activity.
It calculates an average of the positive net changes, and an average
of the negative net changes in the most recent bars, and it determines
the ratio between these averages. The result is expressed as a number
between 0 and 100. Commonly it is said that if the RSI has a low value,
for example, 30 or under, the symbol is oversold. And if the RSI has a
high value, 70 for example, the symbol is overbought.
Plots 3 RSI (Weekly, Daily, 4h) at the same time, regardless of the Chart Timeframe.
Highlights in green (or red) if all RSI is oversold (or overbought).
Can trigger custom oversold and overbought alerts when all 3 lines grey(4h), yellow(weekly), and red(daily) go in the oversold or overbought zone. The strongest the curves break the barrier the strongest the alert (vertical red and green bars) shows.
RSI CrayonsThis simple script colors candles based on the Relative Strength Index. RSI Values > 50 are solid colors, RSI values < 50 are pastels, with additional colors/fills/alerts for overheated and oversold (both user adjustable thresholds) conditions.
As an added bonus, RSI can be calculated by non-traditional methods (not using the running/smoothed moving average) using a variety of different moving averages, but you may have to adjust the time-frame for 'faster' moving averages. An option for plotting the moving average basis is also available.
Value Added:
This indicator can be used to chart RSI without adding an "oscillator frame" to your chart, since we don't normally care too much about RSI values between 30 and 70 under normal conditions.
RSI by WMA trendHello!
This oscillator is based on the RSI on the WMA trend.
How does it work?
The WMA indicator is a trend indicator, it conditionally smooths the price chart and allows you to visually assess the trend.
In contrast to the standard RSI, noise is removed here.
Buy when the price is near the bottom, sell when it is near the top (If it lingers for a long time at the upper or lower border, then it is possible that the growth and fall will continue)
Change the settings, select the time frame you need.
---- Settings:
1) RSI lenght - change the RSI length
2) Smoothing length-RSI smoothing
3) Back_series- change for WMA , how many series are back.
4.5) Borders
RSI OverBought/Sold Price PredictUsing the RSI formula, predict what price should be next to be oversold or overbought.
For using support and resistance, turn on "smoothing" option.
White Line = what price should be next to be RSI = 50.
Orange Line = what price should be next to be RSI = 70 or 30 (Default)
Yellow Line = what price should be next to be RSI = 80 or 20 (Default)
Green Line = what price should be next to be RSI = 90 or 10 (Default)
RSI medianA RSI implementation tailored for a specific use case.
Instead of using RSI with oversold and overbought values, I use it as a median value.
If the RSI is above 50, the trend is bullish.
If the RSI is below 50, the trend is bearish.
This indicator is customized to help you easily identify market strength/weakness based on which side of the median value the RSI is.
RSI Divergence (chiefwils0n)Greetings All,
This simple indicator is a stylistic modification of the original TradingView Divergence indicator. I've enhanced the following:
Styles
RSI will turn RED when overbought and CYAN when oversold. CYAN presents an LONG opportunity, while RED is where I look for SHORT entries.
Added background color to the the Oversold/Mid-Level and Overbought/Mid-Level. The idea is to go LONG when RSI is in the GREEN channel, and consider closing your position when RSI is the RED channel. Or, SHORT in the RED, and close your position in the GREEN.
Hidden Divergences are styled with muted colors. Maroon is Hidden Bearish and Dark Green is Hidden Bullish.
Regular Divergences have brighter labels with Red (Bearish) and Lime (Bullish). My logic is to bring attention to these divergences, since they are stronger than hidden divergences.
Alerts:
I also added the following alerts:
Bullish Divergence
Hidden Bullish Divergence
Bearish Divergence
Hidden Bearish Divergence
RSI Overbought
RSI Oversold'
The alerts really distinguish this script for me. I hope you enjoy.
Happy Trading!
RSI Divergence Indicator (colorcoded and smoothed)This indicator uses a custom RSI algorithm which displays a modified RSI and stochastic RSI as a simple to read and color coded oscillator.
When RSI turns green it signals a bullish divergence and considers the asset as overbought.
When it turns red it signals a bearish divergence and considers the asset oversold.
Overbought levels at 80 and oversold levels at 20.
Displaying the RSI this way removes the hassle to manually spot for divergences in the chart.
Only use this indicator in confluence with other indicators to confirm an upcoming trend.
This indicator features alarms when the indicator turns green or red.
RSI combined with 3 different indicatorsThis is RSI combined with 3 different indicators that prints signals as a overlay
1. RSI cross Bollinger Band indicator that paints bgcolor short and long signals when the RSI cross's up through the lower bollinger band ( Long ) or cross's down through the upper bollinger band ( Short )
2. RSI and Wave Trend Dot combination
3. RSI and Directional Index Indicator combinations
You can turn on and off any of the signals, and have alerts for all 3, or individually
Please note the Range Filter code in the script is not part of the final signals as i have set the bars back 100, so thatis always that condition meet
Also please note there is still noise with this, you need to use with something else like MFI or VFI
RSI, CCI WaveTrend God by Keiron RichieThis script uses Relative Strength Index ( RSI ), Commodity Channel Index ( CCI ) and WaveTrend (WT) together as an oscillator with an additional custom RSI rate of change indicator and buy/sell background color zones derived from a complex combination of these indicators.
The White line shows the moving average of RSI as an oscillator
The Green line is the fast Exponential Moving Average ( EMA ) of CCI & the Red line is the slow EMA of CCI .
The Blue area is the EMA of WaveTrend WT
How to read:
If the RSI , CCI or WT crosses above a programmed threshold and the other lines are also within a pre-defined buy range then the background will change to green for buy.
If the RSI , CCI or WT crosses below a programmed threshold and the other lines are also within a pre-defined sell range then the background will change to red for sell.
Where requirements are not met, the background is neither green nor red.
There are also red and green indicator x’s at the top/bottom of the indicator. They show a drastic change in Relative strength within a short period. This often indicates an immediate buy or sell opportunity.
Buy, Sell, Exit Buy and Exit Sell alerts are included.
Use the link below to obtain access to this indicator.
RSI cyclic smoothed v2Cyclic Smoothed Relative Strength Indicator
The cyclic smoothed RSI indicator is an enhancement of the classic RSI , adding
additional smoothing according to the market vibration,
adaptive upper and lower bands according to the cyclic memory and
using the current dominant cycle length as input for the indicator.
The cRSI is used like a standard indicator. The chart highlights trading signals where the signal line crosses above or below the adaptive lower/upper bands. It is much more responsive to market moves than the basic RSI.
You can also review this short idea where BTC went down from 4300 USD (3 Sept 17) to 3700 USD (15 Sept 17) after the idea was posted and showed the clear short exit with the next low:
The indicator uses the dominant cycle as input to optimize signal, smoothing and cyclic memory. To get more in-depth information on the cyclic-smoothed RSI indicator, please read Chapter 4 "Fine tuning technical indicators" of the book "Decoding the Hidden Market Rhythm, Part 1" available at your favorite book store.
This is the open-source code version of the requested script already published as protected indicator back in 2017 "RSI cyclic smoothed". Now made public as v2. Would love to receive feedback and see your ideas.