Top 5 coins cummulated Upvol/Dnvol and Money FlowThis script reads price and volume information for the top 5 coins (on 9 exchanges, a total of 29 pairs), calculates the cummulative upvolume and downvolume according to the Money Flow (MFI) formula, and shows upvolume and downvolume separately on the chart as a green and a red line.
The coins used are BTC, ETH, LTC, XRP and EOS. They are the top 5 coins by daily volume, as of 24th of February 2019.
Because of the many security() calls needed, the script is VERY slow, so have lots of patience.
I find it useful as a broad crypto market indicator - for example to compare the current pump with the pumps in the past.
Can also calculate the aggregated Money Flow (MFI) if you check that option in the indicator's configuration. Make sure to wait for recalculation and rescale the chart afterwards - MFI has a value from 0 to 100 and you may need to zoom in.
Cryptocurrency
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.
Simple Alt Coin Strategy - EMA and MACD w/Profit and StopThis script prints BUY and SELL signals based on settings you input. I use it to save time while scrolling through charts deciding what alts I want to look at.
BUY SIGNALS
Positive EMA Crossover
Positive MACD Crossover
Single Candle Gains
SELL SIGNALS
Profit Capture
Stop Loss
I don't trade based just on the BUY or SELL from this strategy, but I have found that these indicators do very well well looking at the large cap alt coins. It backtests well.
Default Settings EMA 5/12/50, MACD 9/12/26, Single Candle Gain 10%, Stop 10%, Profit Capture 45%
Average True Range (ATR %) Stop Loss CalculatorThis indicator takes the average of a series of ATR to calculate what I would consider an optimum stop loss placement represented in percentage (read below for full overview).
While the data is plotted what is most helpful are the actual numbers presented and for my charts I remove most of the plotting.
This indicator is most helpful on the daily timeframe but can be used for all timeframes such as the 4HR, 1HR or even 15M.
This indicator should not be used alone. It should be used in conjunction with proper price action analysis. It’s also a great indicator if you chart using Value Channels. Ideally you want your stop placement to be below at least one core Value Channel boundary range. In addition to standard support and resistance and some key moving averages the market respects. This also works best when trading with the prevailing BIAS of the instrument (bull or bear).
Cryptos: Generally, that means you’re buying on retracements that fit the end of a structured move. The other option is using this in a clear up trending market where the pull backs are clearly being supported with buying.
FOREX: I built another indicator for FOREX search: ATRPIPS with SL
WTI: Helpful but I have different rules for when I trade WTI. I rely upon VCs and diagnal VCs much more when trading this.
Equities: Helpful but with the increase of volatility as well as uncertainty of Bias of the market-- this should be used as more of a guide than
What is most important is the actual percentage numbers but I've found graphing 1-3 of the actual ATRs is helpful. The rest just uncheck the checkbox in the options.
Indicator Overview:
Value 1 - 3 Period ATR (maroon)
Value 2 - 7 Period ATR (green)
Value 3 - 30 Period ATR (blue)
Value 4 - 90 Period ATR (blue, bold)
Value 5 - 1 Period ATR (green)
Value 6 - 1 Period ATR (red)
Value 6 – Prime Stop Loss Placement (maroon). This is the average of all above ATRs multiplied by 1.5
Value 7 - Move Left (red). Experimental value. This is the difference between (prime stop loss) and 1 day period move. Two ways to use this value. Use as a tighter stop loss placement. The other option is to use as a retrace target for purchase and using the Prime Stop Placement value as you’re stop loss.
All ATRs use the LOW price of the period. After testing both the low and close I’ve settled on the low to capture the most volatility you will typically experience.
Once again, this indicator should be used in conjunction with your proven trade system.
Also, by knowing what the values are within the indicator you could just eye ball what would be the best stop placement depending on the ATR or 1 or 2 ATRs you find most represent the volatility of what you are trading.
I will be expanding on this indicator by bringing in average measured moves as well as volume analysis and most likely with color changes and modifications.
Background:
While using and refining my trade system I've noticed that most moves happen in 3 periods. So we start there. The 7 period is good for a 24 hour market such as crypto (although weekend trading can be a hit or miss) and to some extent FOREX. The longer periods of 30 & 90 are to smooth out the data set. The final value of the 1 period is to bring a little more recency to the calculation.
Why multiply the average by 1.5? I've found in my own trading and system I built to be the best placement (in conjunction with VCs) to ensure you're stop isn't to close and is within the instrument you are trading volatility .
I'm looking at making this more intelligent as well as take into account volume and structured moves.
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.
Multiple Trend Indicatorweekly 21wma,daily 21wma and more,within your current chart. and shows multiple trend. if u need something like this
Comparative ATR%Comparison of the ATR (Average Trading Range) of multiple coins. The ATRs are shown as percentage.
Aggregated Volume LTCBTCAggregates the LTC/BTC volume from multiple exchanges into a single indicator.
# Exchanges and Pairs
Included are only exchanges supported by TradingView:
* Binance
* Bitstamp
* Bittrex
* Coinbase
* Gemini
* Bitfinex
* Kraken
* Poloniex
* HitBTC
Many other top exchanges are not included, because they are not supported by TradingView.
# Inputs
By default the spot exchanges are selected. You can select also the other margin trading and derivatives exchanges.
# Contribute
Feel free to share any ideas and issues you have.
# Open Source
The code is open source @ github.com and uses the commonpine library github.com
Aggregated Volume LTC/FiatAggregates the LTC/Fiat volume from multiple exchanges into a single indicator.
# Exchanges and Pairs
Included are only exchanges supported by TradingView:
* Binance
* Bitstamp
* Bittrex
* Coinbase
* Gemini
* Bitfinex
* Kraken
* Poloniex
* HitBTC
Many other top exchanges are not included, because they are not supported by TradingView.
The pair LTC/BTC is not included.
# Inputs
By default the spot exchanges are selected. You can select also the other margin trading and derivatives exchanges.
# Contribute
Feel free to share any ideas and issues you have.
# Open Source
The code is open source @ github.com and uses the commonpine library github.com
Aggregated Volume ETHBTCAggregates the ETH/BTC volume from multiple exchanges into a single indicator.
# Exchanges and Pairs
Included are only exchanges supported by TradingView:
* Binance
* Bitstamp
* Bittrex
* Coinbase
* Gemini
* Bitfinex
* Kraken
* Poloniex
* HitBTC
Excluded low volume exchanges (not in CMC Top):
* CEX.IO
Many other top exchanges are not included, because they are not supported by TradingView.
# Inputs
By default the spot exchanges are selected. You can select also the other margin trading and derivatives exchanges.
# Contribute
Feel free to share any ideas and issues you have.
# Open Source
The code is open source @ github.com and uses the commonpine library github.com
Aggregated Volume ETHAggregates the ETH/fiat volume from multiple exchanges into a single indicator.
# Exchanges and Pairs
Included are only exchanges supported by TradingView:
* Binance
* Bitstamp
* Bittrex
* Coinbase
* Gemini
* itBit
* Bitfinex
* Kraken
* Poloniex
* BitMEX
Excluded low volume exchanges (not in CMC Top):
* CEX . IO
* Coinfloor
Excluded exchange due to volume calculation by TV:
* HitBTC
Many other top exchanges are not included, because they are not supported by TradingView.
# Inputs
By default the spot exchanges are selected. You can select also the other margin trading and derivatives exchanges.
# Contribute
Feel free to share any ideas and issues you have.
# Open Source
The code is open source @ github.com and uses the commonpine library github.com
MACD + Stochastic + RSI StrategyMy strategy uses a combination of three indicators MACD Stochastic RSI.
The Idea is to buy when (MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time
This strategy works well on stocks and cryptos especially during market breaking up after consolidation
The best results are on Daily charts, so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is quite stable.
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
CS Basic Scripts - Stochastic Special (Strategy)This Stochastic Special Strategy features inputs for:
- Custom Backtesting Date Range
- Long and Short Strategy Discinctions
- Utilize SMI, RSI, Martingale, and Body-Filter Strategy
- Adjust the SMI Percent Lengths and Limit
- Automate with the Autoview Trading Bot
Strategy script may be tested by favoriting and adding to any chart.
Study script is available for automated trading at www.cryptoscores.org
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
CryptoManic: Long/Short Interest ChangeA simple script to determine the change in Long and short open interest (Bitfinex symbols). i.e. the change in open interest from the previous candle.
Usage: in settings. Go to inputs and in symbol enter your symbol. e.g.
BTCUSD
ETHUSD
ADABTC
BCHBTC
EOSBTC
XRPBTC
TRXBTC
LTCBTC
It plots overlapping area chart of change in open long contracts (in green) and open short contracts (in red)
Crypto / Fx SessionsTrading sessions for crypto markets - the major time segments: London, NYC, Beijing. Times are set in UTC.
Quick experiment for now, may be edited.
More granular data around session breaks for these time zones at www.altcointrading.net or as CSVs daily updated on Keybase keybase.pub