HARSI + Divergences// All credit to © //@author=JayRogers & VuManChu Cipher B for their original Scripts (Open Source)
/ ====== ABOUT THIS INDICATOR
// I've combined some part of the code of the following indicators to get some alerts based on the Idea and Use section below :
// - RSI based Heikin Ashi candle oscillator
// - Divergence based on the VuManChu Cipher B
//
// ====== ARTICLES and FURTHER READING
//
// - www.investopedia.com
//
// "Heikin-Ashi is a candlestick pattern technique that aims to reduce
// some of the market noise, creating a chart that highlights trend
// direction better than typical candlestick charts"
//
// ====== IDEA AND USE
// - The use of the HA RSI indicator when in the OverSold and OverBought
// area combined to a Divergence & a OB/OS buy/sell
// on the Cipher B by VuManChu.
// Can be useful as a confluence at S/R levels.
// *** Tip = 1 minute timeframe seems to work the best on FOREX
//
// *** Alerts :
// - The Divergence alert needs 2 bar to calculate,
// so alerts and dots as well, it will be placed on the right spot on
// the chart as per the offset added.
// - Use "Once Per Bar" for the alert, not per bar close, or you would
// have 1 extra bar delay
//
// ** Contributions : Remodel some part of the original script in order to get :
// --> Total conditions for an alert and a dot to display, resumed :
// - Buy/Sell in OB/OS
// - Divergence Buy/Sell
// - RSI Overlay is in OB/OS on current bar (or was the bar before)
// when both Buy/Sell dots from VMC appears.
//
// ====== DISCLAIMER
// For Tradingview & Pinescript moderators =
// This follow a strategy where RSI Overlay from @JayRogers script shall be
// in OB/OS zone, while combining it with the VuManChu Cipher B Divergences
// Buy&Sell + Buy/sell alerts In OB/OS areas.
// Any trade decisions you make are entirely your own responsibility.
//
// Thanks to dynausmaux for the code
// Thanks to falconCoin for inspired me to start this.
// Thanks to LazyBear for WaveTrend Oscillator
// Thanks to RicardoSantos for
Relative Strength Index (RSI)
Relatively Good Adviser This indicator uses the RSI as the backbone of an extremely sensitive two-indicator trend following system.
This indicator is unique in that it uses the RSI as an anchor to attempt to solve for color where there is divergence nearby.
PatronsitoPIndicator for the "Patrón Poderoso" strategy.
This strategy is based on Bollinger Bands and RSI and try to determine overbought or oversold zones where you can trade. Both indicators are combined to provide a stronger signal.
By default, it is considered an overbought zone when price is over BB upper and RSI above 80. That would be a short signal. Price below BB lower and RSI below 20 means an oversold zone and therefore a long signal.
EMA 13 (by default) is included as a guide for exiting the operation.
Alarms for signals in any direction can be used.
RSI ProfileThis indicator shows the RSI profile from historical RSI Value and High / Low RSI Pivots.
It is inspired by the Volume Profile which is a common charting study that indicates activity at specified levels. It plots a histogram on the chart meant to identify dominant/significant levels.
This script is profiling RSI levels into a histogram, which can identify the crucial RSI values in the chart. Along with the pivot options that can help identify the dominant pivot points where RSI values had been rebounding historically.
How to use:
There are three profile types available in the settings. When selecting RSI Values, the indicator will count RSI values from history, and plot the count in a histogram at the end of the chart. If you select RSI Pivots High or RSI Pivots Low, the indicator will count only the RSI Pivot Highs and Lows and plot the count in a histogram. Users can select the Pivot Left/Right length from the settings.
Users can extend the POC line to the left, to study how the values had been reacting to POC
Please note: Since the RSi values range from 0 to 100, the indicator is rounding off the values to absolute numbers. This can cause a situation where multiple POC are identified, to find the unique POC, you can increase the width of the histogram.
The Max/Min RSI settings are for visual purposes only, it can help users shrink down the histogram's top and bottom visibility
Catching the Bottom (by Coinrule)This script utilises the RSI and EMA indicators to enter and close the trade.
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 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.
An exponential moving average (EMA) is a type of moving average (MA) that places a greater weight and significance on the most recent data points. The exponential moving average is also referred to as the exponentially weighted moving average. An exponentially weighted moving average reacts more significantly to recent price changes than a simple moving average simple moving average (SMA), which applies an equal weight to all observations in the period.
The strategy enters and exits the trade based on the following conditions.
ENTRY
RSI has a decrease of 3.
RSI <40.
EMA100 has crossed above the EMA50.
EXIT
RSI is greater than 65.
EMA9 has crossed above EMA50.
This strategy is back tested from 1 April 2022 to simulate how the strategy would work in a bear market and provides good returns.
Pairs that produce very strong results include ETH on the 5m timeframe, BNB on 5m timeframe, XRP on the 45m timeframe, MATIC on the 30m timeframe and MATIC on the 2H timeframe.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
3 Series Cross Indicator with Alerts - by WAMRAThis Indicator allows users to add any 3 combinations of moving averages (SMA, EMA, RMA, RSI, Stochastic RSI, WMA, VWAP ) with granular alert conditions.
Users can alert when all series are in climbing or declining mode.
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.
Bearish Market Indicator V2Definition
Have you ever wonder whether if the stock/index/market is "bearish" ? A Bearish Market Indicator (B.M.I) is not a new concept, the definition is simply 20% lower from the recent (term: short-term, recent: usually within a year, a.k.a 1 year) highs (closing price with in the recent period or within in a year or simply a 52-Week High). It is called “bearish” by definition when the closing price is below 20% from the highest price within the year (52-Week high: Green Line). To visualize the “20%” below the recent highs, there is a plot (line: light yellow color in the middle) called a Bearish Market By Definition Value. For example, the SPX 500 has been in a bearish market which is why there is a purple color highlight over the 52-Week High (green line) since September 21, 2022 because the closing price is below the Bearish Market By Definition Value (light yellow color) or “20% below the recent highs”. Finally, there is a red line under in the graph and it is the lowest price within a year. So when you hear, “this ticker is at a 52-Week Low”, you know what it means.
Line Summary:
Green Color Line = 52-Week High
Yellow Color Line = 20% away from the 52-Week High or Bearish Market By Definition Value
Red Color Line = 52-Week Low
Color Summary:
Red Color = Bad
Saturated Red Color = Very Bad
Purple Color = Bearish (It may look pink: red + purple)
White Color = Less Bad (That’s because there is no certainty only probability)
Green Color = Not too Bad (That’s because there is no certainty only probability)
Now to more complicated Metrics
>> If you do not like the technical indicators, go to the indicator settings, uncheck the tables. Otherwise, please continue reading. <<
Pre-requisites
+ Understand that the indicators are lagging indicators.
+ Using it under “D” or “Day” interval
+ Already Understand: Moving Averages, Stochastic-RSI, RSI, Super Trend and MACD.
+ Please be aware that this might not be compatible with traders!
Indicators
This B.M.I is fused (comprised, combined) with multiple indicators:
- Moving Averages
I would not rely just on the Moving Averages (MA) since it is a lagging indicator. The values are derived by finding the differences with respect to the MAs (between the closing price and with the respect MA).
- Stochastic-RSI
Stochastic and RSI combo with RSI-Color coating. The first value is the rsi-stochastic-k followed by the rsi-stochastic-d both are compartmentalized with “|”.
Parameter:
Numbers > 80 Not Good
Numbers < 20 Is it time? (You can manually verify the lines (k, d) or the values from them)
- Relative Strength Index (RSI)
The first value is the rsi followed by the rsi-ma both are compartmentalized with “|”. It is also coated with RSI-color.
Parameter:
Numbers > 70 Overbought | Color Red
If the RSI > RSI’s MA = Green
If the RSI < RSI’s MA = Red
Numbers < 30 Oversold | Color Red
- Moving Averages Convergence Divergence (MACD)
The first value is the MACD-line followed by the signal-line both are compartmentalized with “|”.
Macd-line > signal line = green
Macd-line < signal line = red
- Supertrend (please look up from the documentation; i can not embed the link)
Think of this way, you’re riding a wave. If the wave is climbing, expect the price to follow.
Direction < 0 = Green
Direction > 0 = Red
- Other Trend similar to supertrend
This is similar to the Super Trend according the some. Imagine you’re drawing a trend line manually within 6 months.
Within the period, the line gets smoothed over and over til the n=9.
> If the closing is less than the 9th value, it implies the trend is slowing down.
Usage
Adjustments
+ Since there are different holidays from different countries, you can change the BMI-Period from the indicator settings “BMI-4khansolo”.
+ You can hide Technical Indicator Tables, it is also under the settings (see above).
> This will show red over the 52-Week high if it tests for positive .
Purpose
Do you like eating the same food over and over? No! I love different food! I also love a variety of indicators. Especially, I love having MULTIPLE indicators presented in one canvas at the same time (personalized).
After spending a lot of time, I want to share my “FOOD” which is made of different ingredients (indicators) with someone who appreciates food! This Makes me a chef isn't it? Yes! Chef!
Questions?
If you have questions or spotted errors, please comment them below so that I can improve.
Sources
All the materials (i.e., functions like ta.rsi, etc...) used in here are available in the platform.
All the references or sources materials are commented with the code since the I am not allowed to put them here.
Adaptive Rebound Line Bands (ARL Bands)These bands consist of 4 ARLs (See: Adaptive Rebound Line ('ARL'/AR Line)) that help accurately spot price rebounds.
It is excellent for 15 minute scalping and price-action trading.
See notes in the picture above for more details.
Note: "Top Deviation" is the deviation of the top 'ARL', "High Deviation" is for the high 'ARL', etc.
Outback RSI & Hull [TTF]This indicator was originally made to help users following along with one of our strategies that we call The Outback (hence the name).
One of the component indicators of that strategy is an RSI with a Hull Moving Average added on top of the RSI as an additional reference for the momentum of the RSI. Many people either had difficulty setting this up correctly, or were having issues with the Indicator on Indicator component, so we built this indicator to assist in that regard.
As we continued to use it, we found it to be a pretty sound momentum indicator that had much to offer by enhancing the more normal RSI, and wanted to make this indicator generally available to the public.
The basic premise of this indicator is as follows:
The core is a traditional RSI with a "normal" (usually Simple) moving average
The "secret sauce" is adding a 2nd moving average (a Hull Moving Average, inspired by Insilico's awesome Hull Suite) based off the RSI
By leveraging the RSI's position relative to both the Simple and Hull moving averages, you can better gauge the relative strength of the current momentum, as well as better visualize longer-term momentum direction and strength based on the moving average slopes and direction.
Divergence for Many Panel (D4MP+)Divergence for Many Panel (D4MP+)
This Divergence for Many Panel indicator is built upon the realtme divergence drawing code originally authored by LonesomeTheBlue, now in the form of a panel indicator.
The available oscillators, hand picked for their ability to identify high quality divergences currently include:
- Ultimate Oscillator (UO)
- True Strength Index (TSI)
- Money Flow Index (MFI)
- Relative Strength Index (RSI)
- Stochastic RSI
- Time Segmented Volume (TSV)
- Cumulative Delta Volume (CDV)
Note : this list of available oscillators may be added to or altered at a later date.
The indicator includes the following features:
- Ability to select any of the above oscillators
- Optional divergence lines drawn directly onto the oscillator in realtime .
- Configurable alerts to notify you when divergences occur.
- Configurable pivot lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes, including the ability to enable automatic adjustment of pivot period per chart timeframe.
- Background colouring option to indicate when the selected 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.
- Oscillator name label, so you can clearly see which oscillator is selected, in the case you have multiple loaded onto a chart.
- Optional adjustable range bands.
- Automatic adjustment of line colours, centerlines and range band levels on a per oscillator basis by default.
- Ability to customise the colours of each of the oscillators.
What is the Ultimate Oscillator ( UO )?
“The Ultimate Oscillator indicator (UO) indicator is a technical analysis tool used to measure momentum across three varying timeframes. The problem with many momentum oscillators is that after a rapid advance or decline in price, they can form false divergence trading signals. For example, after a rapid rise in price, a bearish divergence signal may present itself, however price continues to rise. The ultimate Oscillator attempts to correct this by using multiple timeframes in its calculation as opposed to just one timeframe which is what is used in most other momentum oscillators.”
What is the True Strength Index ( TSI )?
"The true strength index (TSI) is a technical momentum oscillator used to identify trends and reversals. The indicator may be useful for determining overbought and oversold conditions, indicating potential trend direction changes via centerline or signal line crossovers, and warning of trend weakness through divergence."
What is the Money Flow Index ( MFI )?
“The Money Flow Index ( MFI ) is a technical oscillator that uses price and volume data for identifying overbought or oversold signals in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100. Unlike conventional oscillators such as the Relative Strength Index ( RSI ), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI .”
What is the Relative Strength Index ( RSI )?
"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 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. It is also commonly used to identify divergences."
What is the Stochastic RSI (StochRSI)?
"The Stochastic RSI (StochRSI) is an indicator used in technical analysis that ranges between zero and one (or zero and 100 on some charting platforms) and is created by applying the Stochastic oscillator formula to a set of relative strength index (RSI) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold. The StochRSI oscillator was developed to take advantage of both momentum indicators in order to create a more sensitive indicator that is attuned to a specific security's historical performance rather than a generalized analysis of price change."
What Is Time Segmented Volume?
"Time segmented volume (TSV) is a technical analysis indicator developed by Worden Brothers Inc. that segments a stock's price and volume according to specific time intervals. The price and volume data is then compared to uncover periods of accumulation (buying) and distribution (selling)."
What is Cumulative Volume Delta ( CDV )?
"The CDV analyses the net buying at market price and net selling at market price. This means, that volume delta is measuring whether it is the buyers or sellers that are more aggressive in taking the current market price. It measures the degree of intent by buyers and sellers, which can be used to indicate who is more dominant. The CDV can be used to help identify possible trends and also divergences"
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.
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.
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.
Disclaimer : This script includes code from several stock indicators by Tradingview as well as the Divergence for Many Indicators v4 by LonesomeTheBlue. With special thanks.
Multiple RSI One Time FrameI was working on something else and decided to release this as a standalone script just in case you needed it. I just took the source for generic RSI indicators and combined them into one indicator to save space.
Multiple RSI5 rsi plots combined into one single indicator. I just took the source code for a generic RSI indicator and combined them into one indicator so that you wouldn't have to. I'm honestly not even sure this is necessary because they probably already exist out there but I was working on something else and figured I'd publish this part of it as a stand alone script in case somebody needs this.
Om RSI Best works in 15 min chart.
It will compare RSI of current candle with its weighted moving average, price strength, hourly and daily RSI.
TIGER ALERT RSI DIVThats our first RSI DIV indicator for free use.
What is an RSI divergence?
What Is the Relative Strength Index (RSI)?
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 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. T
raditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.
Buy the dips - sell the topsThis script is a merge of the RSI and the Williams %R.
I've observed that in strong uptrends, we go from RSI overbought to RSI overbought, but it hardly gets oversold. (the same in the opposite direction)
To find a better entry point, Williams %R is used to find oversold conditions in an uptrend or overbought in a downtrend.
=> When W%R returns from oversold/overbought to normal, a triangle will be plotted and this is the point of entry to add to your position. (there's an option to mark all candles in the overbought/oversold region, by default it is off)
=> When RSI goes from overbought back to normal it will tell you to buy the dip. In a downtrend it will tell you to sell the tops.
=> When the RSI gets oversold and the previous RSI was overbought, it will mark to exit the position
I did backtest this one with a risk to reward of 2 and exit when target is reached.
Trading EUR/USD on the daily would return 28% after 10 years of trading with a success ratio of 43%.
Trading BTC/USD on the daily would lose 12% after 7 years and a success rate of 28%.
Trading it this way is not the best idea ;-) 2 Interesting observations however:
- Once you get the entry right, in 80% of the cases, you do reach the next RSI oversold/overbought level. Keeping your position open until you reach that level can be an option to maximize profits.
- When a triangle is plotted and it is the low compared to the previous more or less 5 candles (same for the high), chances are high it will be taken out a few candles later, so don't take a trade yet.
Using classic technical analysis might improve more your entry and exit positions.
Feel free to comment your best strategy using this indicator ;-)
Happy trading!
JSS:Relative Strength Index//Date: 5-Oct-22
//Author: Jatinder Sodhi
RSI Indicator with colour coding.
Blue - Long
Red - Short
Gray - Stay Out
Best used for Intraday on 5 minute charts. Works well on other timeframes as well.
@Inspired from Asit Baran's RankDelta-RSI Indicator.
RSI Shadow by TartigradiaHave you ever wondered how much the RSI can vary during an open session? How much wicks can make the RSI overshoots before it retraces for the close?
This indicator plots the RSI shadow, which is the area between the highest and lowest RSI values attained during each open session, from the high/low wick price candle (ie, not the open value).
Technically, we calculate the RSI as usual for all past bars, except for current bar for which we use the high and low values to calculate the RSI Shadow bounds. The invisible PineScript loop then repeats this process for each bar.
In practice, the RSI Shadow provides 2 different informations:
1. This allows to visually represent the variability that historically happened for each bar, which help in better understanding the context at the time and may help predict future similar patterns.
2. The closer the RSI is to one bound, high or low, the more bullish or bearish respectively the price action is. Intuitively, when RSI is close to the high shadow bound, it means that price action is so bullish it often closes in proximity to the highest value attained during the open session, hence very bullish sentiment. And inversely for low and bearish sentiment. To ease visualization of these sentiments, a background highlighting is provided.
The indicator works under all timeframes, but it appears to provide a very reliable information with longer timeframe. The background highlighting showing the bullish/bearish sentiment based on the RSI Shadow appears to indicate crypto market cycles relatively reliably, with 2-3 consecutive bars with the same background color indicating a strong trend.
False positives can be reduced by looking at both the background color and the RSI direction, if both are congruent (ie, both bullish), then the trend indication is good, otherwise the trend indicated by the background color should be disregarded. An option was added to uncolor background if incongruent with RSI's direction.
There is also a "shadow margin" setting that allows to further reduce the number of false positives, at the expense of reduced sensitivity (a margin of 3 seems to eliminate most false positives).
Note: if you need a more complete RSI indicator with overbought/oversold signals, check out RSI+ (alt), which includes all RSI related indicators I make (such as RSI Shadow):
RSI Reborn [New Formula]A unique non-standard RSI formula with my extensions.
The indicator is displayed without delays and repaints, immediately after the close of the candle.
This formula allows me to correctly include the moving average in the calculation. The calculation allows me to display RSI with any type of MA.
By default I use EMA, with this type of MA my RSI is not visually different from a regular RSI.
I have 11 types of RSI to choose from:
'EMA'
'ALMA'
'RMF'
'TilsonT3'
'ARSI'
'RMA'
'SMA'
'VWMA'
'WMA'
'WWMA'
'ZEMA'
You also have a choice of RSI display:
As candlesticks and as a simple line.
You can adjust the colors in the Style tab.
When you select 'Candles' type, you can make the wicks transparent if they bother you.
I also added a source selection. By default, any RSI uses the Close source.
But you can choose any of 15:
VWAP, Close, Open, HL2, HLC3, OHLC4, Volume, High, Low, vwap(Close), vwap(Open), vwap(High), vwap(Low), AVG(vwap(H,L)), AVG(vwap(O,C)).
Additional extensions:
Additional RSI added.
By default, the extra RSI is twice as long as the regular RSI. Despite the value of 14. The "Multiple of Current TF" function allows calling RSI from a timeframe twice as long as the current one, if it is equal to 2. If it is equal to 3, then it will be 3 times longer than the current timeframe. And so on.
An additional moving average has been added.
You can use it as an ordinary additional line. Or leave it as Cloud by default.
A unique oversold/oversold formula in the form of small red/green dots has been added.
Bolinger Bands feature has also been added.
CFH | RSI-SRSI tableShows RSI and SRSI values on multiple timeframes, highlights oversold and overbought
Timeframes and colors are customizable
/V1llager/
Cutlers RSICutlers' RSI is a variation of the original RSI Developed by Welles Wilder.
This variation uses a simple moving average instead of an exponetial.
Since a simple moving average is used by this variation, a longer length tends to give better results compared to a shorter length.
CALCULATION
Step1: Calculating the Gains and Losses within the chosen period.
Step2: Calculating the simple moving averages of gains and losses.
Step3: Calculating Cutler’s Relative Strength (RS). Calculated using the following:
-> Cutler’s RS = SMA(gains,length) / SMA(losses,length)
Step 4: Calculating the Cutler’s Relative Strength Index (RSI). Calculated used the following:
-> RSI = 100 —
I have added some signals and filtering options with moving averages:
Trend OB/OS: Uptrend after above Overbought Level. Downtrend after below Oversold Level.
OB/OS: When above Overbought, or below oversold
50-Cross: Above 50 line is uptrend, below is downtrend
Direction: Moving up or down
RSI vs MA: RSI above MA is an uptrend, RSI below MA is a downtrend
The signals I added are just some potential ideas, always backtest your own strategies.
Harris RSIThis is a variation of Wilder's RSI that was altered by Michael Harris.
CALCULATION
The average change of each of the length's source value is compared to the more recent source value.
The average difference of both positive or negative changes is found.
The range of 100 is divided by the divided result of the average incremented and decremented ratio plus one.
This result of the above is subracted from the range value of 100
I have added some signals and filtering options with moving averages:
Trend OB/OS: Uptrend after above Overbought Level. Downtrend after below Oversold Level (For the traditional RSI OB=60 and OS=40 is used)
OB/OS: When above Overbought, or below oversold
50-Cross: Above 50 line is uptrend, below is downtrend
Direction: Moving up or down
RSI vs MA: RSI above MA is an uptrend, RSI below MA is a downtrend
The signals I added are just some potential ideas, always backtest your own strategies.
RSI Highs and LowsENG
RSI is usually used with closes but sometimes traders need to find out exact lows and highs while trading, therefore this script is written.
Green plot is the RSI value according to highs and red plot is the RSI value according to lows.
TR
RSI genellikle mum kapanışlarına göre kullanılıyor ama bazen alım satım yaparken en dip ve en tepeleri yakalamak istersek kapanışlara değil de bu en yüksek ve en düşük mum değerlerine ihtiyacımız oluyor. Bu nedenle bu kod yazılmıştır.
Yeşil grafik - en yükseklere göre
Kırmızı grafik - en düşüklere göre