Relative Strength (IBD Style)This script is meant to give you a Relative Strength indication of the stock. The goal is to use a similar calculation as used by IBD.
It calculates the performance of the current stock for the last year (most recent quarter is weighted double) and compares it to the performance of a reference index or ticker (default is "SPY").
IBD would give you a value between 0 and 100 because this value is the percentile within all stocks. This is not possible with Pine Script at the moment.
So here you get a Relative Strength value that is >0 if the stock is stronger than the index and <0 if it is weaker than the index.
You can still compare the Relative Strength values between stocks (bigger is better) but you won't know which percentile it is right off the bat.
Relativestrength
TRIX RSI - Tripple Exponetial Relative Strength (TRSI) This indicator applies the RSI formula over the TRIX indicator to get the TRIX RSI.
The EMA and the TRIX RSA cross gives you an indication for a trend change
Relative Strength 3D Indicator [CC]This is a custom indicator of mine loosely based on the work by James Garofallou (Stocks and Commodities Sep 2020 pg 14) and this is meant for medium to long term trend confirmations. The idea behind this indicator is to capture 3 different dimensions of trend strength. The first dimension captures the overall strength of the underlying stock vs the market (in this case the S&P 500). The second dimension captures the overall trend strength by assigning a scoring system so when all faster moving averages are stronger than slower moving averages then it gets the max points. The final dimension is the strength of the overall strength of everything so far. Buy when the indicator line turns green and sell when it turns red.
Let me know if there are any other indicators or scripts you would like to see me publish!
Relative StrengthPowerful tool to calculate and display the strength of a security compared to another security.
Some Main purposes are:
- finding new leadership in a market correction
- comparing a market leader with a top competitor
- tracking rotation in the market
.. and so much more!
This tool is highly configurable, you can especially change:
- The reference symbol (SPY, QQQ, BTCUSD, ...)
- The time span to indicate a new High or Low in a certain time-frame
- Factorize your RS-Chart to make it fit to the original chart. (Moves the chart up or down)
- Option to repaint your candles / bars when a new RS High occurs in the given timeframe.
Enjoy and have a great day!
Powerful_Trading
Ultimate RSIsThis RSI script includes everything you could want on an RSI. There are multiple timeframes which will give context to market movement, as well as a highlight feature to make it easier to visualize overbought and oversold stocks.
Tip: Uncheck the 4 plots with no color in them to remove the extra headers on the indicator.
Screener: Alpha & Beta IndexThis is a Index Screener which can short list the major Sectors contributing to NIFTY movement that day.
This helps in sector based trading, in which we can trade in the stocks which falls under that particular sector.
No need to roam around all the stocks in the whole watchlist.
It is recommended to create sector wise watchlist of all sectors. It will be easier to concentrate in only one sector.
For example in IT sector index there are certain stocks which contribute to the movement of IT sector.
This will be available in NSE (or exchange website).
For detailed description check out the descriptions in my previous 2 Alpha and Beta indicators.
Combine and use this screener with my previous Alpha & Beta indicator.
Screener: Alpha & BetaThis is a Live Screener for my previous Alpha & Beta indicator, which filters stocks lively based on the given values.
Use 5min timeframe for Live Intraday.
The default stocks in the screener is selected based on high beta value from F&O listed stocks. It may include other stocks also.
User can input stocks of your choice either through the menu or through the Pine editor.
The maximum number of stocks inputs is only 40. The indicator includes only 20 stocks by default.
More number of stocks can be added but it makes the screener slower to load.
Open the indicator in a sperate tab or window to avoided the loading lag.
It is recommended to choose only 10 to 20 stocks based on the weightage from each sectors.
Beta values are dynamic. It changes from day to day based on the trend and sector.
Update the sock list weekly or twice a week or monthly.
Use investing.com screener(preferably) or TradingView screener for shortlisting beta stocks.
Remember that majority of indicators fails in a sideways market, also every indicator is not 100% accurate.
Alpha & BetaHow to use Alpha(α)?
If Alpha is positive the stock outperforms, if the value is negative means the stock underperforms.
α < 0: The investment has earned too little for its risk (or, was too risky for the return)
α = 0: The investment has earned a return adequate for the risk taken
α > 0: The investment has a return in excess of the reward for the assumed risk
How to use Beta(β)?
β = 1: Exactly as volatile as the index
β > 1: More volatile than the index
β < 1 > 0: Less volatile than the index
β = 0: Uncorrelated to the index
β < 0: Negatively correlated to the index
β > 2: Trending stock
Higher the β higher risk/reward
Example: If the beta is 1.1, the share price is like to move by 10% more than the index
Trading Tip
Choose a stock with Alpha greater than 0 and Beta greater than 1.9 for intraday in 5min timeframe for long positions
Remember that such stocks will have high risk and high reward
Shortlist stocks with Beta greater than 1.9 for next day in 5min timeframe
Relative strength DivergenceThe following indicator uses relative comparison of two assets by the formula n/s3, where n is the t asset on the screen while s3 the underlying assets it is being compared to. The usefulness of the indicator is to primarily compare the assets being traded like BTC (most prominent crypto with largest market cap), with some other crypto like TRX(this has a relatively smaller market cap). Since we get a broader market view through relative comparison of the two assets, the most important function is to find the edge through divergences. Just like RSI the divergences rules would be the same and most important trades would be trades in the direction of the trend along accompanies by divergences that are in line with the trend. Simple divergences work for the best trades with default settings. Although BTCUSD is the default asset to compare with it can be switched with any other asset as well, but it is very much preferred that one uses some type of index as the base asset for comparison. Other than that for simple trading the trend MA crossover can also be used as a signal for simple trend following.
RS.ROC | Relative Strength - Rate of Changes - 4CR CUPFor completeness of Relative Strength studies, the Relative Strength based on rate of changes (ROC) with weighting is coded and presented as well.
The RS.ROC is similar to the formulation of RS by IBD before rank among all the stocks in the market.
The lookback period is relaxed for customizing. Once you set the total lookback period, representing the 4Q, in the indicator, the other shorter lookback periods will be auto-calculated, namely, 1Q, 2Q, 3Q.
A simple moving average of the RS.ROC is also added for your easier analysis on the trend development of the strength.
To use it later at your charting later,
1. Favorite it;
2. Select from your favorite list.
RS Line - Gauge Performance vs IndexOverview:
This implementation of the RS Line mimics how Investor's Business Daily and CANSLIM investors measure growth stock performance versus the S&P 500.
If you are looking at a weekly chart, the RS Line is the performance of the stock over the past week versus the S&P 500 over that same time frame. The same logic applies to the daily and monthly charts, only the time frames are different.
If a stock moves up for the day/week/month and the S&P 500 does not, the RS Line will move up. If a stock ends the day/week/month flat, yet the S&P 500 moves up, the RS Line will go down.
Usage:
- Look for an upward sloping line.
- The steeper the line, the better.
- Can be used for viewing long-term trend.
Non-Rescaled RSI█ OVERVIEW
Relative Strength Index is a momentum oscillator developed by J. Wilder. The original version of RSI rescaled the relative strength measurement to range. While the rescaling is useful for readability, This non-rescaled version tells the exact average relative strength of the movement for the past period, and give another way to put the relative strength reading into context of current market condition.
█ Description & How To Use
1. The (+/-) in relative strength value indicates the direction
Example 1: Relative Strength of 2.33 means average gain is 2.33 bigger than average loss for the past period (Equivalent to RSI 70)
Example 2: Relative Strength of -2.33 means average loss is 2.33 bigger than average gain for the past period (Equivalent to RSI 30)
Example 3: Relative Strength of 0 means average gain is equal to average loss for the past period (Equivalent to RSI 50)
Look at comparison below:
2. You can use it exactly how you would use RSI: Overbought/Oversold state, Divergence, Trend identification, Failure Swings etc..
█ Features
- Overbought/Oversold line still maintainable as standard RSI level (70,30) in user input screen. The script will recalculate and plot the ob/os level accordingly
- Value Label to indicate the RSI and RS value
- Custom Gradient Color Scheme
█ Limitation
The Relative Strength absolute value is capped at 20 to avoid ratio value too big(or too small). This is enough to get accurate equivalent of RSI reading between 5-95
█ Disclaimer
Past performance is not an indicator of future results.
My opinions and research are my own and do not constitute financial advice in any way whatsoever.
Nothing published by me constitutes an investment/trading recommendation, nor should any data or Content published by me be relied upon for any investment/trading activities.
I strongly recommends that you perform your own independent research and/or speak with a qualified investment professional before making any financial decisions.
RSI HistogramThis an experiment to visualise the famous RSI indicator within a Histogram.
Opposed to regular RSI this RSI is plotted into a Histogram and uses different scales (100 to -100), in addition it has the ability to smooth the RSI with various moving averages like HMA, JMA and KAMA.
About RSI:
The RSI measures recent performance of a given stock against its own price history performance, by combining the average gain or loss a particular security owns over a predetermined time period.
Bars can be colored in Settings (Disabled by default)
Enjoy and like if you like :)
Percentage Relative StrengthA relative strength indicator that compares your main symbol (one on your chart) strength to another symbol by percentage.
The result is plotted as a histogram showing which symbol is rising or falling more in percentage.
In case your chart symbol is TSLA (Tesla) and the indicator 'Symbol to compare' is SPX:
GREEN area (above zero) means TSLA is rising more than the SPX.
RED area (below zero) means TSLA is falling more than the SPX.
To these who wants to understand calculation, it's pretty straightforward.
For each asset we calculate everyday percentage change based on previous close and current close.
We take main asset (chart symbol) percentage and subtract it from percent of change of the symbol we want to compare to.
Result are smoothed by SMA (Simple Moving Average)
You can select different indexes or cfds such as S&P500 (SPX), NASDAQ 100 (NSX), RUSSELL 2000 (RUT) and NASDAQ (IXIC).
Default is S&P 500 (SPX).
Enjoy and Like if you like.
Adaptive and Static Relative Strength OverlayThis indictor combines adaptive and static relative strengths and displays the strength in a unique colour coding on the bars.
With this the one can view the performance of both the relative strengths in one indicator and overlay-ed on the price chart.
Adaptive Relative Strength - Date is identified based on market scenarios. It will change based on how the market trends in the future.
Static Relative Strength - Date is fixed (123 sessions). Roughly corresponds to 6 months.
The (default) colour coding is:
If "Both" is selected:
ars > 0 and srs > 0 = Blue
ars <=0 and srs <= 0 = Maroon
Orange otherwise (Any of ars or srs is negative)
If "Only ARS" is selected:
ars > 0 = Blue
Maroon otherwise
If "Only SRS" is selected:
srs > 0 = Blue
Maroon otherwise
Additionally the ARS and the SRS will be marked as labels on the bars corresponding to the reference dates.
The current ARS and SRS values will be market as label on the last bar.
Source can be any valid source, close is selected by default.
Default benchmark is "Nifty 50" the NSE Indian benchmark. This can be changed.
Relative Strength OverlayThis is the original script to my other Relative Strength indicator (link below) It provides a graphical overlay of the Relative Strength, compared to the QLD, a Nasdaq x2 ETF.
You can not use the value to compare to other stocks or securities, as it is scaled based on the price (so it can be used as an overlay).
If you want a value which you can use to compare with other stocks, please see my other Relative Strength indicator.
Relative StrengthA relative strength overlay, similar to that of IBD shown on Marketsmith.
The value is not from 0-100, it is compared with the Nasdaq x2 ETF, QLD. Therefore, if greater than zero it will give you a good indication that the stock has a very good relative strength.
Feel free to change the comparison ETF to one of your choosing.
RSI Double MTFCool little gudget of Multi time frame RSI with additional RSI. Both can be set to a different time frames.
Higher time frame (Second RSI) indicates the main trend by different colors - 'red' (down trend) and 'green' (up trend), where the first RSI can act as a normal RSI.
Suggestions/Questions or a thanks below :)
Follow for more updates and new indicators follow: www.tradingview.com
ElearnMarkets CRSHi Everyone,
How it works?
1. With this indicator you can compare any other symbol of index/security with selected symbol.
2. You can compare with three different Indices/symbols.
3. Also you can keep different timeframe to compare with the current symbol.
4. No need to add multiple indicators for same purpose.
Feel free to suggest any changes to the indicator.
I hope this indicatory could help you achieve what you expect.
Thanks,
Yogesh
ElearnMarkets RSHow it works?
1. With this indicator you can compare any other symbol of index/security with selected symbol.
2. You can compare with three different Indices/symbols.
3. Also you can keep different timeframe and length of period to compare with the current symbol.
4. No need to add multiple indicators for same purpose.
Thanks,
Yogesh
Relative Strength : Indian Stocks VS NIFTYIt measures the Relative strength of Indian Stocks vs NIFTY Index
Adaptive Relative StrengthAdaptive Relative Strength shows a line of relative strength with a moving period in relative to Nifty 500 for Indian Market,
by default its 45 days but you can change as per your need or change relative symbol as per your need.
Relative CandleThis script visualizes the relative movement of a single OHLC candle compared to an index (or another symbol). The vertical location of the candle indicates the general positive/negative comparison of the bar vs the index. The color of the candle indicates how the candle moved relative to the index. The wick indicates the closing range compared to the index (did the symbol close at lows of the bar while the index closed at highs).
The area graph in the background shows the average relative close over a 10-day simple moving average.
I use this to pop any behavior that is out of line with the market, whether positive or negative. For example, is a red bar day due to the market pullback or something specific to the stock. Or did the market pull back and the stock did the opposite, strong day!