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...
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...
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.
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...
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).
This script displays another symbol along the current symbol (the other symbol defined in the inputs) with the average difference between the two symbols added.
Can be used for example to show the projected price in a current exchange by way of adding the average to another exchange/composite of exchanges.
Stub category as TV insists on one and I can't find...
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...
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.
- The tallest of course is high minus low
- whether or not the close is above the open, the body...
Easy to use RSI and Stoch
Setting Menu has an option to toggle the RSI and Stoch ON and OFF for your own preference.
Great for reducing clutter when comparing oscillators, while giving the ease of use to just click the toggle option instead of having to find and reset your indicator settings.
Colour schemes adjustable in Settings Menu for personal...
This indicator is to be used only by the values it gives back, don't use the lines.
In "current week days" choose number of days that already BEGAN this week (ex. on Wednesday type 3)
Green1 - Current Daily Range
Orange1 - Average Daily Range
Green2 - Current Weekly Range
Red1 - Average Weekly Range
Orange2 - Today's price movement compared to the average daily...
This simple but powerful indicator takes the volume changes from another symbol and removes them from your symbol, so you can compare stock/market or stock/sector or sector/market relationships.
When used together with Hersheys CoCo Bars, you get a very unique view of what's going on!
This is my latest attempt to show price movement differences between symbols. I want to see the buying and selling pressure... is that price movement going with the market or is it moving alone? It's VERY interesting to watch this indicator and see how things play out!
In my previous versions the arrows on the chart were too much clutter, while the single row of...
This script allows you to input 2 different coins and plot % changes against each other.
Look Back is adjustable to account for different time frame windows. Default is 1, so each line will be graphed on a 1:1 ratio with the candle period selected on the chart. raising this number to 24 will plot the change across every 24 candles and so on. It's pretty...
Compares BTC volume vs USD volume overtime
Best used on 4hr timeframe. Not really some crazy alpha but good overview/statistic to keep track of.
(make sure to use on XBTUSD pair since it isnt using security calls to call the data)
I compared custom median (using the sorting solution by @apozdnyakov) with built-in median (using percentile_nearest_rank function)
If you see the zero line this means the solutions give the same results.
The best results was achieved on the odd lengths.
1) Do not try to reinvent the wheel.
2) Always check the Pine Script docs to find already...
This will plot your choice of OHLC (or any of the averaging choices) of the current candle compared to the previous candle.
For example if you choose "high" for the input and set the chart to daily, you'll see the currently daily high vs the previous daily high.
Green candle represent a higher high and the length of the candle represents how much higher.