TEWY - Magic Strength Indicator (SI)Detail about this indicator
1. This indicator is used to identify the trend based on the momentum of the counter selected.
2. This indicator is calculated three different metrics for selected script and it's Parent/Main Index as NSE:NIFTY (default) and Sector Index. Keep in mind below point
a) Parent/Main index is set to default NSE:NIFTY, though there is option to provide your own custom parent index e.g. US30, US 100'
B) Sector Index is identified automatically for set to predefined stocks and rest ate set to default NIFTY 500. Again you have option to change it to your preference
3. I have used the rate of change and RSI of it to calculate momentum for script, it's parent index and sector index.
4. I would typically use this indicator to see momentum on the Monthly and Weekly first and daily timeframe to get proper entry.
5. Also please try to stay in the long position only unless you understand the consequences for shorting a stock . why? because the imminent nature of the market is to go upward only.
6. Please try to keep base inputs as defaults, though it allows you to change input parameters
Let's understand this indicator
• On the tor right corner you would see three different numbers. 1st number is SI of the underlying Ticker. 2nd number is SI for the Sector Index and 3rd is for Parent Index SI.
• If selected ticker is outperforming it's parent index the you see one green "▲" and if ticker is also outperforming it's sector index then you would see two green "▲▲". Same on the downside.
• I would only take long position if selected ticker is at least outperforming Parent index, that means at least one green "▲".
• I would take exit from the position if I see no more green "▲".
Always respect RISKS and follow stop loss. In market stop loss is the only friend of yours.
I have given a sample illustrational image below, which should help you understand this indicator.
Best of luck
Compare
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.
WaveTrend [LazyBear] vX by DGTDGT interpreted version of LazyBear's WaveTrend, visualizing on Price Chart
Original Author : LazyBear
Crosses above or below threshold are emphasized with bigger labels
- crosses above threshold : probable short indications with a bigger label and relativly small label for probable long indications
- crosses below threshold : probable long indications with a bigger label and relativly small label for probable short indications
All rest crosses within threshold boundaries with relatively small labels for both long and short probable indications
Crypto Performance vs IndexQuickly shows you if an altcoin is outperforming or underperforming it's peers. You can compare again indexes of high cap, mid cap and low cap indexes, which are provided by FTX.com. I intend to add some more features but am currently a bit busy so wanted to get it published as I've been finding it useful
ADL-NDX Rank Difference-Buschi
English:
An expansion of the Advance Decline Line of the NASDAQ. It can be interesting to compare the Advance Decline Line with the corresponding benchmark index. I therefore made a ranking (0 to 100) based on the performance over the last days (default: 21 days). The difference is the target figure and ranges between -100 (bearish divergence) to +100 (bullish divergence).
Deutsch:
Eine Erweiterung der Advance Decline Line der NASDAQ. Oft möchte man den Verlauf der Advance Decline Line mit dem zugehörigen Leitindex vergleichen. Daher habe ich für beide ein Ranking (0 bis 100) erstellt auf Basis des Verlaufs über die letzten Tage (Standardwert: 21 Tage). Die Differenz stellt dabei die Zielgröße dar und schwankt zwischen -100 (bärische Divergenz) und +100 (bullische Divergenz).
ADL-SPX Rank Difference-Buschi
English:
An expansion of the Advance Decline Line of the NYSE. It can be interesting to compare the Advance Decline Line with the corresponding benchmark index. I therefore made a ranking (0 to 100) based on the performance over the last days (default: 21 days). The difference is the target figure and ranges between -100 (bearish divergence) to +100 (bullish divergence).
Deutsch:
Eine Erweiterung der Advance Decline Line der NYSE. Oft möchte man den Verlauf der Advance Decline Line mit dem zugehörigen Leitindex vergleichen. Daher habe ich für beide ein Ranking (0 bis 100) erstellt auf Basis des Verlaufs über die letzten Tage (Standardwert: 21 Tage). Die Differenz stellt dabei die Zielgröße dar und schwankt zwischen -100 (bärische Divergenz) und +100 (bullische Divergenz).
Multi Bar OHLC Compare Panel (Floating Grid)Multi Bar OHLC Compare Panel by RagingRocketBull 2019
version 1.0
This indicator lets you compare OHLCV values from several specified bars. Bars can be dynamic/persistent.
You can also use it as an alternate OHLC panel if you don't like small font of the native TradingView panel.
It uses Pinescript v4 to output data dynamically as string labels in a horiz/vertical grid.
Features:
- Floating Panel with customizable horiz/vertical layout and grid spacing
- Support for up to 5 OHLC bars (highlighted with markers)
- Outputs Bar #/index, OHLCV, Bar Change Value/%, Exchange/Ticker, Timeframe, Timestamp strings
- Dynamic (fixed offset)/Persistent bars (fixed time)
- Show/Hide parts of strings
- Full output string customization, including text size, date/time format and delimiters
- 2 Anchor points for panel offset: cur bar high or range high
- Bar Change can change color
Usage:
- specify at least 1 bar index as OHLC source
- select anchor point to position the panel
- select horiz/vertical grid layout
- adjust horiz/vertical spacing
- customize output strings as needed
Notes:
- this indicator uses Pinescript v3 Compatibity Framework
- both bars 1,2 are required for log scale adjustment to work
- you can't attach the panel to screen's top/bottom and must use offset/anchor because, unlike plotshape, string labels don't support yloc=yloc.top/bottom, only yloc.above/belowbar
- you can't precisely align strings in a grid because there's no label.get_width/height to calculate mid/left points, only get_x/y/text. Alignment will break depending on string length, zoom and change color option on/off
- bar change is rendered as a separate label when change color is enabled (2 panels total) and merged into the main panel when disabled (single panel)
- you can't change the order of strings as playing with the natural order of things isn't the best of ideas
- you can modify the script to compare up to 50 OHLC bars, but do you need that much power? Of course, you do.
- you can't set color/style for string labels in Style UI, so a few extra settings were added.
- bar index is limited to 5000 for free accounts (10000 for paid), will show an error when exceeded, also when it exceeds the total number of bars in history
- in persistent bars mode all bars with index > 0 are considered persistent, bar 0 always remains a dynamic bar
- persistent bars' offset is reset: in replay mode on exit or when price reaches cur bar, or when panel layout is changed from h to v in both replay/realtime modes
- initial pos of each persistent bar relative to the first realtime bar anchor doesn't change during session - new persistent bars introduced during session are attached to the most recent cur bar anchor
P.S. Everything is proceeding as I have foreseen
Futures - Measure and compare volatility in USDDollar value (syminfo.pointvalue) is wrong in Tradingview for the below listed futures, where the price is in quarters of cents. So this is a dirty fix.
For example ZC (Corn) says syminfo.pointvalue = 5000 (syminfo.mintick = 0.13), which gives you (ATR = 6) volatility 30,000 USD instead of the correct 300 USD.
For all other futures is used the default syminfo.pointvalue.
Compare CandlesShows the candles of a specified EXCHANGE:PAIR in an indicator without overlay.
Has the following advantages over the standard comparison in TradingView:
- The compared pair is below your main chart.
- You can see the price of the compared pair.
- You can add multiple compared pairs and all of them will be shown in their own space with their own price.
SadLittleThings Price Compare With Offset MTF by RRBSadLittleThings Price Compare With Offset MTF by RagingRocketBull 2018
Version 1.0
This indicator lets you compare multiple assets across different timeframes, supports offsets and alpha multipliers.
Standard TradingView Compare doesn't have Offset/Timeframe/Multiplier options, hence this indicator.
Features:
- compare current asset's price with 2 custom ext OHLC sources
- plot sources as lines/bars/candles
- use offset:
- for lines - both positive/negative offsets, unlimited
- for bars/candles - only positive offsets <= 5000
- specify timeframe for each source
- uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- support for timeframes in H: H, 2H, 4H etc
- show/hide sources
- colorize sources
- convert source price to 1000s, mlns, or blns using alpha multiplier
- total bars counter
Notes on using offsets:
- Max offset is defined by study max_bars_back which is limited to 5000 for free accounts. This variable specifies the number of history bars an indicator can access.
- if you see the 'internal server study error' => one of the indexes of ohlc series is out of bounds (i.e. close ) => decrease the offset <= 5000 or switch to line type
- you will be limited only by the total number of bars in history (n) +/- 1 full screen of empty bars
- you can't scroll past the beginning of history - 1 empty screen and past the end of history + 1 empty screen to be able to still see the line with applied offset
- before applying a large offset, scroll back long enough to make sure you have enough history loaded
- if you have a long history the indicator will get slower, its UI less responsive. Reloading the page may fix that.
- you will not see source's history past the beginning of the current asset - open the chart with the longest history first (i.e. BLX, not COINBASE)
- Make sure that the Left Price Scale shows up with Auto Fit Data enabled. You can reattach the indicator to a different scale in Style.
- you may not be able to plot intraday TFs < current TF, because free accounts are limited to TFs >= D1 (i.e. D, 2D, 3D, W), but you can still plot, say, H4+ on a lower TF H1 chart
1. uses plot*, security, change
Current RSI vs Sector RSI ComparisonIn the example above GOOGL's RSI is being compared against the RSI for XLK, the technology sector fund. The red and green areas make it easy to see if Google is under or overperforming relative to other tech stocks. I've included a normal RSI above it for comparison.
You can compare any stock to a sector, i.e. JP Morgan (JPM) versus the financial sector (XLF), or whatever your heart desires. All major sectors are selectable from a drop-down box and the output can also be visualised as a histogram too, much like a MACD.
Compare Wave IndexI built this indicator to compare the performance of multiple chart ID's, at the moment the chart analyses how far above or below the assets prices are compared to a moving average. In this first version, the indicator compares BTC against the current chart and also one customisable ticker, which by default is set to SLRBTC.
As I update the indicator I intend to make it possible to add many other chart IDs so that I can just take a quick look at the indicator to see how my faviorite assets are performing.
Any feedback is welcome, if anyone has any questions just leave me a comment.
Happy Trading,
Biffy
Compare - Oscillator vs BTC momentumI've made a simple indicator to compare the momentum of a trading pair against the momentum of BTC to the dollar. I use it to see how a pair is affected by BTC's momentum... I wouldnt use it to trade off alone, but it can be a useful tool alongside other indicators.
The time range can be adjusted, but I wouldnt reccomend setting it to anything over 12M, or under 1W.... as I'm not sure if it would work.
Any feedback is welcome!
This is an idea I had after looking at a wonderful visualisation made by BarclayJames, link below:
www.tradingview.com