Masculine Relative Strength - an FX strength comparison ind.This Relative Strength Indicator compares all majors and all possible crosses against each other. (eur,usd,nzd,gbp,cad,aud,jpy, and chf ). The higher the currency ranks the stronger it is. The lower a currency ranks the weaker it is. It is calculated by taking a 200 period moving average and scoring the pair as strong or weak depending on the position of the moving average in comparison to current price action. For example if we are on the eurusd chart and current price action is above the 200 that equals to plus 1 for the euro and minus 1 for the dollar. This same scoring system is then applied to all other pairs giving you the ability to potentially pair the strongest currency with the weakest.I warrant that this information created and published by me on TradingView is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors. This does NOT guarentee profits. Past performance is no guarantee of future results
Relative
RMI TFM:Chart + 3D + 1W + 1M This indicator defaults to;
Period: 20
Look Back For Momentum :5
OverBought: 80
OverSold :20
of a Relative Momentum Index indicator;
1- RMI value according to the candle duration selected in the chart, (black)
2- RMI value according to pure 3D candles with the security() function, (blue)
3- With the security() function, the RMI value according to pure 1W candles, (orange)
4- With the security() function, the RMI value (Gray) according to 1M candles shows.
It also calculates RMI according to the price value you enter manually and shows or hides it according to your preference.
Candle Strength IndicatorThe candle strength indicator depicts the average strength of the price action by evaluating bullish vs bearish candles.
The scale is relative to price fluctuation and the size of the candles for the particular ticker / market, so there are no significant levels.
A cross on the zero line would generally indicate a change in trend / sentiment.
This indicator may be useful as a filter for entries and use in confluence with other indicators.
Market First - Relative Strength/Weakness (the ZenBot strategy)This market-first trading strategy gives BUY, SHORT, and CLOSE signals based on volume, trend, and relative strength or weakness to the market (SPY by default, can be customized). This indicator is useful for signaling day-trade entries and exits for tickers that are strong (or weak) against the market.
Stocks that are showing relative strength (or weakness) to the market, are trending, and have decent movement generate a buy (or short) signal. When the trend runs out, a CLOSE signal is fired.
Potential profit (based on ATR) and actual profit is calculated, predicting the type of move expected
Unique 'stay in trade' logic helps prevent unnecessary CLOSE signals if a trend is likely to continue
A colored plot indicates the strength of the current trend and turns orange/red when the strength is weakened.
Crypto traders can uncheck 'Trade during market hours' for 24-hour trading, and should change the comparison ticker from SPY to BTCUSD or something similar for their market.
Enjoy!
KEY CONCEPTS
The three- and five-minute timeframes are used to establish and verify trend ( ADX /DI with custom logic)
Entries and exits are based on Parabolic SAR and confirmed on multiple timeframes, trend, and relative volume
Relative strength /weakness to the market compares ticker to SPY
Chop is avoided at all costs. I've experimented with choppiness indicator below 38, but found that the ADX DI+/- readings work even better.
Trend is established using ADX DI+/- readings over 20, confirmed by EMA 5/13 crossover and EMA5 slope
Signals will fire only if the average volume for the current 5-min bar is above normal
Only tickers with a five-bar / 13 period ATR of 1% the ticker's price generate signal.
Only longs above daily-anchored VWAP , shorts below daily-anchored VWAP
Signals fire on bar close to prevent repainting / look-ahead bias
Indicator labels and alerts generated
SIGNALS
BUY: up-trending tickers showing relative strength are bought on the three-minute PSAR
SELL: when the close price falls below the 1, 3, and 5-minute PSAR, or the ADX DI- falls below 20
SHORT: down-trending tickers with relative weakness are shorted on the three-minute PSAR
COVER: when the close price moves above the 1, 3, and 5-minute PSAR, or the ADX DI- falls below 20
ALERTS
Alerts are generated on BUY, SELL, SHORT, and COVER signals, as well as optional LOST RELATIVE STRENGTH and LOST RELATIVE WEAKNESS
INPUTS
Use relative strength /weakness comparison with the market : trigger trades based on the ticker's strength or weakness to the selected comparison ticker (usually SPY for equities or BTCUSD for crypto)
[* ]Comparison Ticker for relative strength /weakness : Ticker to compare against for relative strength /weakness
Trade during market hours only : Take buy/sells during specified hours. Disable this for crypto trading.
[* ]Market hours (market time) : Customize market hours - defaults to 9:30 to 16:00 EST
[* ]"Only trade very strong trends" : take trades only if an established trend is very strong ( ADX over 40 ) (DEFAULT = ON)
"Limit trade direction to VWAP" : Long trades only above VWAP , shorts below (DEFAULT = ON)
"Limit trade direction to Market direction" : Long trades only if SPY (or selected comparison ticker) is up, shorts if the market is down. (DEFAULT= ON)
"Limit trades based on a ticker's green/red status for the day" : Long trades if the ticker is green for the day, shorts if red. (DEFAULT = ON)
Market First Signals - Relative Strength/WeaknessThis market-first trading strategy gives BUY, SHORT, and CLOSE signals based on volume, trend, and relative strength or weakness to the market (SPY by default, can be customized). This indicator is useful for signaling day-trade entries and exits for tickers that are strong (or weak) against the market.
Stocks that are showing relative strength (or weakness) to the market, are trending, and have decent movement generate a buy (or short) signal. When the trend runs out, a CLOSE signal is fired.
Potential profit (based on ATR) and actual profit is calculated, predicting the type of move expected
Unique 'stay in trade' logic helps prevent unnecessary CLOSE signals if a trend is likely to continue
A colored plot indicates the strength of the current trend and turns orange/red when the strength is weakened.
Crypto traders can uncheck 'Trade during market hours' for 24-hour trading, and should change the comparison ticker from SPY to BTCUSD or something similar for their market.
Enjoy!
KEY CONCEPTS
The three- and five-minute timeframes are used to establish and verify trend (ADX/DI with custom logic)
Entries and exits are based on Parabolic SAR and confirmed on multiple timeframes, trend, and relative volume
Relative strength /weakness to the market compares ticker to SPY
Chop is avoided at all costs. I've experimented with choppiness indicator below 38, but found that the ADX DI+/- readings work even better.
Trend is established using ADX DI+/- readings over 20, confirmed by EMA 5/13 crossover and EMA5 slope
Signals will fire only if the average volume for the current 5-min bar is above normal
Only tickers with a five-bar / 13 period ATR of 1% the ticker's price generate signal.
Only longs above daily-anchored VWAP, shorts below daily-anchored VWAP
Signals fire on bar close to prevent repainting / look-ahead bias
Indicator labels and alerts generated
SIGNALS
BUY: up-trending tickers showing relative strength are bought on the three-minute PSAR
SELL: when the close price falls below the 1, 3, and 5-minute PSAR, or the ADX DI- falls below 20
SHORT: down-trending tickers with relative weakness are shorted on the three-minute PSAR
COVER: when the close price moves above the 1, 3, and 5-minute PSAR, or the ADX DI- falls below 20
ALERTS
Alerts are generated on BUY, SELL, SHORT, and COVER signals, as well as optional LOST RELATIVE STRENGTH and LOST RELATIVE WEAKNESS
INPUTS
Use relative strength/weakness comparison with the market : trigger trades based on the ticker's strength or weakness to the selected comparison ticker (usually SPY for equities or BTCUSD for crypto)
Comparison Ticker for relative strength/weakness : Ticker to compare against for relative strength/weakness
Trade during market hours only : Take buy/sells during specified hours. Disable this for crypto trading.
Market hours (market time) : Customize market hours - defaults to 9:30 to 16:00 EST
"Only trade very strong trends" : take trades only if an established trend is very strong (ADX over 40) (DEFAULT = OFF)
"Limit trade direction to VWAP" : Long trades only above VWAP, shorts below (DEFAULT = ON)
"Limit trade direction to Market direction" : Long trades only if SPY (or selected comparison ticker) is up, shorts if the market is down. (DEFAULT= OFF)
"Limit trades based on a ticker's green/red status for the day" : Long trades if the ticker is green for the day, shorts if red. (DEFAULT = OFF)
RELATIVE VALUE TRADE MANAGEMENT WEBHOOKThis script it's created to send open-close signals via webhook. It allows you to open a relative value position based in the relative graph. You can set the TP and SL levels and the script will send the signal to your exchange.
Due a pine limitations it is necessary apply the script in the 2 different actives and set the alerts. You can just do the relative analysis and then go to the first asset and set the script. Create your alert and then just go to the other asset and create the alert. It doesn't necessary to change anything in the script because the levels are the same.
It is also possible to do the analysis using the script, deploying the relative graph, but could be annoying sometimes due scales.
Positions will be placed at close always.
THIS IS IMPORTANT: I use Zignaly as a exhange so if you are using Binance or other YOU MUST CHANGE the code. If you know the JSON format that It requires would be easy.
Here is tips in all the important imputs. But let me explain the most important.
The MANDATORY fields are:
Ticker IDs: Here you must write the EXACT ID code for the active. Caps included.
Example : BINANCE:SUSHIUSDTPERP
It is also important select the correct market side. If you want to be long of ANY active you must write that ID in the LONG ID. For short positions is the same.
Time frame: Here you can select the time frame of the graph (not the current active graph, I mean the relative one.) The orders will be send using that time frame. I recommend to do the analysis in other window and then use the script to trigger the order in the time frame that you want.
Money management: In these fields you can select the qty that you will lose if the SL level is reach. Based in a determinated amount of currency or in a % of your capital.
Dates: It is important to select the start date. If the order is already open, we must look for the moment where the activation price was reached. If the order is unopened it is better to select the current date, so the order will be triggered when the entry level is reached.
Ids: If you have current open position you can set here that ID to send the correct order to the exchange.
To set the alert just call the function {{{strategy.order.alert_message}}}
Multi Exchange Relative Volume - FOREXHello traders! This is my first script that I will publish here. This script calculates the relative volume based on the average volume at that time of the day across different brokers.
Double RSI FilterI've seen several youtubers using 2 RSI's on top of one another to filter trades for their strategies. I figured I would just code it up as an all-in-one indicator for people who have the basic package. This way they have an extra slot for another indicator if they need one and also for convenience.
Longs only when RSI 1 is above RSI 2 and shorts only when opposite. The arrows show where crosses of the RSI's occur.
Let me know if there is something else like this where it would just be very convenient to have 2 indicators on one window or other such things and I'll see if I can do something for you guys in my spare time. I'm just an amateur coder, but learning as I do more of these for people.
Thank you!
Hope this helps someone! :)
Stochastic RSI HeatmapStochastic RSI presented as a heatmap starting from the oversold (20) / overbought (80) levels respectively. The more oversold / overbought the price, the more intense the color (blue / fuchsia).
Comparative Relative Strength for Crypto (USDT/USD)Comparative Relative Strength for Crypto (USDT/USD)
An adaption of the indicator as published by © bharatTrader->
Please visit the link for details as published by the original coder.
Configured for Crypto by presetting (per filter) for CIX100 usage - either in USDT (Kucoin) or USD (Capitolcom)
Artharjan Relative StrengthHi Guys,
I have created Artharjan Relative Strength indicator which shows the comparison of a Stock (script) either with Benchmark Index or with its respective sectoral index.
If the Relative Strength value is more than Zero (Above Zero Line) then it means the Stock is outperforming the index and vise-a-versa
A moving average is also added to smooth out data series.
Traders can chose from the Benchmark/Sectoral indices as well as Moving Average Lookback period and moving average type for extra convenience.
If the Relative Strength is strong then trader can look forward to taking bullish trade and Investor can think of investing in that particular script for a long term period (Or as long as Relative Strength line does not cross below zero line)
The Default Lookback period selected is 55 (Fib number) as it covers considerable /sufficient amount of range to find out relative strength of the stock.
The Relative Strength depends on the timeframe you chose... so feel free to adjust the Lookback period from 55 to any other number depending upon your trading/investment timeframe.
Hope you guys would find this indicator useful.
Regards
Rahul Desai
@Artharjan
Relative slopeRelative slope metric
Description:
I was in need to create a simple, naive and elegant metric that was able to tell how strong is the trend in a given rolling window. While abstaining from using more complicated and arguably more precise approaches, I’ve decided to use Linearly Weighted Linear Regression slope for this goal. Outright values are useful, but the problem was that I wasn’t able to use it in comparative analysis, i.e between different assets & different resolutions & different window sizes, because obviously the outputs are scale-variant.
Here is the asset-agnostic, resolution-agnostic and window size agnostic version of the metric.
I made it asset agnostic & resolution agnostic by including spread information to the formula. In our case it's weighted stdev over differenced data (otherwise we contaminate the spread with the trend info). And I made it window size agnostic by adding a non-linear relation of length to the output, so finally it will be aprox in (-1, 1) interval, by taking square root of length, nothing fancy. All these / 2 and * 2 in unexpected places all around the formula help us to return the data to it’s natural scale while keeping the transformations in place.
Peace TV
[TTI] ZVR Watchlist––––History & Credit ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
This indicator/screener is inspired by the methodology of a great momentum master - Dan Zanger. Dan holds the world record for higher % gain in a 12month period, which was achieved in 1998 and has not been broken since. One of the secrets he has shared with the world is his famous Zanger Volume Ratio (ZVR), to which his attributes great part of his success.
–––––What it does –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
The script allows you to monitor your watchlist for the most important momentum indicators on an intraday basis in order to maximise your chance of jumping in the right time.
1️⃣ ZVR - pre breakout indicator
ZVR measures unusual momentum at a given time of the day.
Example
Imagine it is the first hour of the trading session and you get AAPL with a daily volume (up to that time) of 2mn shares. Is this normal or not? If you just compare it to the average volume you will be making a logical mistake, since you have 7more hours for volume to reach the "average" level. Henceforth, average volume should be compared on an end of day basis. However, the ZVR looks at the current intraday cumulative volume at any particular time of day, and compare that to the average cumulative volume that has usually traded by that time of day in the past.
The 4 colors are 4 types:
🔴 (RED) — Volume is over 200% of the usual cumulative intraday volume for that day
🟣 (PURPLE) — Volume is between 150% and 200% of the usual cumulative intraday volume for that day
💓 (PINK) — Volume is between 100% and 150% of the usual cumulative intraday volume for that day
🟠 (ORANGE) — Volume is between 50% and 100% of the usual cumulative intraday volume for that day
🌚 (GRAY) — Volume is under 50% of the usual cumulative intraday volume for that day
2️⃣ SQN
The SQN is defined by the late Market Wizard Dr. Van Tharp: "A measure of a market’s movement through an application of the System Quality Number calculation. To calculate, the daily changes from close to close measured in percentage terms are averaged and the standard deviation is calculated. Plugged into the SQN formula, those values and the number of days (N) provide the market SQN score."
👉 Super Bullish - denoted by SB and lime color
👉 Bullish - denoted by B and green color
👉 Neutral - denoted by N and cyan/aqua color
👉 Bearish - denoted by Br and dark red color
👉 Super Bearish - denoted by SBr and light red color
–––––How to use it –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
I use the indicator very much like a watchlist. I put it on a secondary chart and load up all the stocks that I have identified as a buyable. I then wait to get signs of breakout. My favourites are stocks which are in SuperBullish trend (SQN) and starting to show RED ZVR in the beginning of the day. Often these are very strong names that show institutional buying. I purchase close to pivot point and hold for a swing trade. If the stock advances too fast 5-7% on the day, I take some off into strength.
Suggested use for this indicator is to combine with any volatility contraction methodology. Some examples include the TTM Squeeze, Squeeze Pro or my personal favorite Mark Minervini's Volatility Contraction Pattern (VCP).
Look for stocks in a long term uptrend (we have another indicator for Stage 2 identification).
Relative PerformanceThis indicator allows to compare relative performance of two indices or securities. It is the update of the previous version rewritten in Pine Script 5 version.
Screener for 40+ instrumentsAs you probably know in TradingView there is a limit of 40 instruments in one custom screener.
I created a script that will allow you to scan more symbols.
The idea of it is pretty simple. You have to add a screener a few times on your screen with a different set of symbols. Then select column width (as % of your chart width) and # of the screener right to left.
Script will plot #1 screener next to the right border. For #2 and all next tables, the script will compute the needed offset and will draw it on the left. This way it will look like one table and not a few separate indicators.
I created a script with an RSI screener, but you can create more complicated examples with it.
Off course, that's not a silver bullet solution but might work for some of you.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Multi-Timeframe RSI GridThe relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions. The RSI is normally displayed as an oscillator separately from price and can have a reading from 0 to 100. This indicator displays the current RSI levels at up to 6 timeframes (of your choosing) in a grid. If the RSI levels reach overbought (above 70) or oversold (below 30) conditions, it changes the color to help you see that RSI has reached extreme levels. Note that in TradingView, when the chart is on a higher timeframe, the lower timeframe RSI levels don't calculate properly. If those conditions are met, this indicator will hide those values in the grid. If none of your selected values are available, it hides the table completely. There are configuration options, like:
Position the grid in any corner of the screen
Style customization (color, size)
Customize RSI length
Relative StrengthRelative strength is a calculation of the price trend of a stock or a financial instrument in comparison to another instrument, stock, or industry. It shall be determined by taking the price of one commodity and dividing it by another.
Relative strength is a strategy used for determining value stocks and is used in momentum investing as well. It involves investing in stocks that have done well, in relation to their index or benchmark. For example, a relative strength investor might pick technology companies that have outperformed the Nasdaq Composite Index or large-cap stocks that are lagging against the S&P 500 index(Adjustable in the settings).
This indiator will give you a plot for relative strength between the current pair with another pair (adjustable in the settings), with a plotshape for RSNHBP & RSNH
Features :
1. Relative Strength
2. Double EMA of Relative Strength
3. RSNHBP & RSNH
How to use it :
1. Adjust All the settings parameter
2. For Alerting, Just use any alert function call, it will give you an alert of RSNHBP and RSNH
Relative Moving Average Convergence DivergenceThe normal MACD is formed by the difference of two moving averages. In contrast, the relative MACD is formed by the quotient of two moving averages.
In my opinion, it is only with the Relaticen MACD possible to compare values at different prices.
Der normale MACD wird durch die Differenz zweier gleitender Durchschnitte gebildet. Im Gegensatz dazu wird der Relative MACD duch den Quotienten zweier gleitender Durchscnitte gebildet.
Meiner Meinung nach, ist es erst mit dem Relaticen MACD möglich Werte zu unterschiedlichen Kursen zu vergleichen.
La MACD normale est formée par la différence entre deux moyennes mobiles. En revanche, la MACD relative est calculée à partir du quotient de deux moyennes mobiles.
À mon avis, ce n'est qu'avec la MACD relative qu'il est possible de comparer des valeurs à des prix différents.
El MACD normal está formado por la diferencia entre dos medias móviles. En cambio, el MACD relativo está formado por el cociente de dos medias móviles.
En mi opinión, sólo con el MACD Relativo es posible comparar valores a diferentes precios.
Обычный MACD формируется разницей между двумя скользящими средними. В отличие от этого, относительный MACD формируется из коэффициента двух скользящих средних.
На мой взгляд, только с помощью относительного MACD можно сравнивать значения по разным ценам.
正常的MACD是由两条移动平均线之差形成的。相反,相对MACD是由两条移动平均线的商数形成的。
在我看来,只有相对MACD才有可能比较不同价格下的价值。
TL Data PanelIntroducing the TraderLion Data Panel
Features
1. Plot Quarterly EPS & Sales in a table. Disclaimer | TradingView data for EPS & Sales can be highly inaccurate in some cases.
2. U/D Ratio - Calculates the Up/Down Volume Ratio on a 50 Day Average or 20 Day Average. A number above 1.5 will show in green.
3. DCR - Calculates the Daily Closing Range for the stock. It's green when the DCR is greater than your benchmark (set in indicator settings) and greater than 50%.
4. WCR - Calculates the Weekly Closing Range for the stock. It's green when the DCR is greater than your benchmark (set in indicator settings) and greater than 50%.
5. Extended - Calculates if the stock is extended vs the 10DMA and 10WMA. The output will be Yes or No.
6. RSNHBP Count - Counts the number of RSNHBP in the past 30 sessions. Higher the count the better the odds of a stock performing well in the markets.
7. HV Stats - This shows if a stock meets the HVE/HV1/HVIPO criteria. HVE - Highest Volume Ever. HV1 - Highest Volume in One Year. HVIPO - Highest Volume Since IPO.
Customizations
Up Down Volume Length - Toggle between 50 Day or 20 Day.
Average $ Volume Length - Toggle between 50 Day or 20 Day.
Closing Range Benchmark - Set your benchmark vs any index.
RS Benchmark - Calculate RSNHBP benchmark vs any index.
Table Size - Tweak table size on personal preference.
Table Position - Tweak table position to top right, bottom left, bottom right, or top left.
Margins vs ROE - Toggle this setting to display Margins or ROE.
Color Theme - Toggle between Light or Dark Theme.
If you have any questions, please post them in the comments below!
Relative Strength Volume Adjusted Exponential Moving Avg [CC]The Relative Strength Volume Adjusted Exponential Moving Average was created by Vitali Apirine (Stocks and Commodities Feb 2022 pgs 14-18) and this is very similar of course to the last Relative Strength Exponential Moving Average . It works under the same concept with using overbought and oversold methods to adjust the moving average and with this particular version you will notice that sudden drops or increases won't follow super closely so this can be useful along with the other as a good complementary indicator to use with each other to determine the short and medium term trend and to give good entry and exit points. I have strong buy and sell signals in addition to normal ones so darker colors are strong and lighter colors are normal. 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!
RSI Levels, Multi-TimeframeThe relative strength index (RSI) is a momentum indicator that measures the magnitude of recent price changes to evaluate overbought or oversold conditions. RSI is normally displayed as an oscillator separately from price and can have a reading from 0 to 100. This indicator takes the RSI and plots the 30 & 70 levels onto the price chart so you can see when price is going to meet the 30 or 70 levels. The reason the 30 & 70 levels are important is because many traders (and bots) use those as signals to buy (at 30 RSI) or sell (at 70 RSI). Additionally, this indicator allows you to display not just the RSI levels of your currently viewed timeframe on the chart, but also shows the RSI levels of up to 6 different timeframes on the same chart. This allows you to quickly see if multiple RSI levels are aligning across different timelines, which is an even stronger indication that price is going to change direction when it meets those levels on the chart. There are a lot of nice configuration options, like:
Style customization (color, thickness, size)
Labels on the chart so you can tell which plots are the RSI levels
Optionally display the plot as a horizontal line if all you care about is the RSI level right now
Toggle overbought (RSI 70) or oversold (RSI 30) on/off completely
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.