BTC World Volume (Multi-Exchange)Release: 2018-03-29
__________________________
WHAT IT DOES
Bitcoin is listed on multiple exchanges. Many people have called for a single global index that would quote BTC volume across all exchanges: this script is such a virtual volume aggregate of the 17 largest fiat exchanges on TradingView (listed in the script comments, and in Format > Inputs for you to select). It includes USD, EUR, JPY, KRW and USDT sources.
It will, independently for each tick, quote the volume from all selected exchanges and display a stacked representation, freely inspired from CoinMarketCap charts; also a Moving Average. Each fiat/continent has its own general color, to be able to quickly glance at where volume is coming from, e.g. BitMEX or Asia. (colors are based on Google's Material Design).
By default:
Grey: BitMEX
Green: USD
Yellow: Tether (USDT)
Red: Asia (JPY, KRW)
Blue: Europe (EUR)
No more "on Coinbase this" or "on Bitstamp that", you've now got a global overview! It becomes easy to debunk a few common myths.
See CoinMarketCap for reference.
Note: Bitmex is not taken into account in CoinMarketCap (afaik) since it's trading a derivative asset (XBTUSD contracts), but it usually amounts to ~50% of the overall BTC volume in USD value. The 16 other exchanges quote their volume in BTC, and they represent 30~40% of the overall BTC volume. I believe the whole is good enough to smooth out exchanges variations, and get a fair representation of real-time activity.
__________________________
HOW TO USE IT
Just add it to your chart, it will appear as a separate indicator. By default, it appears as stacked colored "areas". There is also a total volume Histogram, which is transparent by default: you can tweak that in Format > Style.
The darker and lighter backgrounds are respectively indicative of a downward price candle (open > close), or an upward price candle (close > open). They are unrelated to volume and simply help interpreting the indicator.
You can check/uncheck exchanges in the Format > Inputs tab to remove/add some of them from computation. All are enabled by default.
You can check/uncheck exchanges in the Format > Style tab to hide them (usually you would hide all or none).
You can edit colors and transpareny as well for each exchange.
You can edit "Volume histogram" transparency to have it show (it's a simpler representation than areas).
Moving Average: You can select the type (SMA, EMA, DEMA or TEMA) and length.
__________________________
Please leave feedback below or pm me directly for bugs and suggestions.
Multi
TSP Cycles DoubleDouble Cycles
You can setup higher timeframe cycle period's as argument, default is M30
BTC World Price: Multi-Exchange VWAPBTC World Price: Multi-Exchange VWAP
__________________________
WHAT IT DOES
What you see above are not Bitmex candles, but this indicator's.
Bitcoin is listed on multiple exchanges. Many people have called for a single global index that would quote BTC price and volume across all exchanges: this script is such a virtual aggregate (formerly: Multi-Listed , Volume-Weighted Average Price ).
It will, independently for each tick, for any time-frame:
- Quote the price (O, H, L, C) and volume from Bitfinex (USD), Binance (USDT), bitFlyer (Yen), Bithumb (S. Korean Won), Coinbase (USD), Kraken (EUR) and even Bitmex (USD Contracts).
- Weight each price with the corresponding volume of the exchange.
- Quote the FOREX conversion rate in USD for each currency (USDJPY etc.)
- Finally return global average price (candles) in USD.
- Additionally provide (H+L)/2 etc. values.
No more "on Coinbase this" or "on Bitstamp that", you've now got a global overview!
See CoinMarketCap: Markets for reference. I've included alternative exchanges in the comments at the top of the script.
__________________________
HOW TO USE IT
Basically just add it to your chart and use the indicator's candles instead of the chart's main ticker.
By default, BTC World Price will display candles only, but you can also display OHLC & averages (in whichever style you want).
You may indeed want to hide the main symbol (top-left corner, click the 'eye' button next to its name), or switch it to something else than candles/bars (e.g. line).
Make sure "Scale Price Chart Only" is disabled if you want to use the auto-zoom feature. (if other indicators are messing your zoom, you can try to select "Line with Breaks" or "Area with Breaks" to allow these to overflow from the main window)
By clicking the triangle next to the indicator's name, you can select "Visual Order" (e.g "Bring to Front").
You can select regular Candles or Heikin-Ashi in Options.
In the Format > Inputs tab, you can select which exchanges to quote. By default, all of them are enabled.
The script also exposes the following typical values to the backend, which you can use as Price Source for other indicators: (e.g. MA, RSI, in their "Format > Input" tab)
Open Price (grey)
High Price (green)
Low Price (red)
Close Price (white)
(H + L)/2 (light blue)
(H + L + C)/3 (blue)
(O + H + L + C)/4 (purple)
They are all hidden by default (by means of maximum transparency).
In the Format > Style tab, you can change their color, transparency and style (line, area, etc), as well as uncheck Candles and Wicks to hide these.
If you are using "Indicator Last Value" and want to clear the clutter from all these values, simply uncheck them in Style. They will still be available as Price Source for other indicators.
You can also choose to scale it to the left, right (default) or "screen" (no scaling).
Once you're satisfied with your Style, you may click "Default"> "Save as default" in the botton-left. Everytime you load the indicator, it will look the same. ("Reset Settings" will reset to the script's defaults)
__________________________
Please leave feedback below in comments or pm me directly for bugs and suggestions.
Correlate 3 - Correlation IndicatorThe code in contains a simple correlation indicator that can be used as an alternative to Tradingview’s built-in “Correlation Coefficient” indicator. The indicator allows users to correlate up to 3 separate instruments on the same subplot. This allows you, for example, to easily see the correlation of your instrument with stocks, bonds and FX. Alternatively, a user can also see the correlation with sector, industry peers or any other data available in Tradingview.
Features
Level Guides to easily see the key correlation coefficient levels
Multi-instrument:
Volume Weighted Average Range Bands [DW]This is an experimental study designed to identify the underlying trend bias and volatility of an instrument over any custom interval TradingView supports.
First, reset points are established at points where the opening price of the interval changes.
Next, Volume Weighted Average Price (VWAP) is calculated. It is the cumulative sum of typical price times volume divided by the cumulative volume. The cumulation starts over upon each reset point.
After that, Volume Weighted Average Range (VWAR) is calculated. The formula structure is the same as VWAP, except using range rather than typical price.
Lastly, the bands are calculated by multiplying the VWAR by the specified multiplier (approximate Golden Ratio by default) and by 1 through 5, then adding to and subtracting from the VWAP.
Custom Bar Colors are included.
Multi-Bollinger [DW]This is an experimental study designed to visualize trend activity and volatility using a set of two Bollinger Bands calculated with a basis moving average type of your choice.
The available moving averages in this script are:
-Exponential Moving Average
-Simple Moving Average
-Weighted Moving Average
-Volume Weighted Moving Average
-Hull Moving Average
-Least Squares Moving Average
-Arnaud Legoux Moving Average
-Coefficient of Variation Weighted Moving Average
-Fractal Adaptive Moving Average
-Kaufman's Adaptive Moving Average
In addition, a middle filter is calculated by taking the median of the two basis lines.
Multi-Timeframe functionality is included. You can choose any timeframe that Tradingview supports as the basis resolution for the bands.
Custom bar color scheme is included with four options to choose from.
Laguerre Multi-Filter [DW]This is an experimental study designed to identify underlying price activity using a series of Laguerre Filters.
Two different modes are included within this script:
-Ribbon Mode - A ribbon of 18 Laguerre Filters with separate Gamma values is calculated.
-Band Mode - An average of the 18 filters generates the basis line. Then, Golden Mean ATR over the specified sampling period multiplied by 1 and 2 are added and subtracted to the basis line to generate the bands.
Multi-Timeframe functionality is included. You can choose any timeframe that TradingView supports as the basis resolution for the script.
Custom bar colors are included. Bar colors are based on the direction of any of the 18 filters, or the average filter's direction in Ribbon Mode. In Band Mode, the colors are based solely on the average filter's direction.
SuperTrend MultiTimeFrame with Alerts V.1SuperTrend Multi Time Frame with Multi Alerts ... you can insert alerts for all supertrend viewed on graph.
Different alerts for long and short.
This script plot 5min, 1H and 1D!
Enjoy!
MTF Polarity Grid [DW]This is an experimental study designed to track directional polarities across multiple timeframes and express them as a simple two color grid.
The polarity in this calculation is determined by divergence between a fast and slow McGinley Dynamic.
Your current resolution's polarity is the top row, the rows below are are for higher timeframes of your choice.
MTF Donchian Quadrants [DW]This is a simple Donchian Channel variation that separates the the channels into quadrants, and enables MTF calculation.
Average open and close plots are included for additional confirmation of a trend.
Multi. Exchange CCIBasic CCI script that takes the average close price data across popular crypto exchanges.
Multi SMA'sRepublished: The original script violated house rules by including an external link to Backtest Rookies.
Background
This is a simple “multi” SMA indicator so that multiple SMA’s can be monitored whilst only using a single indicator slot. It also has a couple of features that let you mix time frames and de-clutter the chart.
The code is open for anyone to modify and a copy
About the Indicator
Although the indicator does nothing more than it says on the tin, There are a couple of points worth mentioning:
The indicator will let you view up to 4 SMA’s
You can set the period for each SMA independently
You can set the resolution for each SMA independently (So you can see the see the daily SMA level when on the 15-minute chart for example)
Each SMA can be turned on/off independently to avoid clutter.
Screenshot - Default Settings
Multiple Ichimoku CloudsFor anyone that uses the Ichimoku Cloud there is a consistent need to flip between timeframes to get information about this at all levels. However, that trouble is now over. In this script there are 4 Ichimoku Clouds that operate in 4 different time frames. To change the timeframe simply change the multiplication factor to the desired levels. How this script works is that it takes your current timeframe as an input then it applies multiplication factors to it to achieve larger timescales. In the example here we are looking at the XBTJPY pair on the 1 hour. Our first cloud is 1x scaling, meaning that it is the 1 hour cloud. The second and third are 2x and 4x respectively meaning that we are looking at the 2 hour cloud and the 4 hour cloud. Lastly the largest cloud is the 24x cloud, aka the daily cloud. Now you only really need one look at the clouds for all the essential information.
As always feel free to message me about anything regarding this script.
Be happy :)
MTF Previous Open/Close/RangeThis indicator will simply plot on your chart the Daily/Weekly/Monthly previous candle levels.
The "Auto" mode will allow automatic adjustment of timeframe displayed according to your chart.
Otherwise you can select manually.
Indicator plots the open/close and colors the high-low range area in the background.
Hope this simple indicator will help you !
You can check my indicators via my TradingView's Profile : @PRO_Indicators
BullTrading MultiTimeFrame ATR %Good afternoon traders.
Have you ever got trapped on the middle of a consolidation? Well, it just happened to me trading the 1 minute chart last friday!
So, I coded this script to display a percentage of ATR for a given resolution.
Now, how can you benefit using this information?
For example:
Using the standard settings (resolution is calibrated 15 minutes in order to trade 1minute charts), just draw your prefered support and resistance. Then measure the number of pips between support and resistance. This number should be approximately the same the indicator is displaying. If the indicator is displaying a lower value, maybe it will be a good idea to tighten your support/resistance levels (if the price goes against you, you will have confidence and probability on your side to open an opposite position and reach your Take profit before a new reversal take place.
Change colors and resolution for your desired timeframe until you find your particular "sweet spot"
Have a nice trading week.
Dynamic Time Oscillator W/ MTF SupportThis script has the option to disable the MTF feature and use it as a plain DTOscillator.
The lines are the fast and slow signals for the current timeframe.
The columns are the second timeframe %K levels.
Green columns signify the second timeframe %K is greater than the second timeframe %D, Red is the reverse of this.
KK_Average Directional Index (ADX) Higher TFHey guys,
sometimes you just want to plot an Indicator value from a higher Timeframe on your Chart. For most Indicators this is pretty straightforward however there is one Indicator that has been giving me quite a headache while trying to do this: The Average Directional Index . Anyway after going through almost 200 versions of this script I finally found a solution that works and thought I would share this with you, since I'm sure some of you have encountered the same problem.
How it works
Go to your desired Instrument/Timeframe and add the Script
Under Settings in the field for "Higher ADX TF" put the Timeframe-code you want to pull the ADX Values from.
- Codes: Monthly - M, Weekly W, Daily - D
- Codes Intraday: The amount of hours in minutes, e.g. if you want to pull values from the 4h-Chart the code is 240 (60 for 1h, 15 for 15m ...)
In some cases (see below) the calculation might not be correct. So make sure the values are correct:
a) Write down the latest ADX of the higher TF while you are on the lower TF
b) Switch the Resolution to the higher TF
c) Compare the value you have just written down to the next to last value. They should be the same.
d) Switch back the Resolution to the lower TF and you're good to go.
Limitations
You can only pull values from higher Timeframes, e.g. you're on a 4h Chart, so you can only pull values from the Daily, Weekly and Monthly Chart. You can't pull values from the 1h Chart.
You can only pull values from Timeframes, where the higher Timeframe Close always has a corresponding Close on the lower Timeframe, e.g. you can't pull values from the 3h Chart when you are on a 2h Chart. This should be pretty rare.
The Script needs a certain amount of Data from the Higher TF before the calculated values are correct. I have tested this on several Instruments and the Script usually needs approximately 100 Bars on the higher Timeframe (often less) for the values to be correct (error < 1%).
So when the difference between your lower Timeframe and you higher Timeframe is large, e.g. you want to pull the Daily ADX value on a 15m-Chart, the calculation can be wrong. This can lead to errors in 2 Cases:
a) Backtesting: When you go over old data and get close to the last available Bar the Data will be wrong. This will limit the amount of data you can backtest.
b) Live values: When the difference between the two Timeframes is too large, it is possible that even live values are wrong, e.g. this will be the case when you are trying to pull the Daily ADX value on a 5 minute Chart. Always check if the calculation works with your desired combination of Timeframes before using it (see above).
I hope this is useful for you and whish all of you successful trading!
Best regards
Kurbelklaus
Multi-Day VWAP
Chart the multi-day Volume Weighted Average Price ( VWAP ). Normally, the VWAP is tracked for the current day, from the first bar of the day (regular or extended session). The VWAP shows the current value of:
-> sum(hlc3 * volume , barsForDay) / sum( volume , barsForDay),
-> where 'barsForDay' is the total number bars that have elapsed during the day for the chart interval.
The multi-day version tracks the VWAP for N days back, by averaging the previous N - 1 day bars VWAP and the current VWAP for the current bar (chart interval).
This is very different that simply using a volume weighted moving average , since the closing VWAP values are used for the historical day bars. The results are interesting for intraday trades... especially for values of 1, 2, 3, 4, and 5 days.
Enjoy.
MTF_Stochastic_SignalThis script sets up signals based on Multi-timeframe (MTF) stochastics. Alerts can easily be created to inform users of aggressive and conservative potential BUY and SELL opportunities. Overbought and oversold levels do not matter when it comes to signalling, but each trader can set their own limits.
DEFAULT CRITERION
Conservative BUY criteria is when both stochastic timeframes cross upward at the same time the closing price is above the simple moving average.
Conservative SELL criteria is when both stochastic timeframes cross downward at the same time the closing price is below the simple moving average.
Aggressive BUY criteria is when both stochastic timeframes cross upward at the same time.
Aggressive SELL criteria is when both stochastic timeframes cross downward at the same time.
TO SET UP ALERTS
1. In the "Create Alert" menu, select the "MTF_Stochastic_Signal" as the Condition.
2. To the right of the condition select one of the options that has "greater than 1" at the end of it.
3. Instead of the word crossing in the dropdown below, select "Greater Than"
4. For the value, input 1. (My TRUE values are set to 50 in the event you want to turn the plot on, however, this is not neccessary as it is redundant)
5. Select the remaining options that suit your needs and click "Create". You have now set up alerts. I suggest setting all four options fo reach symbol you monitor.
Please feel free to ask questions and provide comments. I am always looking for ways to improve my scripts.
Enjoy!
TrendAlertTrend Alert indicator based on Long term (daily) en Mid term (4h) timeframes so you can enter a trade in direction of the trend at the Short term (1h) timeframe in direction of trend. You can configure the LongTerm en MidTerm timeframe to your liking. Method by Jospeh Nemeth www.youtube.com