BTC COT Delta BBitcoin CME COT Delta Strategy
---------------------------------------
Reading 4 largest long positions and 4 largest short positions, this script uses (shorts - longs) to produce a long/short signal.
• When delta <= buy threshold, a "long" signal will appear on the chart.
• When shorts >= sell threshold, a "short" signal will appear on the chart.
To see the indicator below, since it's not possible to mix the two, use this script:
** This is not a trading advice, it's for research purposes only. Do not trade based upon these signals.
بيتكوين (عملة رقمية)
INDICES against BTC & ETHThe idea is the following; you can easily chart the FTX perp indices against (currently) two baselines, ETH & BTC.
I always choose ETH since it is way harder to outperform ETH at the moment. Doing this helps me see certain trends and/or fractal that might happen again in the future.
Since I already made D.A.M (Defi against Majors / Pricing Defi categories against BTC & ETH: ) I came across the idea of doing the same thing but with the perp indices that FTX offer. At first, I wanted to add this to D.A.M but it has no place in this indicator since this will not only look at Defi but the macro market as a whole.
The indicator currently only looks at the following indexes (weighting can be found here: https:// help. ftx. com/hc/en-us/articles/360027668812-Index-Calculation) :
DRGN: THE DRAGON INDEX
ARPA, BTM, IOST, NEO, NULS, ONT, QTUM, TRX, VET
ALT: ALTCOIN INDEX
BCH, BNB, EOS, ETH, LTC, XRP, TRX, DOT, LINK, ADA
MID: THE MID CAP INDEX
ALGO, ATOM, BAT, CRO, DASH, DCR, DOGE, HT, IOTA, LEO, NEO, OKB, ONT, QTUM, VET, XEM, XLM, XMR, XTZ, ZEC, ZRX, OMG, COMP, BSV, FTT, YFI, UNI, SNX, MKR, AAVE
SHIT: THE SHITCOIN INDEX
AE, AION, ARDR, ARPA, BCD, BEAM, BTG, BTM, BTS, BTT, CHZ, CKB, DGB, ELF, ENJ, GNT, GRIN, GT, HBAR, HC, ICX, IOST, KMD, KNC, LAMB, LRC, LSK, MANA, MATIC, MCO, NANO, NULS, OMG, POWR, PUNDIX, REN, REP, RVN, SC, SNT, STEEM, THETA, TOMO, VSYS, WAVES, XVG, XZC, ZEN, ZIL, ZRX
PRIV: THE PRIVACY INDEX
BEAM, DCR, GRIN, KMD, XMR, XVG, XZC, ZEC, ZEN
DEFI: THE DECENTRALIZED FINANCE INDEX
KNC, MKR, ZRX, REN, REP, SNX, COMP, TOMO, RUNE, CRV, DOT, LINK, MTA, SOL, CREAM, BAND, SRM, SUSHI, SWRV, AVAX, YFI, UNI, WNXM, AAVE, BAL
High Timeframe POCBecause the big Bitcoin crash I have been looking a lot at high timeframe metrics. I never spent much time learning POC so I decided to create a little script for determining these on higher timeframes.
Currently included: Monthly, 3 months and 6 months.
/* DEFINITION */
Point Of Control (= POC) is a price level at which the heaviest volumes were traded.
Value Area High/Low (=VAH/VAL) is a range of prices where the majority of trading volume took place. Naturally, Value Area High being the top price level and Value Area Low being the lowest. POC always is between the two.
/* HOW TO TRADE WITH THIS INDICATOR */
The basis for POC is determining bias on whichever timeframe you choose.
1. Identify a POC on the timeframe of your choosing.
/* If you choose a "low" timeframe (monthly here) then make sure to look at the higher timeframes to see how it is playing against a higher timeframe POC.
2. When the price is moving away from the POC (either to the upside or downside) this will confirm or invalidate the trade.
3. You can now enter the trade on bias or wait for a retest of the same POC.
/* EXAMPLE TRADES /*
Here is a screenshot of some of the trades that are possible solely using the POC and some common sense.
s3.tradingview.com
TEMA Cross +HTF BacktestThis is a follow up to a previous script release called " TEMA Cross Backtest ".
This new strategy uses two TEMA crosses, one for trend direction, one for entry and exit. The entry and exit parameters are the same as the previous script. The trend direction is based on a user configurable higher timeframe TEMA cross which determines when to take longs or shorts. When the indicator is purple, it is looking for shorts, and when it is yellow, it is looking for longs. The background of the chart is colored accordingly to see the trend direction at a glance.
The default settings are the ones I have found produce the highest backtest results. The backtest is set by default to use a $500 account, and use $500 for every entry and exit, no matter the direction or overall profit/loss.
Parts of script borrowed from other public scripts.
Bitcoin Daily Support/ResistanceA new indicator for tradingview.
Indicator Overview
The 2-Year MA Multiplier is intended to be used as a long term investment tool.
It highlights periods where buying or selling Bitcoin during those times would have produced outsized returns.
To do this, it uses a moving average (MA) line, the 2yr MA, and also a multiplication of that moving average line, 2yr MA x5.
Note: the x5 multiplication is of the price values of the 2yr moving average, not of its time period.
Buying Bitcoin when price drops below the 2yr MA (green line) has historically generated outsized returns. Selling Bitcoin when price goes above the 2yr MA x 5 (red line) has been historically effective for taking profit.
Why This Happens
As Bitcoin is adopted, it moves through market cycles. These are created by periods where market participants are over-excited causing the price to over-extend, and periods where they are overly pessimistic where the price over-contracts. Identifying and understanding these periods can be beneficial to the long term investor.
This tool is a simple and effective way to highlight those periods
MA 50/100/150 was historically good support and resistance. When we cross them we have a new trend that is established.
EMA+RSI Pump & Drop Swing Sniper (SL+TP) - StrategyThis is the strategy version of the 'EMA-RSI-Pump-Drop-Swing-Sniper-With-Alerts':
Some additions with this strategy:
~Added Stop loss & Take profit control. In Settings > Inputs if the Stop Loss is at .051 that means it's 5.1% and the Take Profit at .096 is 9.6%. If you wish to remove the TP and SL just change the value to 1.00 and it would be the same as it being 100% TP and SL which is likely to never be hit.
~Added Backtesting by changing the month/date/year in Settings > Inputs
~Added a 2nd EMA line to assist with the long entry signals. I only use this for long entry & exits, though you could use the long exits as Short entries too. I just personally don't do short trading on Bitcoin.
This is using an EMA and RSI with slightly modified settings to give good entry and exit points while looking at Bitcoin. I use this on a 1-hour and 4-hour chart and with other indicators to find good positions to enter a trade or exit if things are turning red.
It's important to know this strategy was made as a request by another user that was using the indicator version. I don't use this as a trading strategy by itself, I use the visuals it gives as a confirmation with other indicators to find the best possible entry and exit positions.
If you click on the EMA line it will color the bars of the chart based on if they are above or below the EMA - This is just visually helpful for me to see the active trend.
Make sure you hover over or click on the EMA line to see the colors of the candles change - it's not visible by default or without doing this.
AWB - Alma Weird Bands [SilentShiller]A simple experiment that using Arnaud Legoux Moving Average tries to help visualize an extended trend and its reversal . You can play with:
Alma length
Alma offset ( needs sigma not to be 0 )
Alma sigma
I hope you find it useful. Feel free to modify it and let me know to test your scripts!
BTC aggregated volume Index [Benson]Aggregate 10 most significant BTC trading pairs' volume on the market.
Bitfinex:BTCUSD
Bitstamp:BTCUSD
Coinbase:BTCUSD
Kraken:BTCUSD
Kraken:BTCEUR
Bitflyer:BTCJPY
BINANCE:BTCUSDT
HUOBI:BTCUSDT
OKEX:BTCUSDT
Bitstamp:BTCEUR
Setting (user input)
1. You can set length to see how SMA moves. Default is 7.
2. You can set std difference. If the volume is difference*std higher than average, the pillar would be orange, if difference*std is less than average, the pillar would be green, otherwise the pillar would be black. Default is 1.
3. You can set the volume in USD or in BTC. Default is in USD.
Beam Bands + Fibonacci LevelsThis indicator calculates the Fibonacci retracement levels based on beam bands. As you can see the price very often reacts to these levels.
Jakes Index------------
English
I introduce the community to the Jakes Index. Basically, this is an index containing the top 10 cryptocurrencies, classified according to their Marketcap. The purpose of this index is to show a general market context, without being tied to a single crypto. With an overview of the market, it is easier to identify the market trend, in addition to being an excellent indicator to gauge the performance of your Crypt portfolio. Supply data comes from CoinMarktCap, and price data comes mostly from Binance, however some crypts are not yet available for trading by it, so the prices used come from the first broker indicated by TradingView in the search.
Given that one of the crypts was launched very recently, Internet Computer to be more exact, I decided to leave it out of the index, adding "//" to the code in all references to it. If you want to see the performance of the index with the included cryptography, just delete the bars that follow in front of your code, such parts: "ASSET8; SUPPLY8; PESO8; QOC8; FINM8" after that add "//" in "PESO11" and remove the bars from "PESSO11F", in addition to also removing the F. Do the same with "JAKESINDEX" at the end of the code, and you will have the result with the Internet Computer included.
The calculation of the index takes into account the Marketcap of the crypto, which is divided by the sum of the Marketcap of all the others, and then the result is multiplied by the market value of the Cryptocurrency. Thus, we have an index weighted by Marketcap with the 10 most important cryptocurrencies in the market AT THE TIME. It is important to remember that this index must be updated, both in terms of the currencies that change their place in the ranking with certain frequency, as the Supply that each one has, since coins with active mining, as is the case of Bitcoin, change their Supply frequently.
To keep the index up to date, I will do ONE Monthly update, always posting the code with the new changes.
------------
Português
Apresento a comunidade o Jakes Index. Basicamente, este é um índice contendo as 10 principais criptomoedas, classificadas de acordo com seu Marketcap. O objetivo deste índice é mostrar um contexto geral do mercado, sem ficar preso a uma única cripto. Com um apanhado geral sobre o mercado, fica mais fácil identificar a tendência do mercado, além de ser um excelente indicador para balizar o desempenho da sua carteira de Criptos. Os dados referentes a Supply são advindos do CoinMarktCap, e os dados dos preços vem em sua maioria da Binance, porém algumas criptos ainda não estão disponíveis para negociação pela mesma, portanto os preços utilizados vem da primeira corretora indicada pelo TradingView na busca.
Tendo em vista que uma das criptos foi lançada muito recentemente, a Internet Computer para ser mais exato, decidi deixa-la de fora do índice, adicionando "//" no código em todas as referencias a mesma. Caso queira ver o desempenho do índice com a cripto incluída, basta apagar as barras que seguem na frente de seu código, sendo tais partes: "ASSET8; SUPPLY8; PESO8; QOC8; FINM8" após isso adicione "//" em "PESO11" e remova as barras de "PESSO11F", além de remover também o F. Faça o mesmo com "JAKESINDEX" no fim do código, e terá o resultado com a Internet Computer incluída.
O calculo do índice leva em conta o Marketcap da cripto, que é dividio pela soma do Marketcap de todas as outras, e então o resultado é multiplicado pelo valor a mercado da Criptomoeda. Dessa forma, temos um índice ponderado pelo Marketcap com as 10 Criptomoedas mais importantes do mercado NO MOMENTO. É importante lembrar que este índice deve ser atualizado, tanto em questão das moedas que mudam com certa frequência seu lugar no ranking, como o Supply que cada uma tem, visto que moedas com mineração ativa, como é o caso do Bitcoin, mudam seu Supply com frequência.
Para manter o índice atualizado, farei UMA atualização Mensal, postando sempre o código com as novas alterações.
EMA+RSI Pump & Drop Swing Sniper (With Alerts)This is using an EMA and RSI with slightly modified settings to give good entry and exit points while looking at Bitcoin. I use this on a 4-hour chart and with other indicators to find good positions to enter a trade or exit if things are turning red.
If you click on the EMA line it will color the bars of the chart based on if they are above or below the EMA - This is just visually helpful for me to see the active trend.
Make sure you hover over or click on the EMA line to see the colors of the candles change - it's not visible by default or without doing this.
Price DEFI Categories against BTC & ETH/* Work in progress. The indicator is not finished. *\
The indicator shows the pricing of 3 DEFI categories against 2 possible baselines, BTC and ETH.
To do:
* Make a simple array in the source code to enter and remove new projects to the category. -> Maybe can also make it so that the source code does not have to be altered (projects can be added through input etc.)
* Adjust weightings depending on project data but this is not as important since weightings are being priced in by the market.
* Try to find a way to update input to string instead of booleans. As of currently, I could not seem to use input strings into plot functions because of an error.
* and more. Leave some feedback, that would be highly appreciated!
Moving Average BandsUse this script to find buy and sell zones for BTC based on momentum of the move relative to the average asset price over a given period. The script plots a series of offset bands above and below the Simple Moving Average. When price crosses another band further from the SMA, the background is rendered brighter. The brighter the background, the stronger the buy and sell signal is, as the expectation is that price wants to return to the SMA. Settings are adjustable to fine tune to various time frames and assets. Good settings for BTC Daily are length 30, layers at 10, 20, 30, and 40.
On 1H BTC/USD I use length 200, layers at 5, 10, 15, 20 to find decent swing trading opportunities.
On BTC/USD 1D chart, combine with Bitcoin Logarithmic Growth Curve from @mabonyi (original by @quantadelic )for confluence of very reliable signals.
BTC ATH ROIThis indicator shows the ROI % of Bitcoin from when it passed its ATH of the previous bull cycle. I found it interesting that each time it crossed its ATH it took around 260-280 days to peak for each one. This bull run seems to follow between both of the previous bull runs including this recent dip.
There are a couple issues I want to fix but can't figure out:
1. You need to completely scroll out and move towards 2013 on the Daily chart for all 3 lines to show up. Would be nice to load all of that data at the start.
2. I can't query the value of the plots after they have been offset. This would be useful to create a prediction bias for the current plot so would could see where btc might go.
If you peeps know of a way to load all data or query plot values after offsets, please share. That would be awesome.
Stochastic TrendDear community,
I've made another simple trading bot for you to use. This bot is based on the Stochastic Oscillator. It only produces long trades currently.
I changed the oscillation period to a much longer one, which in turn creates opportunities to trade long term trends.
The bot goes long when the Entry lines is crossed from below and it will close its long position once the Exit line has been crossed from above.
Extremely Overfit Bitcoin Long/ShortThis is a highly overfit (in my opinion) script to long/short BTC on the 15m time frame. May be usable for other cryptocurrencies or timeframes with some parameter adjustments. I backtested it on a few exchanges with ETH.
The simplest way to increase the number of trades is to decrease the "FastChannelLength" parameter or increase the "SlowChannelLength" parameter, or both. Decreasing the margins of the channels also increases the number of trades. In GENERAL, you should expect that adding more trades will hurt profitability, because, as the title says, this script is extraordinarily overfit.
It does include a commission fee from the start, which I find is essential to not providing an overly rosy view of how a strategy would work.
Moritsz's Customized RSIBasically just your standard RSI with a twist. Key differences:
1. Overbought and Oversold levels are moved to a higher and lower level following the nature of cryptocurrency.
2. Added a middle trendline at 50. Above is usually an uptrend, below is a downtrend.
3. Better looking than your typical RSI.
4. Nice pretty colors to please your eyes :)
Enjoy.
RSI Trend CryptoDear community,
Today I want to present you one of my favorite and simple trading bots: The RSI Trend.
This bot is based on the RSI, which normally is used as a trend reversal indicator. However, here it’s used as a trend finding indicator, often with great success. This bot making long-only trades, which is quite successful in bull-markets like the one we’re currently in.
In case you want to use an emergency exit for your trade, toggle the Emergency Exit parameter. During bull-markets it’s better in the long term to keep this option off.
Currently the bot only makes one trade at a time (pyramiding = 1), for higher risk and higher rewards you can increase this parameter. More than 5 is not advised.
I’ve optimized this bot on 15min time frame. It has some decent results for most cryptos on this TF, feel free to test this out.
In case you want to hook this bot up to your exchange, feel free to edit the ALERT messages in the code.
Default Trading Rules:
Long: RSI crosses over 35
Close Long: RSI crosses under 75
Emergency Exit: RSI crosses under 10
BTC Perpetual Futures Premium [Morty]Version 1.0, 20210409
This is an oscillator indicator that shows the premium between BTC perpetual futures and spot prices.
The prices of futures and spot are weighted average prices, weighted by the exchange's trading volume.
When the indicator is in the upper half of the region, the funding rate of perpetual contracts is relatively high, and the market trend is bullish.
When the indicator is in the upper half of the region, the funding rate of perpetual contracts is relatively high, and the market trend is bearish.
You can set the upper and lower limits of the premium. When the indicator exceeds the upper or lower limit, the trend usually reverses.
Buy the dip, Sell the high.
----------------------------------------------------------
Version 1.0, 20210409
这是一个振荡器指标,它显示了BTC永续期货和现货之间的溢价。
期货和现货的价格是加权平均价格,由交易所的交易量加权。
当指标在上半部区域时,永续合约的资金费率相对较高,市场趋势是牛市。
当指标在上半部区域时,永续合约的资金费率相对较高,市场趋势是熊市。
您可以设置溢价的上限和下限。当指标超过上限或者下限,通常会趋势反转。
Buy the dip, Sell the high.
ELIA MULTI INDICATORS STRATEGYExperimental multi indicators strategy, to catch right entry and avoid noise.
Each indicator included in the strategy, assume a value based on its status and because is a trend-follow strategy, some indicator value are higher then the other
Backtested on ETHUSDTPERP
BINANCE:ETHUSDTPERP
Scalping Dips On Trend (by Coinrule)Coinrule's Community is an excellent source of inspiration for our trading strategies.
In these months of Bull Market, our traders opted mostly on buy-the-dips strategies, which resulted in great returns recently. But there has been an element that turned out to be the cause for deep division among the Community.
Is it advisable or not to use a stop-loss during a Bull Market?
This strategy comes with a large stop-loss to offer a safer alternative for those that are not used to trade with a downside protection.
Entry
The strategy buys only when the price is above the Moving Average 50 , making it less risky to buy the dip, which is set to 2%.
The preferred time frame is 1-hour.
The stop-loss is set to be quite loose to increase the chances of closing the trade in profit, yet protecting from unexpected larger drawdowns that could undermine the allocation's liquidity.
Exit
Stop loss: 10%
Take Profit: 3%
In times of Bull Market, such a trading system has a very high percentage of trades closed in profit (ranging between 70% to 80%), which makes it still overall profitable to have a stop-loss three times larger than the take profit.
Pro tip: use a larger stop-loss only when you expect to close in profit most of the trades!
The strategy assumes each order to trade 30% of the available capital and opens a trade at a time. A trading fee of 0.1% is taken into account.
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!