Funding Rate for FTX:BTCPERP (estimated) v0.1 Original credits goes to @Hayemaker, and @NeoButane for the TWAP portions of this script
By @davewhiiite, 2021-03-27
Version 0.1
Summary: The funding rate is the interest charged / credited to a perpetual futures trader for taking a long or short position. The direction of the funding rate is used as an indicator of trader sentiment (+ve = bullish; -ve = bearish), and therefore useful to plot in real time.
The FTX exchange has published the calculation of their funding rate as follows:
TWAP((future - index) / index) / 24
The formula here is the same, but expresses it in the more common % per 8hr duration:
funding = TWAP((future / index) - 1) * (8 / 24) * 100
For reference: future refers to the FTX bitcoin futures contract price (FTX:BTCPERP) and index is the spot price of bitcoin on the exchange (FTX:BTCUSD)
Additional notes:
Probably best to add to the indicator to a new pane, or as secondary axis
Plot this in combination with FTX:BTCPERP or FTX:BTCUSD, or chart of your choice to complement your bitcoin dashboard
Compare to funding rates published on ViewBase
questions? Ask me!
Bitcoin (Kriptopara)
Volume Extractor By CryptoScriptsThe Volume Extractor is an indicator I've been working on for awhile that involves a Volume Oscillator derived from various volume metrics combined with Bollinger Bands and Overbought/Oversold levels. This indicator is unique because it not only measures the standard deviations whenever the oscillator crosses outside the BBs but it does so at ranges that are most advantageous for the trader to identify KEY buy/sell levels (as shown above). I'll break down each signal below and how to best take advantage of them so you can get the best entries and capture the most profit per trade.
*This indicator works best on the Binance or Bybit exchange for crypto but also works for stocks and forex. It's best used on small-medium timeframes such as the 15m, 1h, 4h, 8hr, or 12h. It tends to give more false signals on the 1D timeframes and higher.
Red Alarm - this signal indicates that the volume oscillator is overbought AND is crossing outside of the bollinger bands . This is a STRONG sell signal but should still be combined with support/resistance levels and confirmed with other indicators.
Red Diamond - this signal indicates that the volume oscillator is crossing outside of the bollinger bands above the 20 level but is not yet overbought. This is a potential sell signal but should still be combined with support/resistance levels and confirmed with other indicators.
Red Shaded Area - this indicates the volume oscillator is overbought. This is a potential sell signal but should still be combined with support/resistance levels and confirmed with other indicators.
Rocket - this signal indicates that the volume oscillator is oversold AND is crossing outside of the bollinger bands . This is a STRONG buy signal but should still be combined with support/resistance levels and confirmed with other indicators.
Green Diamond - this signal indicates that the volume oscillator is crossing outside of the bollinger bands below the 20 level but is not yet oversold. This is a potential buy signal but should still be combined with support/resistance levels and confirmed with other indicators.
Green Shaded Area - this indicates the volume oscillator is oversold. This is a potential buy signal but should still be combined with support/resistance levels and confirmed with other indicators.
Input Options
Show 80 Levels - This checkbox will create a red zone and green zone for the 60-80 levels on the indicator. This is useful if the volume oscillator reaches one of these levels, you can be sure it's going to reverse soon and can have more confidence if it crosses outside of the BBs in addition to that.
VEO Length - This changes the height of the oscillator and will change how your signals flash (more or less often). Use this if you find you're getting too many signals or not enough. I find this is best at 21 but feel free to test out what works for you depending on your timeframe.
Moving Average Volume Source - This is currently set to None but you can change it to Exponential, Hull, or Simple moving average . I found that None works best but feel free to test out the different options.
Moving Average Length - Changing this length will do nothing to your chart if None is selected for the Moving Average Volume Source, therefore you will most likely keep this setting default at 9.
Alerts
I've set alerts on this indicator for each icon (Red Alarm, Red Diamond, Overbought, Rocket, Green Diamond, Oversold). I HIGHLY recommend setting the alerts for Candle Close so that you can be sure the signal is confirmed.
You may notice that the indicator can give multiple signals back-to-back or be overbought/oversold for multiple candles. When this happens, it's best to look at other indicators such as the RSI , MFI Pro, etc to nail the best entry and have confluence with your decision. With that said, having multiple signals back-to-back can also be an indication that the move is close to happening.
This indicator is a strong indicator by itself but works best when paired with my Price Extractor indicator i.e taking a trade when both indicators are displaying overbought/oversold or crossing outside of the bollinger bands . Measuring price action is an extremely important aspect of trading and one I believe should not be overlooked. I hope I made everything as clear as possible and please let me know if I didn't.
PM me to obtain access and please let me know if you have any questions!
Lash Out OscillatorPurpose of this Script
The Lash Out Oscillator (LOO) is designed to indicate local tops and bottoms of the considered asset when the price considerably 'lashes out', based on normalized price deltas. It also features divergences that can be used for trading. The LOO is mainly used for Ethereum (ETH) and Bitcoin (BTC), but can in theory be used for every asset. Customization of the input settings is then needed to match the boundaries well to the historic price data. The default parameters are tuned for Ethereum.
Settings
Default input settings are tuned for Ethereum (ETH/USD) on Kraken on daily (D) timeframe.
Generally best used on daily (D) timeframe. You might also want to test the 4-hourly (4H) timeframe.
After applying the indicator to the chart, one typically has to zoom into the oscillator as the raw price delta is also plotted (in blue) which often overshadows the oscillator in magnitude.
For all other assets besides Ethereum, the oscillator and boundary values have (very likely) to be adjusted.
All individual pieces can be hidden from the chart (especially important as one might want to hide the blue raw price delta as it could disturb the process of tuning the oscillator due to automatic zoom-outs).
Input Settings for Bitcoin
Aside from Ethereum (default settings), I provide the following settings which can be used for Bitcoin (BNC:BLX) on daily (D) timeframe:
Averaging Length: 20
Donchian Length: 40
Donchian Scaling: 0.2
Fixed Red High: 6.1
Fixed Red Low: 2.3
Fixed Green High: -2.3
Fixed Green Low: -6.1
Still, feel free to tune the LOO to your liking.
Differences to Classic Oscillators as e.g. Relative Strength Index (RSI)
Classic oscillators as the RSI feature fixed limit values (e.g. 0 to 100 for the RSI) and are therefore (as the name says) very relative (you cannot reliably guess tops or bottoms just from the RSI value). The LOO features non-fixed limit values (they can theoretically go to infinity, but are in practice very well contained within some range), leading to less relativity and more absolute behaviour, which is beneficial in spotting local tops and bottoms. Just as the RSI, the LOO shows (bullish and bearish) divergences on the chart, which can be used for refined trading.
Interpretation
Given are two boundary types:
Fixed boundary areas
Donchian channels
Normally one should look out for the LOO to hit the red or green fixed boundary areas. Although the range is in theory infinite, the fixed areas give good hints when a local top could be hit, at least for the Ethereum case. For additional trades one can look for the LOO to hit the Donchian channels. Note that these areas/channels have to be adjusted by hand for all other assets besides Ethereum. General trading ideas are:
After the red (green) area is hit, a short- to mid-term (depends on market phase) short/hedge (long) trade might be in order.
During full bullruns (bearmarkets), the LOO can extend a bit more into the red (green) area. Here look out for bearish (bullish) divergences to possibly enter mid-term trades.
After the upper (lower) Donchian channel is hit, a short/hedge (long) trade could be wagered.
Alerts
Alerts are built-in that trigger when the LOO crosses into the red or green fixed boundary regions.
Access
For access to this indicator please contact me via DM on TradingView or on Twitter (linked on my TradingView profile and in my signature).
Crypto Risk Buddy - Lite: Position Size, SL & TP System [UTS]
Crypto Risk Buddy - Lite
Position Size, Stop Loss & Take Profit System
The ultimate system to calculate trading risk on crypto assets.
The 'Lite' version is limited to BTC as base currency.
₿ Cyptocurrencies
Position Sizing
De-risk possible drawdown by calculating a proper position size.
Define your risk percent based on your net value
Freely define your account currency
Trade any asset by the customizable Base / Quote currency factor
Calculate trading fees
Show all information on a customizable data screen
Stop Loss
Minimize trade risk by calculating your stop-loss.
Percent, Value and Delta display from current price
ATR based (Average True Range, modifiable)
Custom SL value possible
Adjustable
Two visual representations on chart
Automatically and real-time calculated on screen
Take Profit
Multiple take-profit levels to ensure not giving back to the market.
Up to 3 take profit levels to define
ATR based (Average True Range, modifiable)
Custom TP values possible
Easily customizable
Two visual representations on chart
Automatically and real-time calculated on screen
Currencies
Choose an account currency and calculate your risk for every trading pair.
USD
EUR
GBP
AUD
CAD
CHF
HKD
JPY
NOK
NZD
RUB
SEK
SGD
TRY
ZAR
BTC (crypto)
ETH (crypto)
USDT (crypto)
BUSD (crypto)
USDC (crypto)
Crypto Risk Buddy: Position Size, SL & TP System [UTS]
Crypto Risk Buddy
Position Size, Stop Loss & Take Profit System
The ultimate system to calculate trading risk on crypto assets.
₿ Cyptocurrencies
Position Sizing
De-risk possible drawdown by calculating a proper position size.
Define your risk percent based on your net value
Freely define your account currency
Trade any asset by the customizable Base / Quote currency factor
Calculate trading fees
Show all information on a customizable data screen
Stop Loss
Minimize trade risk by calculatig your stop-loss.
Percent, Value and Delta display from current price
ATR based (Average True Range, modifiable)
Custom SL value possible
Adjustable
Two visual representations on chart
Automatically and real-time calculated on screen
Take Profit
Multiple take-profit levels to ensure not giving back to the market.
Up to 3 take profit levels to define
ATR based (Average True Range, modifiable)
Custom TP values possible
Easily customizable
Two visual representations on chart
Automatically and real-time calculated on screen
Currencies
Choose an account currency and calculate your risk for every trading pair.
USD
EUR
GBP
AUD
CAD
CHF
HKD
JPY
NOK
NZD
RUB
SEK
SGD
TRY
ZAR
BTC (crypto)
ETH (crypto)
USDT (crypto)
BUSD (crypto)
USDC (crypto)
Bitcoin Bullrun ATHFind Bitcoin's next ATH before bearmarket.
This indicator, which successfully indicated the 3 previous tops, has been modified and improved.
Its precision is the most accurate on the 2h timeframe.
3 features:
- A visual percentage gauge will show the next potential high of the current bull run when it reaches 100%
- Possibility to add an alert when the gauge reaches 100%. To do this, go to the tradingview alert menu and instead of the ticker, choose "Bitcoin Bullrun ATH" (Don't forget to set the timeframe on 2h or less.)
- Possibility to choose if you want to see or not the tips/gauge/percentage only.
Welcome and have a good bull run.
[astropark] Volume AnalyzerDear Followers,
today another awesome Analysis Tool, that you can use for day scalping: Volume Analyzer !
This indicator
works on every market, pair and timeframe
lets you see analysis of a different timeframes using the resolution parameter
has an optional trend colored background (I suggest to disable it if you use a different resolution)
integrates a tape profit strategy based on RSI (you can config it and enable/disable it)
lets you setup alarms on bull/bear signal as well as on TP RSI-based signals
I prefer to use this indicator in my day trading on low timeframes , like 5m - 15m - 1h, as you can have access to a more detailed volume information, but it works on high timeframes too as you can see in examples at the bottom of the description.
I truly think that Volume says a lot about future price action, as stated in my Cumulative Volume Delta (CVD) indicator, which you can find here below:
In this indicator, I'm much more interested in the bullish or bearish effect of volume generated by traders and following price action.
Be sure to understand that at current status this is not a complete automated strategy, but an analysis tool which aims to give you a positive bias, a profitable hedge in your trading journey.
As I always say, all tools are great if you use them correctly: this is not the "Holy Grail", so always use proper money and risk management strategies.
This indicator quite often calls bottoms and tops , most of the times it announces a coming reversals , sometimes it fails too of course.
Check this screenshot to have a clear idea of what I'm talking about:
You are supposed to discard signals of the same type that comes later and at a worse price (related to the trend) or you can use to re-fill your still-open position, using it as a re-entry.
You are supposed to act at first signals and average up/down if price goes against you when a new bear/bull signal appears at a better price.
Here it is another element you must consider: price action can deny a reversal stated by volume analysis .
In these cases, you must apply a stop loss in your trade and reverse your position. Don't average up/down your entry.
The reason in this screenshot below:
As you can see, the local downtrend was broken, as it was a simple pullback, previous bull trend was restored and price went up a lot!
The indicator here detected bears rejecting the run-up as much violently as they could, but that was a pullback, nothing more than that: main bull trend was still intact.
Another important advice: don't be greedy, always remember to take profits ! Avoid turning a winning trade into a losing one, which is a common mistake traders do.
That's why I decided to include an RSI based Take Profit algorithm inside:
when background is colored by green (and you can't see any bull signal), then you are in over bought region: start taking profits on you buy/long position or close it or set a trailing stop or a stop loss in profit!
when background is colored by red (and you can't see any bear signal), then you are in over sold region: start taking profits on you sell/short position or close it or set a trailing stop or a stop loss in profit!
when price is in a big overbought or oversold region, then you can see a "ob" label or a "os" label respectively
if you are in a bullish trend (you can see it from the trend colored green background as last signal was a "bull" one), "ob" becomes a clear "tp" - Take Profit advice
if you are in a bearish trend (you can see it from the trend colored red background as last signal was a "bear" one), "os" becomes a clear "tp" - Take Profit advice
Here some examples how you can use the signals produced by the indicator in order to be a successful trader.
I circled with pink signals you as supposed to take, then with a "$" pink backgrounded region where you are supposed to take profits, I finally put an X on failing signals, where you would theoretically have been stopped-out.
GBPUSD, 15m
ETHUSD, 1h
TSLA, 5m
BTCUSD, 15m
XAGUSD, 1h
EURUSD, 15m
SPX500, 1h
ETHUSD, 1D
ETHBTC, 6h
This is a premium indicator , so send me a private message in order to get access to this script.
Bitcoin Funds PremiumDisplay the % premium of 4 different Bitcoin Funds relative to the price of Bitcoin in your current chart.
BTCC ETF
QBTC Fund
GBTC Trust
VBTC ETN
This indicator uses the metrics from the fund management websites to calculate the "Net Asset Value per Unit (NAVPU)" to calculate the true underlying value of the fund.
The difference is then compared to the price of Bitcoin in the chart you have open.
Note that the metrics change and therefore the graph is not accurate for long past timeframes.
If TradingView would expand their script language in a way to ingest CSV data from the funds website then this could be improved.
You can update the metrics for each fund in the settings dialogue.
The script will autodetect the currency pairs of your current graph and only display compatible funds:
BTC / USD will show BTCC.U, QBTC.U and GBTC
BTC / CAD will show BTCC and QBTC
BTC / EUR will show VBTC
The script should not show in other currency pairs so it will not mess up other charts you might switch to.
If you find bugs with this logic, please comment below so I can fix them.
Due to TradingViews "no-links in description" policy, you need to google each funds website yourself to find the current metrics. These search terms should help:
BTCC search "Purpose Bitcoin ETF"
QBTC search "3iq The Bitcoin Fund (QBTC)"
GBTC search "Grayscale® Bitcoin Trust"
VBTC search "VanEck Vectors Bitcoin ETN"
Price Extractor By CryptoScriptsThe Price Extractor is an indicator I've been working on for awhile that involves a Price Oscillator derived from various moving averages combined with Bollinger Bands and Overbought/Oversold levels. This indicator is unique because it not only measures the standard deviations whenever the oscillator crosses outside the BBs but it does so at ranges that are most advantageous for the trader to identify KEY buy/sell levels (as shown above). I'll break down each signal below and how to best take advantage of them so you can get the best entries and capture the most profit per trade.
*This indicator works best on the Binance or Bybit exchange for crypto but also works for stocks and forex. It's best used on small-medium timeframes such as the 15m, 1h, 4h, 8hr, or 12h. It tends to give more false signals on the 1D timeframes and higher.
Red Alarm - this signal indicates that the price oscillator is overbought AND is crossing outside of the bollinger bands. This is a STRONG sell signal but should still be combined with support/resistance levels and confirmed with other indicators.
Red Diamond - this signal indicates that the price oscillator is crossing outside of the bollinger bands above the 20 level but is not yet overbought. This is a potential sell signal but should still be combined with support/resistance levels and confirmed with other indicators.
Red Shaded Area - this indicates the price oscillator is overbought. This is a potential sell signal but should still be combined with support/resistance levels and confirmed with other indicators.
Rocket - this signal indicates that the price oscillator is oversold AND is crossing outside of the bollinger bands. This is a STRONG buy signal but should still be combined with support/resistance levels and confirmed with other indicators.
Green Diamond - this signal indicates that the price oscillator is crossing outside of the bollinger bands below the 20 level but is not yet oversold. This is a potential buy signal but should still be combined with support/resistance levels and confirmed with other indicators.
Green Shaded Area - this indicates the price oscillator is oversold. This is a potential buy signal but should still be combined with support/resistance levels and confirmed with other indicators.
Input Options
Show 80 Levels - This checkbox will create a red zone and green zone for the 60-80 levels on the indicator. This is useful if the price oscillator reaches one of these levels, you can be sure it's going to reverse soon and can have more confidence if it crosses outside of the BBs in addition to that.
PEO Length - This changes the height of the oscillator and will change how your signals flash (more or less often). Use this if you find you're getting too many signals or not enough. I find this is best at 21 but feel free to test out what works for you depending on your timeframe.
Moving Average Price Source - This is currently set to None but you can change it to Exponential, Hull, or Simple moving average. I found that None works best but feel free to test out the different options.
Moving Average Length - Changing this length will do nothing to your chart if None is selected for the Moving Average Price Source, therefore you will most likely keep this setting default at 9.
Alerts
I've set alerts on this indicator for each icon (Red Alarm, Red Diamond, Overbought, Rocket, Green Diamond, Oversold). I HIGHLY recommend setting the alerts for Candle Close so that you can be sure the signal is confirmed.
You may notice that the indicator can give multiple signals back-to-back or be overbought/oversold for multiple candles. When this happens, it's best to look at other indicators such as the RSI, MFI Pro, etc to nail the best entry and have confluence with your decision. With that said, having multiple signals back-to-back can also be an indication that the move is close to happening.
This indicator is a strong indicator by itself but works best when paired with my Volume Extractor indicator i.e taking a trade when both indicators are displaying overbought/oversold or crossing outside of the bollinger bands. Measuring price action is an extremely important aspect of trading and one I believe should not be overlooked. I hope I made everything as clear as possible and please let me know if I didn't.
PM me to obtain access and please let me know if you have any questions!
BTC Prices IndicatorThis indicator shows you the prices of 4 of the top cryptocurrency exchanges: Binance, BitMEX, Coinbase, and, Bybit. The prices are updated each minute and can be useful for showing you what type of market is leading a particular run.
E.g Coinbase premium shows spot buyers are leading a rally.
Keltner + RSI Bitcoin Futures Trading [luca_badoer]This indicator combines the power of the Keltner channel with the power of the Relative Strength Indicator (RSI). It can help understand when the market is entering a bullish or a bearish trend.
Normally a Keltner channel would reference an Exponential Moving Average (EMA) of the price. In this case the Keltner Channel in the "Keltner + RSI Bitcoin Futures Trading " references the EMA of the 14-day RSI (white line). On top of that it overlays a 7-day RSI line (blue line). This produces some signals that are particularly useful in 2h, 4h and 1 day charts. The signals consist in the 7-day RSI line (blue line) crossing the upper (green) or lower (red) Keltner channels as well as the middle (white) line. Depending on the direction of the crossing (up or down) and the RSI level (from 0 to 100) at which the crossing takes place this produces bullish or bearish signals.
Examples:
- Bullish crossing: 7-day RSI (blue) crosses both the lower (red) and middle (white) lines upwards at a low to neutral RSI level (<70%)
- Bearish crossing: 7-day RSI (blue) cross both the upper (green) and middle (white) lines downwards at a high to neutral RSI (>30%)
Recommendations:
- Better to use it in 2h, 4h, and 1-day charts, thought it can also be used in lower timeframes. Confirmations of crossings in higher time-frames provide more certainty about the direction of the move.
- Use in combination with Heikin Ashi candles and volume indicators.
BTC Multi Exchange Perpetual PremiumThis script tracks the premium/discount of Bitcoin perpetual contracts at various exchanges.
The premium/discount is calculated against an index price. The index price is calculated from spot exchange prices and are weighted as follows:
Bitstamp:28,81%
Bittrex:5,5%
Coinbase: 38,07%
Gemini: 7,34%
Kraken: 20,28
The difference between this script and other available scripts, is that exciting script seems to only focus on one exchange. This script is also open source.
Bitcoin Funds OverlayOverlay the Net Asset Value per Unit (NAVPU) of 4 different Bitcoin Funds on your Bitcoin chart.
BTCC ETF
QBTC Fund
GBTC Trust
VBTC ETN
This indicator uses the metrics from the fund management websites to calculate the "Net Asset Value per Unit (NAVPU)" to display the true underlying value of the fund.
Note that the metrics can change and therefore the graph is not accurate for long past timeframes.
You can update the metrics for each fund in the settings dialogue.
The script will autodetect the currency pairs of your current graph and only display compatible funds:
BTC / USD will show BTCC.U, QBTC.U and GBTC
BTC / CAD will show BTCC and QBTC
BTC / EUR will show VBTC
The script should not show in other currency pairs so it will not mess up other charts you might switch to.
If you find bugs with this logic, please comment below so I can fix them.
Due to TradingViews "no-links in description" policy, you need to google each funds website yourself to find the current metrics. These search terms should help:
BTCC search "Purpose Bitcoin ETF"
QBTC search "3iq The Bitcoin Fund (QBTC)"
GBTC search "Grayscale® Bitcoin Trust"
VBTC search "VanEck Vectors Bitcoin ETN"
BTC Perp Volume Per ExchangeBitcoin aggregated derivatives volume in stacked format or indexed format and denominated in USD.
This allows you to look at total volume of perpetual swap contracts and compare volume of different exchanges.
The indexed format makes it easier to look at the ratio of volume share of each exchange.
Markets included are:
Binance USDT
Huobi USD
Bybit USD
Bitmex XBT
FTX USD
Deribit USD
Phemex USD
Keep in mind that the Binance and FTX perps are dollar margined contracts. All the other ones are inverse contracts (coin margin).
In the settings you can exclude certain exchanges, but only do this in the "input" section and NOT in the "style" section.
If you get rid of markets in the style section it'll mess with the calculation and the data will be incorrect.
It's free so just add this indicator to your favourites.
Cheers.
BTC Spot Volume Per ExchangeBitcoin aggregated spot volume in stacked format or indexed format and denominated in USD.
This allows you to look at total volume and compare volume of different exchanges.
The indexed format makes it easier to look at the ratio of volume share of each exchange.
Markets included are:
Binance USDT
Okex USDT
Huobi USDT
Coinbase USD
Bitfinex USD
Bitstamp USD
FTX USD
In the settings you can exclude certain exchanges, but only do this in the "input" section and NOT in the "style" section.
If you get rid of markets in the style section it'll mess with the calculation and the data will be incorrect.
It's free so just add this indicator to your favourites.
Cheers.
(D7R) Deribit Bitcoin FuturesDeribit Contract Futures Price with 3 different value display modes. (Percentage, Delta, Absolute).
This information can be used to understand when futures are trading at relative strong premium or discount against each other.
This information can either be used for hedging or price speculation when difference between contracts offer that arbitrage.
Sharktank - Pi Cycle PredictionThe Pi Cycle indicator has called tops in Bitcoin quite accurately. Assuming history repeats itself, knowledge about when it might happen again could benefit you.
The indicator is fairly simple:
- A daily moving average of 350 ("long_ma" in script)
- A daily moving average of 111 ("short_ma" in script)
The value of the long moving average is multiplied by two. This way the longer moving average appears above the shorter one.
When the shorter one (orange colored) crosses above the longer (green colored) one, it could mean the top is in.
These moving averages rise at a certain rate. Using these rates we could try to estimate a possible crossover moment. That's exactly what this indicator does! It gives the user a prediction of when a crossover might happen.
Special thanks to:
- Ninorigo, for making his indicator public. This one uses his as a starting point.
- The_Caretaker, for coming up with this idea about calling a top. Yet, his is more price-based, this one is more time-based.
Cryptos Relative Strength Oscillator
This is an oscillator made of biggest 40 cryptocurrency/USDT pairs.
* It shows relative strength and change of crypto market during certain time on given interval.
* The tool has a bunch of data put together into one oscillator:
* top and bottom lines are made of 3 strongest and 3 weakest crypto pairs (out of 40)
* has visible names of that pairs for several candles back (it cannot show more due to TV's Pine limitations)
* in settings you can set up 2 methods of calculations:
1) % change from SMA of price, default is SMA 5
2) % changes from x-candles back, to see that change from the last candle please turn of 'Moving Average' and set up 'Bars Back' to 1
* you can change source to close/hl2/ohlc2/etc
Notice 1:
- to have nicer visibility of whole oscillator make it bigger part of whole screen then you normally use for other oscillators
Notice 2:
- scroll your mouse to widen the horizontal axis, so names of certain crypto pairs will be more readable
Notice 3:
- script has 40 Pine security functions (to gather all the data from all pairs) so it can load up to several seconds
- also every change in settings will possibly result in longer loading time
ps. This script is invite-only for the members of our trading group (info in signature, group is free of charge).
MA Multiplier with FibonacciThis implementation of the "2-Year MA Multiplier" gives you some control over the indicator, you can change the multiplier from it's default of 5, you can change the lookback from it's default of 730 days and I've also added three fibonacci traces between the moving average and it's multiple that you can play with. Oh and you can also choose the data source ('close' or 'hl2' make most sense).
The formula for this indicator was created by Philip Swift.
Thanks to @Pladizow for pointing me to this indicator.
MA200W buy sell BTC ColoredA script to help you plan your entrances and exits with beautiful colors for BTC. It just helps to better highlight the gap between the start of the week and the end.
It only work on Weekly.
Info :
Blue ... you can wait, enjoy your life
Green is when you buy
Yellow when you enter bull market
Orange is when you begin to take care of next week
Red when you begin to sell low part
White, if while a week you see white you can sell bigs bags, if it end with White you can close majors positions
Warning White may not appear, if second week after first Red week is not White you can sell large position
Good luck and take a breath
Arbitrage Sniper (POC)Good Morning Traders!
Today I want to share with you the proof-of-concept of how you would be able to do arbitrage with crypto pairs.
THE INDICATOR MUST BE PLACED ON THE TRADING PAIR OF THE TWO CURRENCIES (i.e. ETH/BTC, EOS/ETH etc.)
This arbitrage method is based on the transitional decorrelation between the crypto treding pair and the price ratio of the involved currencies, of course computing commissions as well.
Whenever the non-arbitrage condition is not respected, there is an arbitrage oportunity.
This indicator won't consider the chance of shorting, so if the arbitrage oportunity occurs the indicator will suggest you just the chance of buying the relative-undervalued currency (but inside the code you will know how to do the alternative method as well, by shorting the relative-overvalued currency)
Let's take the trading pair ETH/BTC (as in the graph) → if we assume commissions for the 0.075% of the order, the non-arbitrage condition will be presented like this
This arbitrage method will need three orders, so n=3
So let's assume that P(ETH)/(P(BTC)*P(ETH/BTC))>(1-0.075)^(-3) → it means that the price of Ethereum is currently overreated enough (relatively to the trading pair) for doing arbitrage.
We have two alternatives:
• Buy BTC, change it into ETH (by "buying" ETH in the trading pair ETH/BTC) and then sell ETH
• Sell ETH, buy BTC, change it into ETH (by "buying" ETH in the trading pair ETH/BTC)
On the other hand, if P(ETH)/(P(BTC)*P(ETH/BTC))<(1-0.075)^(-3) → it means that the price of Ethereum is currently underrared enough (relatively to the trading pair) for doing arbitrage.
We have two alternatives:
• Buy ETH, change it into BTC (by "selling" ETH in the trading pair ETH/BTC) and then sell BTC
• Sell BTC, buy ETH, change it into BTC (by "selling" ETH in the trading pair ETH/BTC)
I'm saying that is nothing more than a proof-of-concept since:
- Arbitrage Oportunities will emerge frequently just nearly zero commissions
- Data of prices are retrieved using security() function and there can be some delay (so the arbitrage oportunity will be already extinguished by the time the signal is retrieved)
- In order to have the freshest data, repiainting will occurr