Shifted Symbol Overlay with OffsetThe Shifted Symbol Overlay Indicator is a custom TradingView indicator designed to overlay the price data of one stock or asset over another, allowing for direct visual comparison. This is particularly useful for comparing the performance of two assets over different time periods. The indicator enables you to shift the data from one asset either forward or backward in time, making it easier to compare historical data from one stock with more recent data from another. The indicator supports shifting both to the right (future periods) and to the left (earlier periods), helping traders and analysts explore correlations or divergences between two financial instruments.
The indicator also includes a normalization option that adjusts the scale of the two assets, so you can compare them even if they have vastly different price levels. This is useful when you're interested in relative performance rather than the absolute price values.
Compare
Symbol CorrelationThe "Symbol Correlation" indicator calculates and displays the correlation between the chosen symbol's price and another selected source over a specified period. It also includes a moving average (SMA) of this correlation to provide a smoothed view of the relationship.
Why SMA and Table Display ?
The inclusion of SMA (Simple Moving Average) with adjustable length (SMA Length) enhances the indicator's utility by smoothing out short-term fluctuations in correlation, allowing for clearer trend identification. The SMA helps to visualize the underlying trend in correlation, making it easier to spot changes and patterns over time.
The table display of the correlation SMA value offers a concise summary of this trend. By showcasing the current correlation SMA alongside its historical values, traders can quickly gauge the relationship's strength relative to previous periods.
Interpreting the Indicator:
1. Correlation Values: The primary plot shows the raw correlation values between the symbol's price and the specified source. A value of 1 indicates a perfect positive correlation, -1 signifies a perfect negative correlation, and 0 suggests no linear relationship.
2. Correlation SMA: The SMA line represents the average correlation over a defined period (SMA Length). Rising SMA values indicate strengthening correlation trends, while declining values suggest weakening correlations.
3. Choosing SMA Length: Traders can adjust the SMA Length parameter to tailor the moving average to their specific analysis horizon. Shorter SMA lengths react quickly to price changes but may be more volatile, while longer SMA lengths smooth out noise but respond slower to recent changes.
In summary, the "Symbol Correlation" indicator is a valuable tool for assessing the evolving relationship between a symbol's price and an external source. Its use of SMA and tabular presentation facilitates a nuanced understanding of correlation trends, aiding traders in making informed decisions based on market dynamics.
ASG Delta %This utility script provides a convenient way to calculate the percentage gain or drop of a token's price within a user-defined date range. It eliminates the need for manual measurement on individual charts, saving time and effort.
The script is particularly valuable when integrated into a daily token scanning routine for watchlists. By comparing the significant gains or drops among different tokens, traders can identify potential trading opportunities.
Simply select the desired date range, and the script will identify the highest and lowest price points achieved during that period. It then shows a visual representation in the form of a bullish or bearish box, displaying the percentage change (delta %). If the current price falls within the box's upper and lower bounds, additional percentage information can be shown in either the 'normal' or 'reverse' mode.
For instance, if a token experiences a -52.35% drop, enabling the 'Reverse' setting will reveal a potential 109.86% gain (from the low), or a 76.02% gain (from current price) or a potential drop of -16.5% (from current price) etc.. Having these basic statistics available, without having to manually chart them, especially during prolonged bear or bull markets, enables traders to make informed decisions and position themselves for more profitable trades.
I hope you find this script valuable. Your comments and recommendations are welcome as they will help improve the script's functionality further.
MarketronShows you how the asset on the chart is trending versus the market. You can customise the market that it uses, and there are some common markets programmed in as options.
Displays moving averages and a simple red/green bias.
You could do this yourself by typing, e.g., ADAUSDT/TOTAL into the asset box in TradingView and adding some EMAs manually and then interpreting them by eye. There's no hidden technology in this indicator. It just makes it a lot easier.
You can choose various bias options.
I'm not sure if it will work at resolutions lower than one day, depending on the level of your TradingView plan.
These are all the user-configurable settings and what they do.
Market (Auto) – Choose from various preselected markets.
Market Ticker Manual Override – You can type in the ticker for your market if it's not in the list. If you do, it overrides the Auto list.
Show Classic EMAs – Show customisable Exponential Moving Averages.
Bias Mode – Derive the red/green bias from whether price is above/below the Classic EMAs, or from a custom EMA function, or both.
Show Bias Background – Colour the background, or not, with the directional bias.
EMA 1 Length (smallest) – The length for the smallest EMA.
EMA 2 Length – Length for the second EMA.
EMA 3 Length – Length for the third EMA.
Multi-Asset Month/Month % change 10yr Averages10 Year Averages of Month-on-Month % change: Shows current asset, and 3x user input assets
-For comparing seasonal tendencies among different assets.
-Choose from a variety of monthly average measures as source: sma(close, length), sma(ohlc4, length); as well as sma's of vwap, vwma, volume, volatility. (sma = simple moving average).
-Averages based on month cf previous month: i.e. Feb % = Feb compared to Jan; Jan % = Jan compared to prev year's Dec. Average of the last 10yrs of these values is the printed value.
-Plot on current year (2023), or previous year (2022). If Plotting on current year, and a month of year has not yet occured, a 9yr average will be printed.
/// notes ///
-daily bars in month is a global setting; so choose assets which have similar trading days per month. i.e. Crypto: length = 30 (days per month); Stocks/FX/Indices: length = 21 (days per month).
-only plots on Daily timeframe.
10yr Avgs; Plotting with Year = 2022; using sma(close, 21) as source for average M/M change
DXY Overlay CompareOverlays the DXY chart over the top of any other chart. When the dollar strength increases, asset prices can drop and vice versa. Was created personally to compare with the price of Bitcoin.
Hussarya compare DJI SPX BTCScript shows relations between DJI downJones SPX and BTC:USD.
DJI chart must be set from candlestick to line
Red line is price (close). x 8
Green line ist te price BTCUSD from Binance price (close) x 1.5
Time OffsetCompare ticker with time offset.
I couldn't find anything like this. I was hoping to use it to find a ticker that might act like a leading indicator for another one! Who knows?
In the settings you can choose any ticker to compare, input the the number of bars you want it to be offset (positive or negative), and select plot source.
Overlay Mini Plot(s) of Correlated Asset(s)Overlay a small plot of a correlated asset of your choosing. Shrink/expand, Set vertical and horizontal position, plot multiple mini-plots via duplicate indicators with varied settings.
Plots the last X bars of any asset; including the live candle currently painting
Useful for low time frame trading when you want to see correlated asset price movement right alongside the price movement you're watching.
Useful for quick and simple comparisons; when you don't want the clutter of split screen or multi-pane view.
Useful for backtesting.
Price scale agnostic; just plots the shape of the recent price action, with several optional labels: Asset+timeframe | Live Price | Highest price over X bars | Lowest price over X bars.
Works fine with all the assets i've tested it on.
~~User inputs~~
-number of bars to paint.
-horizontal offset: plot to right X bars or to left X bars
-vertical offset: shift up or down, shrink or expand; by using 2 'spacer' inputs
-color/transparancy of candles and price labels.
-width (pixels) of candle bodies.
-choose to display price labels or not
-choose to display asset label or not
~~Tips~~
--Add several of these indicators; changing the vertical 'Shift/Shrink' settings on each to visually separate them.
--In the above chart or EurUsd, there are three indicators =>> three mini-plots overlaid: DXY, EurGbp and GbpUsd. Using the following settings for Space Above:Space Below: DXY- 0.1:4.5 | EurGbp- 1.8:1.8 | GbpUsd- 4.5:0.1
--the more you add, the more you'll have to vertically shrink the plots
© twingall
Compare std levelIt is used to compare symbol with different magnitudes and volatilities. It is compared by the level within its range of standard deviations.
Visually, we are comparing where the price is in its Bollinger Band , for each symbol.
100 means that the price is near the upper band. 0 means that the price is near the lower band
741 GME vs AMCA very simple script to compare 7 shares of $AMC versus 1 share of $GME.
The script uses the closing price of the given securities.
EsIstTurnt's Relative Value Comparison Multi SymbolCompare the relative valuation of up to 8 tickers. By taking a shorter term moving average and dividing by a longer term moving average(optionally with an offset) we get a value that is either above or below 1. Easy to tell what is undervalued and overvalued with this setup. Useful for comparing different asset classes or sector specific securities looking for outperformers/underperformers. Overvalued and Undervalued levels marked by Red and Green background. Recommended in conjunction with other indicators of your choosing for confirmation of trend changes but this is good for getting a broader view of the market you're interested in. Multiple timeframes, sources available however you should tinker with it to find what gives you the best view for your preferred timeframe.
.b pin-up symbolWhen trading cryptocoins, it is necessary to check the price trend of NASDAQ, BTC.D, BTC.OI, BTC spot or other coins of similar groups.
However it is very cumbersome to put a comparison symbol in the Tradingview chart and combine individual indicators one by one.
Moreover even with such a combination, the chart is messy and visibility is not good.
This script was developed as a composite-solution to that situation, and will make you happy.
- NQ1!, USTECH100CFD | symbol fixed
- BTC.Dominance, BTC.OpenInterest, BTC symbol, others pin-up-symbol | selectable
- Pin-up-symbol | selectable
- Pin-up-symbol's candle chart
- Trending
* EMA 9,21,50,200 ribbon classic EMA
* .b price line ; .b price = unique trending price with price-action + relative-volume-action + ATR
* Dynamic S/R Cloud ; BB + donchian band + high/low + atr mixed custom-logic
* VWWMA + .b price Shadow ; Volume-weighted WMA on .b price = unique MA faster than classic VWMA
Trending shadow direction is not bad even on low-timeframe (1, 2, 3, 5m, 15m...)
- Pattern
* Harmonic Pattern ; A simplified version of the harmonic pattern indicator, simply show-up pattern complete position
for reference only - adopted from HeWhoMustNotBeNamed's script.
- Information Panel
* BTC Dominance, BTC Open Interest, Pin-Up-Symbol price
* Trend meter ; 5,15,30,1h,2h,4h Meter Calc with 1 minute-timeframe candles
5 = Green if the current price is higher than the price 5 minutes ago.
1h = Green if the current price is higher than the price 2 hours ago.
4h = Red if the current price is lower than the price 4 hours ago.
* caution ; To use real-time chart of "CME_MINI:NQ1!" you have to additional subscribe CME data,
default setting is 'NQ1!' , you can change to 'USTECH100CFD'
* When you choose symbol which is closed trading hours, the script's update stopped.
Even if the selected pin-up-symbol is on trading hours, the currently selected symbol's chart doesn't update.
* recommended | chart setting > Appearance : Top margin 0%, Bottom margin 0% for optimized screen usage :)
if you have any questions freely contact to me by message on tradingview, or telegram @sr_bt
but please understand that responses may be quite late.
------------------------------------------------------------------------------------------------------------------------------------------------------------
copyright 2022 (sr_b)
Special thanks to all of contributors of community.
The script (originaly .b) may be freely distributed under the MIT license.
The other classic script code also may be freely distributed under the MIT license.
Simplified Harmonic script part | core adopted from 'Multi ZigZag Harmonic Patterns (HeWhoMustNotBeNamed)' MPL2.0 license
[H] Multi Coin Compare
Use a focal point to compare multiple coins price action to one another in real time
View the price of up to 5 coins in an easy to view table
Fully Customizable
Advanced Comparison ToolWith the new Pine Script features you can build pretty interesting scripts.
Here is my try to expand functionality of basic comparison tool you have in TradingView.
When you apply it on your chart you can select a bar when do you want to start comparing your instrument from.
In parameters you can specify up to 32 symbols to compare. You can also disable symbols and change color for them as well.
As a result you'll see a table with summary and line for every instrument you selected as if it started from the close of the selected bar.
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
Relative Strength ComparisonThis script plots the ratio between a ticker and the selected index. Currently, I have US equities indexes listed + BTC. It's a great way to check for relative strength, determine if absolute highs relative to the ratio are being made, etc.
Additionally, optional comparison of the RSI is included. I was just testing something out but figured I'd leave in here because why not. If you use this, enable the 1.0 line.
Script is a bit slow, will try to optimize eventually.
Volatility IndexThis indicator is based on Historical Volatility (HV) built-in indicator with minor tweaks to match the Bitcoin Volatility Index (from Bybt).
Also, you can select a symbol to compare its volatility with the volatility of the currently selected symbol.
compare returnsIt could be very useful to analyze market with events in the market instead of only looking at the isolated chart. This indicator helps you to compare returns of chart symbol with any other symbol in the same timeframe.
For example, in crypto market coins move with the Bitcoin and BTC is driver of the market, so it could be useful to compare returns of a coin with the Bitcoin. There is a compare feature in tradingview, but it only compare from the beginning of the chart, not showing historical difference between returns which can reveals statistical opportunities or money flow in the market or between markets.
This indicator take two parameters including base symbol and period:
base symbol is the one which you need comparison with and period sets the period of comparison.
For instance, with base symbol: BTCUSDT and period: 15, return of BTCUSDT from 15 previous candles is compared with the chart in 15 previous candles (on same timeframe).
It could be helpful if you use this indicator to compare these pairs:
- altcoins return with BTCUSDT return
- stocks with their market index or industry index.
- market indices: crypto total market cap with SP500 and GOLD
please leave comment for me and this indicator to share your idea with me.
thanks,
hadi jamshidi
[JRL] Multi-Symbol Strength TrackerI created this script to compare cryptocurrencies that tend to be correlated, but it could also be used for forex or any other market. It is a fairly simple concept and compares price of each symbol to the specified period ema. This is helpful for tracking highly correlated symbols and visualizing moments when they are out of sync, perhaps signaling good times for buying or selling.
Compare Price Momentum Oscillator [CC]The Compare Price Momentum Oscillator was created by Vitali Apirine (Stocks and Commodities Aug 2020 pg 16) and this is a handy indicator to compare the momentum of the current symbol you are looking at to the s&p to determine the relative strength of the underlying security. Buy when the line turns green and sell when it turns red.
Let me know if there are any other scripts you would like to see me publish!
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.
CompareThis indicator compare(Futures Price / Spot Price) futures and spot prices of an asset.
This indicator is made to work with crypto assets mainly.
Inputs:
1. Auto Symbols Selection: Select the symbols for comparision from the selected chart symbol (This option only works with Binance futures symbols)
2. Symbol 1: Symbol 1 for comparison
3. Symbol 2: Symbol 2 for comparison
4. Timeframe: Timeframe for comparison
Happy trading.