BTC and USD volume overtime [XBT]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)
Enjoy!
Comparison
Correlation Volitility Bars [BVCC]This chart will allow you to compare the volatility of correlation of any other instrument to your current chart. When the comparison coin is selected, it will overlay your current bars with additional information that shows up/down correlation to your master chart as well the volatility of that correlation.
This can be used to compare other coins to BTC for a quick visual reference of if a coin moves with or against BTC movements. If the comparison coin moves up on the given bar, it is represented by a green histogram ABOVE of your current candle. If the comparison coin moves down, it is represented as a red histogram BELOW your current candle.
The height of the correlation candle represents the percentage that the comparison coin moved up or down. The longer the candle, the farther that coin moved.
The blue band represents a 'volatility reference'
-If your comparison coin stays within this band, then it is moving at an absolute rate which is less than the absolute rate of the master coin.
-If your comparison coin moves outside of this band, then it is moving at an absolute rate which is more than the absolute rate of the master coin.
A couple of example of how to read this;
*******Master Candle = Up | Comparison Candle = Up | Equal to Volatility Band********
This means that when the master went up, so did the comparison coin and they both moved equal amounts
******Master Candle = Up | Comparison Candle = Down | Outside Volatility Band*******
This means that when the master went up, the comparison coin went down in response and it's downward response was greater than the corresponding master up movement
******Master Candle = Up | Comparison Candle = Up | Outside Volatility Band*******
This means that when the master went up, the comparison candle responded by going up as well but made more % gains than the corresponding master candle.
Uses for this indicator would be research into the historical performance of how a specific coin reacts to BTC and whether it is a more or less profitable vehicle than BTC during that time period. If the price is consistently outside of the Volatility band then you can infer that this coin is hypersensitive to BTC movements. If the price is consistently within the bands, then you could infer that your comparison coin is relatively correlated or unfazed by BTC.
Percentage Change Comparison [BVCC]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 interesting to move the input dialogue window out of the way and change this number, watching how the % gain comparisons change in real time.
Default coins to compare are set to BTCUSD and ETHUSD @ coinbase.
Stoch + Stoch RSI [R1984]Simple comparison of stochastic based on price versus stochastic based on RSI.
Plan to add more features later like divergence indications, light/dark mode toggle, etc.
WT_BTC_Dow Jones_2019[wozdux]Comparison of two trading instruments using the indicator. Visual comparison often does not provide complete information. The scale and amplitude of the fluctuations of the two trading pairs are very different. Therefore, it is better to compare indicators from these pairs. I have used for this purpose, the speed indicator of price movement wt. The red line is the wt indicator from the trading instrument that is in the main window. The blue line is an indicator from the pair, which is written in the indicator settings. In addition, the calculation periods for each pair can be taken as the same or different. Often, trading pairs do not fluctuate synchronously, so it is necessary to select the periods of calculation of the wt indicator individually. In this example, Dow Jones and bitcoin were used.
-----------------------
Сравнение двух торговых инструментов с помощью индикатора. Визуальное сравнение часто не дает полной информации. Масштаб и амплитуда колебаний двух торговых пар бывают сильно различаются. Поэтому сравнивать лучше индикаторы от данных пар. Я использовала для этой цели индикатор скорости движения цены wt. Красная линия это индикатор wt от того торгового инструмента, который находится в главном окне. Синяя линия это индикатор от пары, которая прописывается в настройках индикатора. Кроме того, периоды вычислений для каждой пары можно брать как одинаковые, так и разные. Часто торговые пары колеблются не синхронно, поэтому стоит подбирать периоды вычислений индикатора WT индивидуально. В данном примере использовался Доу Джонс и биткоин.
Range: OHLC vs Previous OHLCThis 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.
Red candles represent a lower high than the previous day and the length is by how much lower.
This indicator is pretty straight forward, look for me to build on this with something a little more elaborate in the near future.
Bestest MA. Compare 2 x 7 MA's at different resolutionAdjust time, length, visibility, colour.
SMA and EMA can use different time resolution.
This is version 1 aka work in progress.
FM RSI Vs StochEasy 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 taste.
SeasonalityA multitool to find seasonal effects and components in your time series. Seasonality is one of most frequently used statistical patterns to improve the accuracy of demand forecasts.
To learn more about seasonality see:
en.wikipedia.org
www.investopedia.com
Features
Ability to see up to 16 period lines
33 metric types
Metrics customization
17 types of the price sources
31 types of the moving averages
Readable and optimized code
How to get access
Buy for 899$ (One-time payment, Source Code Transfer, Sole ownership)
Buy for 349$ (One-time payment, Full-time access, Multi ownership)
Make the symbolic monthly donations to support my open source work (Donate-per-use, Part-time access, Multi ownership)
Free 7-day trial access
Supported Metrics
Price
Average Price
Price Momentum
Price ROC
True Range (by J. Welles Wilder)
Average True Range (by J. Welles Wilder)
Double True Range (by Cynthia Kase)
Average Double True Range
Accumulation/Distribution (by Marc Chaikin)
Volume
Average Volume
Volume Momentum
Volume ROC
Net Volume
On Balance Volume (by Joe Granville)
Trade Value
Tick Volume
Tick Range
Max Tick Movement
Min Tick Movement
Correlation
ADX (by J. Welles Wilder)
Coppock Curve (by Edwin S. Coppock)
Elder Force Index (by Dr. Alexander Elder)
Ease Of Movement (by Richard W. Arms)
Mass Index (by Donald Dorsey)
Price Volume Trend
TRIX (by Jack K. Hutson)
Ulcer Index (by Peter Martin and Byron McCann)
VHF, Vertical Horizontal Filter (by Adam White)
Swing Index (by J. Welles Wilder)
Accumulative Swing Index (by J. Welles Wilder)
Standard Deviation
Supported Price Sources
open
high
low
close
oo2 ( (open + previous open) / 2 )
oh2 ( (open + high) / 2 )
ol2 ( (open + low) / 2 )
oc2 ( (open + close) / 2 )
hh2 ( (high + previous high) / 2 )
hl2
hc2 ( (high + close) / 2 )
ll2 ( (low + previous low) / 2 )
lc2 ( (low + close) / 2 )
cc2 ( (close + previous close) / 2 )
hlc3
ohlc4
wc (weighted close, (2 * close + high + low) / 4 )
Supported Moving Averages
AHMA, Ahrens MA (by Richard D. Ahrens)
ALF, Adaptive Laguerre Filter (by John F. Ehlers)
DEMA, Double Exponential MA (by Patrick G. Mulloy)
EMA, Exponential MA
EVWMA, Elastic Volume Weighted MA (by Christian P. Fries)
FRAMA, Fractal Adaptive MA (by John F. Ehlers)
HMA, Hull MA (by Alan Hull)
IIRF, Infinite Impulse Response Filter (by John F. Ehlers)
LSMA, Least Squares MA
LWMA, Linear Weighted MA
Median
RMA, Running MA (by J. Welles Wilder)
RMF, Recursive Median Filter (by John F. Ehlers)
RMTA, Recursive Moving Trend Average (by Dennis Meyers)
SMA, Simple MA
SHMMA, Sharp Modified MA (by Joe Sharp)
SMMA, Smoothed MA
TEMA, Triple Exponential MA (by Patrick G. Mulloy)
TMA, Triangular MA (Modified by John F. Ehlers)
VIDYA, Variable Index Dynamic Average (by Tushar S. Chande)
VWMA, Volume Weighted MA
WMA, Weighted MA
ZLEMA, Zero Lag Exponential MA (by John F. Ehlers and Ric Way)
2-Pole BF, 2-Pole Butterworth Filter (by John F. Ehlers)
3-Pole BF, 2-Pole Butterworth Filter (by John F. Ehlers)
2-Pole SSF, 2-Pole Super Smoother Filter (by John F. Ehlers)
3-Pole SSF, 2-Pole Super Smoother Filter (by John F. Ehlers)
1-Pole GF, 1-Pole Gaussian Filter (by John F. Ehlers)
2-Pole GF, 2-Pole Gaussian Filter (by John F. Ehlers)
3-Pole GF, 3-Pole Gaussian Filter (by John F. Ehlers)
4-Pole GF, 4-Pole Gaussian Filter (by John F. Ehlers)
Kendall Rank Correlation CoefficientKendall 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).
ATR adjusted MACDWhen 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 time, allowing comparisons between securities more easily.
[RESEARCH] Custom Median vs Built-in MedianI 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.
Conclusions:
1) Do not try to reinvent the wheel.
2) Always check the Pine Script docs to find already implemented solutions.
Compare currency against multiple (Basket of currencies)Early version of a script to compare one currency against multiple to get an index.
Default values loaded basically make something along the lines of, "USD global exchange rate"
I plan on making this less clunky/messy in future with respect to the coding and the user inputs. Works 100% right now though.
Responsive Comparison Line by SymbolThis script allows you to specify a security to overlay on your chart when viewing a certain symbol. The line will only show on that symbol, change symbols and it will disappear. I found that adding more than 4 lines will slow load time significantly, however if you can code it to be faster please let me know!
All credit to @gyromatical, a good samaritan.
Candle Range CompareThis 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 size is the column in front of the total size of course
- wicks are from 0 up for the top wick and 0 down for the bottom wick.
Volume ComparisonThis script allows for the comparison of current volume to the past 10 days of volume at the same time of day. Currently the only time frame options available are 15m and 30m. The bar coloring is related to if the volume is > the avg_vol and the close is > or < the previous close.
FYI because volume data trickles in over time and the bar coloring relies on close data this will operate on a 1 bar delay.
Still an interesting study that I will probably add more features to in the future.
Currently it only works on assets that are only traded during normal hours (stocks, futures , etc. NOT crypto, but if I get some interest I may add crypto in the future).
Thanks all for your support!
Much Love
xoxo
-Snoop
Relative StrengthRelative 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 index over the same time period". This indicator oscillates around zero. If the value is greater than zero, the investment has been relatively strong during the selected period; if the value is less than zero, the investment has been relatively weak. The period and the comparative symbol can be set in the settings for the indicator (the defaults are 50 and SPX), there you can also find an option to turn on a moving average.
Security Tracker - BronzeThis Indicator will be the most simple form of this code, with Silver and Gold versions to come.
Tracked Security - BTCUSD in this example but can be changed anything.
Index - Current Security / Tracked Security
Inverse Index - (1 / Index)
(Current Security = ETHUSD in this example)
Works across all periods and Securities.
Can format lines and colours, but won't be appropriate to plot all three lines at once.
Easily see currency pair without cluttering up your chart or requiring another chart (especially for members with free subscriptions).
Can be BTC vs SNP...if you wanted, something which you couldn't find in the standard list.
I have experimented with several combinations, but if there are any issues, let me know.
Correlation Candles [DW]This is a simple study designed to visualize price correlations between securities.
Price relation viewer - add percent change of two symbols (BETA)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 6%). If these ETFs were 100% accurate at tracking the price of gold then this tool would report a value of zero at all times.
Day 1
Ticker - $10
Comparison - $10
Day 2
Ticker - $12
Comp - $11
This tool value - |20%| + -|10%| = 10%
It uses a short simple moving average to smooth things out a bit (see inputs). It is important to keep your axis scale in mind when using this! Two symbols that are always near zero mean they are offsetting each other very well but the value displayed might range from 0 to 0.005, but the graphed area can make it look extreme if autoscaled.
This is a tool with very specific uses : comparing how one digital currency moves in relation to bitcoin's price, comparing how gold moves in relation to silver, etc.
Bitcoin Exchanges PremiumThis is a % premium vs average BTCUSD price. In other words, how much % more are exchanges selling bitcoin at compared to normal BTCUSD price?
Blue: Korea
Red: Japan
Yellow: China
Green: USD Exchanges including Bitfinex, Poloniex, Coinbase, and Bitstamp
Hersheys CoCo VolumeCoCo Volume shows you volume movement of your symbol after subtracting the movement from another symbol, preferrably the sector or market the stock belongs to.
My latest update to my CoCoVolume Indicator. It calculates today's volume percent over the 60 period average for both your symbol and index, and displays that difference. If the percent is over the max it highlights the color, showing BIG action for that stock.
The last version was calculating the percent volume difference from yesterday to today for the stock and index and displaying the difference. The prior method had large swings on low volume stocks... this one shows the independent volume action much better. The default values will suit most stocks.
You can set three variables...
- the index symbol, default is SPY
- the period for averaging, default is 60
- the max volume percent, default is 500
Good trading!
Brian Hershey