Compare 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...

3

With 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...

400

Relative strength is a ratio between two assets, most often a stock and a market average (index). This implementation uses the method described here and the second method described here to calculate its value: "To calculate the relative strength of a particular stock, divide the percentage change over some time period by the percentage change of a particular...

2304

This is an original indicator so a true hidden gem in my opinion. I based this idea off of the work by Giorgos Siligardos (Stocks and Commodities Aug 2012) with his indicator called the Sector Rotation Model. This indicator is best used as a trend confirmation in combination with another indicator such as a leading indicator. This will show you how strong the...

238

Library "Divergence" Calculates a divergence between 2 series bullish(_src, _low, depth) Calculates bullish divergence Parameters: _src : Main series _low : Comparison series (`low` is used if no argument is supplied) depth : Fractal Depth (`2` is used if no argument is supplied) Returns: 2 boolean values for regular and hidden...

149

Compares the major forex currencies to to each other, good for seeing relative strength and choosing trading pairs based on that. Original script is by @aelius from 2016. I just made it a bit more responsive, easier on the eye, and I added labels.

226

This script allows you to compare the percentage-based change in the price of any two securities on any given (and supported) timeframe on the chart. This can give you a very simple way to compare any two securities against one another. Ex: If your base security gained 5%, and the other security gained 3% in a single day, the change comparison would show a green...

268

Here I bring you an array of methods to compare the swings and consistency between assets. This indicator is excellent for swing traders and scalpers looking to maximize their profits by examining which of two closely related pairs provides greater price fluctuation during given period. This indicator works against two assets, which are to be configured in...

62

This script is very much beta! This is a simple script to visualize how two symbols move in relation to each other. For example if the underlying symbol is a 2x Gold ETF (meaning the ticker moves at 2x the spot price of gold---if gold goes up 3% this ticker should go up 6%) and the comparison symbol is an 2x inverse gold ETF (at gold up 3% this should move down...

131

This is a public library that include the functions explained below. The libraries are considered public domain code and permission is not required from the author if you reuse these functions in your open-source scripts

88

This one compares the total candle height (Low to High), body size, also top and bottom wick sizes. I really don't know when it would be best to use this, but it gives a 0 baseline to compare candles side-by-side also to compare body size to wick size. *Notes* - The tallest of course is high minus low - whether or not the close is above the open, the body...

97

There are plenty of indicators that aim to measure the volatility (degree of variation) in the price of an instrument, the most well known being the average true range and the rolling standard deviation. Volatility indicators form the key components of most bands and trailing stops indicators, but can also be used to normalize oscillators, they are therefore...

119

Relative 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...

60

Kendall Rank Correlation Coefficient script. This way to measure the ordinal association between two measured quantities described by Maurice Kendall (1938, Biometrika, 30 (1–2): 81–89, "A New Measure of Rank Correlation"). In this script I compare Kendall Coefficient and Pearson Coefficient (using built-in "correlation" function).

113

This 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.

31

When running MACD, it can be useful to compare the value of the MA difference to other values. In other words, is a particular stock or futures contract at a more extreme MACD value than another. This can be done by dividing by the price, however, that doesn't adjust for volatility differences. Using ATR, one can adjust for price and volatility at the same...

30

This is a simple study designed to visualize price correlations between securities.

107