Volume Weighted Real Relative Strength (RS/RW)Volume Weighted Real Relative Strength (VRRS) measures the relative strength of a tickers vs. a benchmark ticker for the market, i.e. $SPY, and a benchmark ticker for the sector it is in. The calculation of VRRS is done as follow:
VRRS = * VolWeighted * 100
Where :
Close is Close price
smaClose is the last simple moving average value.
Ref is Reference ticker
VolWeighted is the volume weighted factor and is defined as (smaVol_short / smaVol_long); where smaVol_short, smaVol_long are the simple moving average of volume calculated for a short period (i.e. 21 period) and long period (i.e. 5 days), respectively.
Feature :
1. It can show two VRRS, one calculated against a market benchmark (i.e. $SPY) and one for a sector benchmark.
2. It shows also the bar plot of the benchmark ticker.
Comparación de fuerza relativa
Linear Regression Relative Strength[image/x/iZvwDWEY/
Relative Strength indicator comparing the current symbol to SPY (or any other benchmark). It may help to pick the right assets to complement the portfolio build around core ETFs such as SPY.
The general idea is to show if the current symbol outperforms or underperforms the benchmark (SPY by default) when bought some certain time ago. Relative performance is displayed as percent and is calculated for three different time ranges - short (1 mo by default), mid (1 quarter), and long (half a year). To smooth the volatility, the script uses linear regression to estimate the trend and takes the start and the end points of the linear regression line to compute the relative strength.
It is important to remember that the script shows the gain relative to SPY (or other selected benchmark), not the asset's gain. Therefore, it may indicate that the asset is profitable, but it still may lose value if SPY is in downtrend.
Therefore, it is crucial to check other indicators before making a decision. In the example above, standard linear regression for one quarter is used to indicate the direction of the trend.
NPMA Relative Strength IndexRecently been amased by the potential of percentile nearest rank. You can apply this to almost any indicator to find extremes, this script might the simplest form of using it while being very powerful. The background will color green when the rsi is in the top percentage ranges of last X amount of bars. I'm currently searching optimal settings to apply this to a simple 3commas bot. Feel free to comment good settings and help the community out making profitable bots.
ETH ratioCompares the currently selected symbol to a configurable symbol (defaults to ETHUSD).
Normalizes the ratio to be >= 0.1 and <= 10 to be readable for symbols with radically different ranges.
Sectors ScreenerThis screener compares the corresponding market sectors in relation to the complete market.
If a sector rises or falls equal to the market, the value is on the dashed line.
If a sector rises faster or falls slower than the market, the sector's line is green and above the dashed line.
If a sector falls faster or rises slower than the market, the sector's line is red and below the dashed line.
Comparative Strength [FT]This indicator calculates the comparative strength between 2 variables by subtracting them instead of division/ratio.
Example:
A is stronger than B, then if A-B, it would be positive because value A is bigger than B.
A is weaker than B, then when A-B, this would be negative because A is lower than B.
What it does:
It takes the difference of averages of variable A (ie: stock), and the same for variable B (ie: index), and then the result of those is substracted to get a value.
Why is this indicator useful ?
To visualise comparative values between 2 related variables. IE: stock-index, stock-commodities, forex-interest rates, forex-bond, forex-inflation.
DISCLAIMER: Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security, investment, currencies or assets.
Dominion - Bitcoin Altcoin Dominance [mutantdog]A simple and easy reference tool displaying a plot of the market cap dominance values for several significant cryptocurrencies.
The most widely used of these is bitcoin dominance (the top indicator shown above) which calculates the total market cap of bitcoin in relation to the total cryptocurrency market cap, displayed as a percentage. This is commonly used by traders to assess the strength of bitcoin in relation to the broader crypto market; increasing values being indicative of larger bitcoin moves and decreasing values often indicative of potential altcoin cycles. Likewise, ethereum dominance (the bottom indicator shown above) is frequently used as a means to indicate the strength of ethereum in relation to the broader crypto market.
Included options for marketcap dominance values are:
Bitcoin : CRYPTOCAP:BTC.D
Ethereum : CRYPTOCAP:ETH.D
Total DeFi (a composite of multiple top defi tokens): CRYPTOCAP:TOTALDEFI.D
Stablecoins (shows the combined dominance values for usdt and usdc): CRYPTOCAP:USDT.D + CRYPTOCAP:USDC.D
Flippening (shows the difference between bitcoin and ethereum dominance values): CRYPTOCAP:BTC.D - CRYPTOCAP:ETH.D
When used in combination with each other, these can provide a good overview of the general flow of capital within the crypto market.
Additional functionality:
up to three optional moving averages with a choice of SMA, EMA, WMA and RMA for each.
multi timeframe selector
alert condition presets for various moving average crosses.
Please be aware that, while useful as reference, dominance calculations are known to repaint frequently. As such the use of this indicator and its alerts should require caution.
NVTNetwork Value to Transactions Ratio (NVT) is defined as the ratio of market capitalization divided by transacted volume.
NVT Ratio can be thought of as an indicator that measures whether the blockchain network is overvalued or not.
If it is upper than red line, it means overvalued.
NVT Golden Cross targets to generate short or long signals by comparing the short-term trend of NVT and the long-term trend of NVT. If the short-term trend is way greater than the long-term trend is, the network can be interpreted as overpriced and will soon revert to mean value, meaning short signal. Similarly, the opposite case may imply a long signal.
Over the red line is short signal and under the green line is long signal.
You can find divergence in this indicator.
There are two sources
cryptocap
glassnode
Adaptive Relative Strength (ARS by Premal Parekh)Dear All,
This is my first public script modified to adapt the concept of Mr. Premal Parekh on Adaptive Relative Strength - ARS)
The original Script is developed by modhelius.
I have proved the version as per my requirement and included concept of ARS.
This script will remove the manual calculation task which is required on daily basis to calculate number of sessions from ARS Date.
Hope this script will be helpful.
If yes, do hit like button and share with your friends.
Ashish Kesarkar
India
Relative Strength Improved (Premal Parekh ASR Version)This script is improved over the existing script developed by Mr. modhelius
I have added ASR Concept of Mr. Premal Parekh.
This script will remove manual calculation of Trading Days from ASR Date.
Ratio (Relative Strength) & EMAsRatio (Relative Strength) & EMAs
This indicator is used to compare the actual symbol with another one by calculating the ratio. EMA1 and EMA2 of the ration are shown as well. The idea is to choose an index like the NDX or SPX for comparison and to determine if the actual symbol outperforms the index or not - separate the wheat from the chaff. The rules are as follow:
When the calculation ratio (symbol divided ratio symbol) is above EMA1 and EMA1 is above EMA2) the background turs green. If not the background turn red.
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.
Relative PerformanceThis indicator takes the Performance Table from @BeeHolder and converts it to a Relative Performance table so you can compare the current chart vs. an Index (or whatever other ticker you want) to see the relative performance of one vs. the other. I also added a cell for ADR, which is also the same value as "Monthly Volatility" in the stock screener. This can be useful when screening stocks based on performance and volatility.
Measure of Relative Strength on Trend ReversalDescription
The Measure of Relative Strength on Trend Reversal displays the relative strength of the symbol vis-a-vis a benchmark based on the trend reversal of the benchmark. At the end of the trend (i.e. when the trend of the benchmark moves from Uptrend to Downtrend, or vice-versa) the strength (measure) of the symbol's performance with respect to the benchmark is calculated. Additionally, the change% of the symbol and the benchmark are calculated and displayed. This 3 information is helpful in determining the relative performance of the symbol with respect to the broader benchmark trend.
Example
For example, consider that the benchmark turned from a downtrend to an uptrend, then at the last bar of the downtrend, the "RS Strength%", the "Symbol%" and the "Benchmark%" shall be displayed. The RS Strength% shows the outperformance/underperformance of the symbol with respect to benchmark for the duration of the downtrend. A negative% means underperformance and a positive% means outperformance. The Symbol% is the % change in the price of the symbol during the downtrend and likewise, Benchmark% is the selected benchmark for the downtrend.
Working
These counters are reset at the beginning of each trend reversal of the benchmark. When the performance of a symbol is stronger on benchmark downtrend for successive times, it is an indication of a strong stock in the making once the larger market recovers.
The trend of the benchmark is established on the basis of a lookback period that is configurable at the input. The trend is established on the reversal of the key moving average by the lookback that is configured. A downtrend in the benchmark is denoted by a gray background and a uptrend in the benchmark is denoted in green.
The input is explained below:
Comparative Symbol - The benchmark. Nifty50 is the default value
Chart Type - Line or Candle plot of the Relative Strength with respect to Benchmark
Lookback for benchmark trend - Lookback to determine the trend of the benchmark
Display RS Strength% - Option to disable the RS strength value and focus only on the RS trend
Ways to use
Backtests show that this indicator is best used on a Weekly Timeframe, with 10 lookback for the benchmark. Any symbol that is constantly beating the benchmark on a downtrend is a strong candidate for outperforming once the market recovers.
On selecting a group index as the benchmark it is possible to identify the strong stocks in the group, those with the highest RS Strengths are the outperformers of the group.
QuantAnna: Relative Strength Plus (RS+)NSE:TATAMOTORS
Relative strength indicator which shows ratio between two stocks/assets .. usually between stock & its indices
features of indicator is as following.
1. Values oscillates around zero, it is bullish when above zero & bearish when below zero.
1. Weighted smoothing which removes unwanted whipsaws but keeps trend curve intact.
3. In-Built list of Nifty sector indices to show stocks comparison with its sector
please do send your feedback and suggestions.
Simple RSI tableThis is a simple RSI table for traders that don't want the graph, only the current value.
Location, thresholds, and colors are all adjustable.
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
Fixed Reference Ratio Charts (RSWarriors(R))A Ratio Chart, for analysis with any benchmark. This is the open source version of the earlier, Fixed Ref. Ratio indicator. This is the version that will be maintained in the future.
Plots a ratio of the symbol to benchmark. Plots, all time high ratios (orange bubbles), Increasing ratios (blue bubbles).
Detailed write up will be added in subsequent updates.
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.
Relative Strength ComparisonThis indicator compares the difference in percentage change between two symbols
over a user-specified number of bars.
Default settings will show the difference between the current symbol and the
S&P 500 ETF (SPY) over 10 bars. It can be used to determine if the stock is
showing relative strength or weakness compared to the overall market.
Altseason FinderTo know when to buy altcoins instead of bitcoin.
It is based on BTCUSD and BTC Dominance RSIs.
MACD Long StratFirst script I've written, but the concept is pretty simple. This uses the MACD with settings fast_SMA = 6 and slow SMA=16 and uses the distance between the 2 (histogram) to look for potential trend reversals to flag potential entries for Long trades. It waits for the confirmation looking backward 2 x timeframes (to reduce false calls slightly). You can adjust it to open / close quicker (1 timeframe instread of 2) but backtesting shows 2 timeframe delay is best to avoid false signals.
The script suggests Long entry points based on this criteria and uses the converse (reducing histogram / SMA difference delayed by 2 timeframes) to suggest exit or trade close points for downward reversal. It was originally written looking at 1m scalps but backtesting shows this is even more effective on higher timeframes (1D).
Relative Strength Ratio Chart + Relative Volume Gradient CandlesThe purpose of the Comparative Relative Strength Ratio indicator is to provide a way of looking at a relative strength ratio as a candle graph instead of only a closing price line, as well as to provide relative volume gradient coloration on the ratio-generated candles, and additionally to plot moving averages of the CRS ratio that can help display shifting trends in relative strength.
This is different from my Relative Volume Gradient Paintbars indicator, as well as my Comparison Chart with Relative Volume Gradient Paintbars indicator, in that the first looks at the charted symbol itself, the second looks at an alternate symbol, and this third indicator looks at a ratio between the charted symbol and the alternate symbol.
The idea behind this indicator is to provide additional means of evaluating relative strength, such as comparing the moving averages of the comparative relative strength ratio graph to the charted stock symbol's own MAs in order to gauge strength, comparing the price action of the ratio to that of the individual stock and its index, and comparing the volume gradient signal between the ratio, the stock, and the index.
The unique volume features allow comparing volume as a percent of the index volume, as well as stock's candle range as a percent of the range of the index. So when the volume as a percentage of the index's overall volume becomes high, this can be made to highlight the candles.