BTC Coinbase PremiumThis script is designed to compare the price of Bitcoin on two major exchanges: Coinbase and Binance. It helps you see if there’s a difference in the price of Bitcoin between these two exchanges, which is known as a “premium” or “discount.”
Here’s how it works in simple terms:
Getting the Prices:
The script first fetches the current price of Bitcoin from Coinbase and Binance. It looks at the closing price, which is the price at the end of the selected time period on your chart.
Calculating the Difference:
It then calculates the difference between these two prices. If Bitcoin is more expensive on Coinbase than on Binance, this difference will be positive, indicating a “premium.” If it’s cheaper on Coinbase, the difference will be negative, indicating a “discount.”
Visualizing the Difference:
The script creates a visual chart that shows this price difference over time. It uses green bars to show when there’s a premium (Coinbase is more expensive) and red bars to show when there’s a discount (Coinbase is cheaper).
Optional Table Display:
If you choose to, the script can also show this price difference in a small table at the top right corner of your chart. The table displays the words “Coinbase Premium” and the exact dollar amount of the premium or discount.
Why does it matter?
Traders and investors have spotted a correlation between bullish strength on BTC and a strong Coinbase premium along with the inverse of a strong Coinbase discount and BTC price weakness.
Coinbase
Coinbase Premium ($) Absolute Dollar Amount # Coinbase Dollar Premium Indicator
## Description
The Coinbase Dollar Premium Indicator is a powerful tool for cryptocurrency traders and analysts, providing real-time insight into the price differences between major exchanges. This indicator calculates and visualizes the dollar amount premium or discount of Bitcoin on Coinbase compared to the average price on Binance and Kraken.
## Key Features
1. **Dollar Value**: Unlike percentage-based indicators, this tool shows the actual dollar amount difference, giving traders a clear understanding of the magnitude of price disparities.
2. **Multi-Exchange Comparison**: By averaging the prices from Binance and Kraken, the indicator provides a more robust baseline for comparison, reducing the impact of single-exchange anomalies.
3. **Clear Visual Representation**: The indicator uses a color-coded histogram for easy interpretation:
- Green bars indicate a premium on Coinbase (Coinbase price is higher)
- Red bars indicate a discount on Coinbase (Coinbase price is lower)
- The height of each bar represents the dollar amount of the premium or discount
4. **Zero Line Reference**: A horizontal line at zero helps quickly distinguish between premium and discount states.
## Use Cases
- **Arbitrage Opportunities**: Identify potential arbitrage opportunities between exchanges.
- **Market Sentiment**: Gauge institutional and retail investor sentiment, as Coinbase is often associated with US institutional activity.
- **Price Prediction**: Use divergences between exchanges as a potential indicator of short-term price movements.
- **Risk Management**: Understand the pricing landscape across major exchanges to make more informed trading decisions.
This indicator is valuable for both short-term traders looking for quick opportunities and long-term investors wanting to understand market dynamics. By providing a clear, dollar-based view of inter-exchange price differences, the Coinbase Dollar Premium Indicator offers unique insights into the cryptocurrency market's microstructure.
*Note: This indicator is for informational purposes only and should not be considered financial advice. Always conduct your own research and consider your risk tolerance before trading.*
Blackrock Spot ETF Premium BTCUSD (COINBASE) V1I created an indicator that takes the spot BTC/USD pair from major exchanges and compares it to the Spot BTC/USD pair on Coinbase that institutions will use for their Spot ETFs.
Blackrock Spot ETF Premium BTCUSD (COINBASE)
I suspect we will see a new "Kimchi Premium" where the Spot ETF pressures from institutions will raise the Coinbase Bitcoin price by a factor of 10-50% premium to the other exchanges.
Naturally excess coins from other exchanges will flow into Coinbase to capture this.
This indicator should be good for some time until one of the other exchanges delist or stop using BTCUSD "spot" If it breaks it I will update it if I remember.
FederalXBT,
Ichimoku Cloud with MACD and Trailing Stop Loss (by Coinrule)The Ichimoku Cloud is a collection of technical indicators that show support and resistance levels, as well as momentum and trend direction. It does this by taking multiple averages and plotting them on a chart. It also uses these figures to compute a “cloud” that attempts to forecast where the price may find support or resistance in the future.
The Ichimoku Cloud was developed by Goichi Hosoda, a Japanese journalist, and published in the late 1960s. It provides more data points than the standard candlestick chart. While it seems complicated at first glance, those familiar with how to read the charts often find it easy to understand with well-defined trading signals.
The Ichimoku Cloud is composed of five lines or calculations, two of which comprise a cloud where the difference between the two lines is shaded in.
The lines include a nine-period average, a 26-period average, an average of those two averages, a 52-period average, and a lagging closing price line.
The cloud is a key part of the indicator. When the price is below the cloud, the trend is down. When the price is above the cloud, the trend is up.
The above trend signals are strengthened if the cloud is moving in the same direction as the price. For example, during an uptrend, the top of the cloud is moving up, or during a downtrend, the bottom of the cloud is moving down.
The MACD is a trend following momentum indicator and provides identification of short-term trend direction. In this variation it utilises the 12-period as the fast and 26-period as the slow length EMAs, with signal smoothing set at 9.
This strategy combines the Ichimoku Cloud with the MACD indicator to better enter trades.
Long/Exit orders are placed when three basic signals are triggered.
Long Position:
Tenkan-Sen is above the Kijun-Sen
Chikou-Span is above the close of 26 bars ago
Close is above the Kumo Cloud
MACD line crosses over the signal line
Exit Position:
Price increases 3% trailing
Price decreases 3% trailing
The script is backtested from 1 June 2022 and provides good returns.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
RSI with Slow and Fast MA Crossing Strategy (by Coinrule)This strategy utilises 3 different conditions that have to be met to buy and 1 condition to sell. This strategy works best on the ETH/USDT pair on the 4-hour timescale.
In order for the strategy to enter the trade, it must meet all of the conditions listed below:
ENTRY
RSI increases by 5
RSI is lower than 70
MA9 crosses above MA50
To exit a trade, the below condition must be met:
EXIT
MA50 crosses above MA9
This strategy works well on LINK/USDT on the 1-day timeframe, MIOTA/USDT on the 2-hour timeframe, BTC/USDT on the 4-hour timeframe, and BEST/USDT on the 1-day timeframe (and 4h).
Back-tested from 1 January 2020.
The strategy assumes each order is using 30% of the available coins to make the results more realistic and to simulate you only ran this strategy on 30% of your holdings. A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
Sonic R & RSI only BTCUSD D1 strategySonic R & RSI only BTCUSD D1 strategy
for t.me/beincypto_vn
for those who want to create their own strategy
Use the explanations in the strategy to copy and edit a strategy for yourself
buy when on the chart is buyEMA or buyRSI
close buy order when on chart is closeEMA or closeRSI
please use coinbase exchange time frame D1
Oversold RSI with tight SL Strategy (by Coinrule)This is one of the best strategies that can be used to get familiar with technical indicators and start to include them in your trading bot rules.
ENTRY
1. This trading system uses the RSI ( Relative Strength Index ) to anticipate good points to enter positions. RSI is a technical indicator frequently used in trading. It works by measuring the speed and change of price movements to determine whether a coin is oversold (indicating a good entry point) or overbought (indicating a point of exit/entry for a short position). The RSI oscillates between 0 and 100 and is traditionally considered overbought when over 70 and oversold when below 30.
2. To pick the right moment to buy, the strategy enters a trade when the RSI falls below 30 indicating the coin is oversold and primed for a trend reversal.
EXIT
The strategy then exits the position when the price appreciates 7% from the point of entry. The position also maintains a tight stop-loss and closes the position if the price depreciates 1% from the entry price. The idea behind this is to cut your losing trades fast and let your winners ride.
The best time frame for this strategy based on our backtesting data is the daily. Shorter time frames can also work well on certain coins, however in our experience, the daily works best. Feel free to experiment with this script and test it on a variety of your coins! With our backtesting data a trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange by volume. In the example shown, this strategy made a handsome net profit of 39.31% on Chainlink with 61.54% of trades being profitable.
Sideways Strategy DMI + Bollinger Bands (by Coinrule)Markets don’t always trade in a clear direction. At a closer look, most of the time, they move sideways. Relying on trend-following strategies all the time can thus lead to repeated false signals in such conditions.
However, before you can safely trade sideways, you have to identify the most suitable market conditions.
The main features of such strategies are:
Short-term trades, with quick entries and quick exits
Slightly contrarian and mean-reversionary
Require some indicator that tells you it’s a sideways market
This Sideways DMI + Bollinger Bands strategy incorporates such features to bring you a profitable alternative when the regular trend-following systems stop working.
ENTRY
1. The trading system requires confirmation for a sideways market from the Directional Movement Index (DMI) before you can start opening any trades. For this purpose, the strategy uses the absolute difference between positive and negative DMI, which must be lower than 20.
2. To pick the right moment to buy, the strategy looks at the Bollinger Bands (BB). It enters the trade when the price crosses over the lower BB.
EXIT
The strategy then exits when the move has been exhausted. Generally, in sideways markets, the price should revert lower. The position is closed when the price crosses back down below the upper BB.
The best time frame for this strategy based on our backtest is the 1-hr. Shorter timeframes can also work well on certain coins that are more volatile and trade sideways more often. However, as expected, these exhibit larger volatility in their returns. In general, this approach suits medium timeframes. A trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange.
Three EMAs Trend-following Strategy (by Coinrule)Trend-following strategies are great because they give you the peace of mind that you're trading in line with the market.
However, by definition, you're always following. That means you're always a bit later than your want to be. The main challenges such strategies face are:
Confirming that there is a trend
Following the trend, hopefully, early enough to catch the majority of the move
Hopping off the trade when it seems to have run its course
This EMA Trend-following strategy attempts to address such challenges while allowing for a dynamic stop loss.
ENTRY
The trading system requires three crossovers on the same candle to confirm that a new trend is beginning:
Price crossing over EMA 7
Price crossing over EMA 14
Price crossing over EMA 21
The first benefit of using all three crossovers is to reduce false signals. The second benefit is that you know that a strong trend is likely to develop relatively soon, with the help of the fast setup of the three EMAs.
EXIT
The strategy comes with a fixed take profit and a volatility stop, which acts as a trailing stop to adapt to the trend's strength. That helps you get out of the way as soon as market conditions change. Depending on your long-term confidence in the asset, you can edit the fixed take profit to be more conservative or aggressive.
The position is closed when:
The price increases by 4%
The price crosses below the volatility stop.
The best time frame for this strategy based on our backtest is the 4-hr. Shorter timeframes can also work well, although they exhibit larger volatility in their returns. In general, this approach suits medium timeframes. A trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange.
XBT Price DeltaCoinbase spot versus Bybit Perps Indicator
Red = Perps price above Spot price-Perps leading
Green = Spot price above Perps price-Spot Leading
Coinbase to Binance premium indicator/strategy
1) Offers bar/ma chart of premium
2) Offers different trading strats based on premium(ma cross, premium value cross, smoothed premium value cross)
supersmoother code credited to someone else from tradingview
BTC Premium (Grayscale & Coinbase)This indicator plots the bitcoin premium on Grayscale and Coinbase in %.
Hancock - CoinbaseSimple script aggregating normalised to 12 hour close average of coinbase tickers.
Hancock
RSI + MFI - Crypto Bull and Bear market A fancy styled version of the RSI (Relative Stochastic Index) + MFI (Money Flow Index) oscillators in order to emphasize buy and sell opportunities.
The 80 and 20 Bands are meant to be used in Bull or Bear markets. Better performing in D timeframes.
The circles represent the cross between RSI and MFI .
Designed for Crypto Markets
Thanks @micheleprandina
Credits:
Crypto USD VolumeOften times I need to check the volume in cryptocurrency exchanges and I find myself checking which type of volume I am looking at, I need to manually make sense what the data is and converting it into USD volume which I end up going to CoinMarketCap website to verify whether my calculation is right.
Today I thought it was about time I created an automatic way to find the volume in USD Dollars. This is what this script does.
1 - It removes the base currency from the symbol (e.g., "BTCUSD", it would remove "BTC", leaving us with the "USD" part.). This is important because it helps us identify the currency the pair uses.
2 - It has different pair's variables, each is given a specific currency that the final volume is calculated from. (BTC, ETH, BNB and USD are the default currencies, for other ones, it must be added manually).
This works with all crypto symbols that include BTC, ETH, BNB and USD as currencies. If you modify it, please make sure to compare data with the exchange's one.
Coinbase ALT/USD IndexA simple ALT/USD pair index of all the altcoins currently trading on Coinbase.
Coinbase Pro EMAsAn indicator to match the only overlays available on Coinbase Pro charts, the EMA12 and EMA26.
Exchange Price ComparisonCompare the BTC price at your preferred exchange against 7 other exchanges. Avoid trades at poor market value, target trades at good market value.
Average price across 8 exchanges is the 0 line, with your selected exchange displayed green if it's below the average price, red if it's above the average price. Values are displayed as distance from the average, positive or negative.
Useful for evaluating your exchange price vs average market price, to avoid poor market value trades, target good value trades, shop around exchanges for best value, potential to be adapted for arbitrage opportunities.
8 Exchanges used:
Bitfinex
Bitmex
Poloniex
Binance
Coinbase
Bitstamp
Bittrex
Kraken
Requested by Mister_Pocketlint on discord. Inspired by anise.
[Prod] SuperTrend with Stoploss+TrendZones - 1HHere, i'm using a SuperTrend (difference of moving averages) crossover strategy hybrid with stop-loss and trend-following to look at backtesting for the BCHUSD pair on the coinbase (GDAX) exchange.
Included in this script I've got some optimized parameters that seem to make a decent profit over ~35+ trades. The one thing that's bothering me here is that I get OCCASIONAL repaint issues with back-testing, but I can't figure out why for the life of me, because i'm using V3 in the start of the script. If someone could point out the mistake I may be making here , I feel like this could be a serious strategy to use against the BCHUSD pair on coinbase or other exchanges (with tuning of course).
I based this script off of with lots of modifications.
BTC Price Spread - Coinbase & Futs - Premiums & DiscountsThis indicator takes the price of Bitcoin on Coinbase and the futures price on Mex, and compares it the average price of Bitcoin across other major exchanges.
This essentials give us a spread at which Bitcoin is going for.
In turn, this could be a possible tool to help determine market sentiment.
This indicator was created for experimental purposes.
Use at your own digression.