Aggregate RSIAggregate RSI of the top 40 coins listed on CoinMarketCap.com on 25th of February, 2019, on USD or USDT pairs.
Because of requesting info about the prices of 40 coins using security(), this script is SLOW.
Cripto
Mining Cash Flow LineTakes QUANDL Bitcoin blockchain difficulty data, three variables (hashrate in THs/sec, power consumption in kWh, and electricity costs in cents/kWh) and calculates the base line for cash flow in US dollars. The default is an AntMiner S15 at 10 cents/kWh.
When price is above this line, miners with the given conditions have positive cash flow (i.e. they make more money mining than their running costs), and when below the line, they would be better off turning their rigs off (if this simple model can be applied to their particular circumstance).
Assumptions:
1. All costs are consolidated into one "electricity cost" variable, including things like rent and wages for mining farms.
2. 12.5 BTC/block emission schedule (update source code upon next halving).
Warnings:
It is likely that actual costs to miners varies in complex ways. This indicator only shows a cash flow calculation for a very simple set of parameters that will generally apply to miners, but not necessarily all of them. (For example, a miner may be locked into a prepaid contract for cheap electricity, or sell exhaust heat in the winter for extra revenue.)
Positive cash flow is also different from ROI, as this model does not take into account the cost of acquiring an ASIC mining rig.
Complete Ichimoku Trader *modified*I just found this script from @kingthies here and like it. So i just made some changes and added some little code into it.
Reduced some noise for the signals. Hope anyone can enjoy it. But keep in mind, did not test it on live trading! Had just some time and love to work in pine :)
Original
Happy Trading
wen sh*tcoin season, targetsir ?Cheap thing to throw over your charts when scrolling through the likes of Binance, Bittrex or whatever
Highlights the Golden Cross region ("It's alt season!") -- configurable
Attempts to highlight potential "out of season" blatant accumulation via large volume spikes -- %age spike configurable
BTC Aggregate USD Volumeaggregated USD volume of BTC from Bittrex, Poloniex, OkCoin, Gemini, Binance, Bitstamp, Kraken, Bitfinex, Bitmex (leveraged), and Coinbase
Crypto market PSAR (cPSAR)This indicator calculates the PSARs of the most liquid cryptocurrencies (as percent differences from the prices) and sums them together.
The PSARs under the closes, which act as support, are summed separately and shown in green. The PSARs over the closes (acting as resistance) are summed separately and shown in red.
The result is an indicator which can be interpreted somewhat like the RSI (but keep in mind that PSAR is a lagging indicator unlike the RSI which is a leading indicator). By interpreting this correctly you can - SOMETIMES - predict the short-term turns of the entire crypto market.
Many traders use the prices shown by PSAR (Parabolic Stop And Reverse) to set stop loss prices and/or to take profit and reverse their positions. This is why, on reversal of the PSARs (= when one of the red or green values becomes visibly larger than the other), a strong turning of the market can, sometimes, occur.
PIVX Arbitrage ObserverObserve PIVX price arbitrage in BTC on two exchanges that TradingView has listed. It's on a bunch more but TV doesn't track them :/
Crypto Correlation Matrix Series [SHK]Hi everyone, Although everything's clear from the title but I should describe some basic points.
Currency Correlation is a statistical measure of how two securities move in relation to each other.
So this script is used to show if current pair (alt-coins) is moving in the same direction of bitcoin (or ethereum) or not. Consider that in crypto market most of alt-coins have correlation of +0.7 with bitcoin, So temporary changes in correlation may signal a reversal or sharp continuation for the alt-coin.
"1" : The alt coin is moving in same direction of Bitcoin (Or Ethereum).
"0" : The alt coin is moving in random direction compared to Bitcoin. (No movement relation)
"-1" : The alt coin is moving in opposite direction of Bitcoin.
Important Note: By default average of 15 bars back is measured to calculate the correlation by this script. Please test other periods and share the best options with us.
Comments are welcomed :)
Bitfinex Longs/Shorts Ratio AlertableThis script contains Bitfinex longs/short ratio and generates alarms with a given input .default value is 60 which means alerts when either shorts/longs reach 60:40 ratio
Renko CandlesticksRenko charts are awesome . They reduce noise by only painting a brick on the chart when price moves by a specified amount up/down. When the price reverses, it must go twice the specified amount before a brick is painted. Time is not a factor, just price movement. Sometimes however, you want the pros of a renko chart, but on a regular candlestick chart. This indicator attempts to do just that.
A band is placed around price action showing the upper and lower bounds of what would be the current renko brick. The band only goes up/down when the price action itself moves up/down by the amount you specify. There are several ways of specifying the amount:
Fixed Price Amount: As the name says, you enter the brick size amount, i.e. the amount the price has to move before being in a new brick.
% of Price: This method will calculate the amount the price has to move as a percentage of the price itself. This way as price goes up/down, your brick size will adjust accordingly. Recommended values would be around 1% or less.
% of ATR: This option will make the brick size a percentage of the Average True Range. You can specify the ATR time frame to be different from your current time frame as well as the ATR length. For instance you could be on a 10 minute chart but specify the ATR to be daily with a length of 3 and a percentage amount of 15. This would make your brick size 15% of the Average True Range for the last 3 days. Recommended values are 10 to 20%.
Use this indicator on any time frame, even the 1 minute as the renko bands span the price action the same way on any time frame easily letting you know whether or not the price has moved appreciably, regardless of how much time has passed.
You can also set alerts easily, simply set the alert to crossing and choose “Renko Candlesticks” instead of “Value”. You will then see the options for the renko upper and lower bounds.
Tested on Bitcoin with the following values:
Fixed Price Amount: 30 ($30)
% of Price: 0.45 (if Bitcoin is $7000 then the brick size would be $31.50)
% of ATR: 15%, ATR Time Frame: 1D, ATR Length: 3 (3 days)