Weighted derivatives premium BTCCan be extended with more derivative or spot pairs, see the comments in the code for instructions. Most importantly, the pairs need to be added to the respective arrays in the same order, so that the weights are applied to the correct pairs.
BTC-D
Momentum Strategy (BTC/USDT; 30m) - STOCH RSI (with source code)Here's a strategy for low time frames (30min suggested) for BTC , based on momentum Analysis using Stochastic RSI
By default the strategy will use the 50% of the specified capital for each trade; if "Gamble Sizing" is enabled, it will add the specified amount of capital (25% by default, until reaching the 100% limit or lower) for the next trade after having detected a loss in the previous trade; if the next trade is successful, the size for the next trade comes back to 50%
• Trend Filter LONG: If the fast exponential moving average is UNDER the slow exponential moving average , it won't open LONG positions
• Trend Filter SHORT: If the fast exponential moving average is ABOVE the slow exponential moving average , it won't open SHORT positions
• Bars delay: the strategy will wait the specified amount of bars before closing the current position; the counter is triggered as soon as the closing trade condition is verified
BY MAKING USE OF THIS STRATEGY, YOU ACKNOWLEDGE AND AGREE THAT: (1) YOU ARE AWARE OF THE RISKS ASSOCIATED WITH TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; (2) YOU SHALL ASSUME ALL RISKS RELATED TO THE USE OF THIS STRATEGY AND TRANSACTIONS OF DIGITAL CURRENCIES AND THEIR DERIVATIVES; AND (3) I SHALL NOT BE LIABLE FOR ANY SUCH RISKS OR ADVERSE OUTCOMES.
SOURCE CODE BELOW
BTC Longs & Shorts Profile WHAT DOES THIS INDICATOR DO?
I started with the idea of creating another premium indicator with a bunch of features and add it to the bundle. However, the more complex the code was becoming, the less helpful the indicator actually was. So I started from scratch and made BTC Longs & Shorts Profile super simple (as you can see in the code).
The advantage over other similar indicators is that this one has a drop-down menu and allows you to select whether you want to see Longs, Shorts, Ratio, or Difference. Having Longs and Shorts at the same time is a bit confusing because Longs pretty much dwarf the Shorts and the ups and downs are not clearly visible. Also, you can configure the colors for each visible line.
My suggestion is to add this indicator to your BTC chart, save it as a template from the top menu on TradingView and stop switching between BTC, Bitfinex Longs and Shorts. You have everything in one simple window (that's especially the case if you are not a pro or premium member and can't have more than 2 screens simultaneously).
ANYTHING ELSE ?
On a side note, if you are planning on working on a similar indicator, let me tell you what I've tried so far and it didn't work for me:
- RSI calculations including Longs and Shorts as a base
- Longs and Shorts in relation to BTC itself and a relationship with the volume
- Directional Movement Index, where Longs are DM+ and Shorts are DM-
- Smoothing both Longs and Shorts and trying to find a relationship (including some pseudo MACD lookalikes)
Anyway, if you have any ideas or suggestions on improving this indicator, please let me know. Thanks!
Best Crypto DEMA Strategy Long onlyThis is a crypto strategy suited for big time frames like 3h+.
THIS IS A LONG ONLY STRATEGY , SUITED TO BEAT BUY AND HOLD !
It's a very risky strategy because it has no stop loss at all, so be extremely careful with it.
This strategy is made of 2 DEMA a fast and a slow one.
We have two rules : entry it's when we have a crossunder between the slow DEMA and the fast DEMA. We exit when the opposite happens, in this case, when the slow is above fast.
For this example I used an initial capital of 1000 eur, using 100% of it always, and a commission of 0.2% per each deal.
BITCOIN CME FUTURES GAPSDisplays information about Bitcoin CME Futures Gaps over BTCUSD (or XBTUSD) charts.
You can configure a threshold percentage to only display gaps whose size is greater than that percentage. The gap precentage is calculated based on the current close price.
Gaps up are displayed in Orange, gaps down in Green
200 Week Moving Average HeatmapСolors part of the SMA depending on the change in % (delta %) to the previous value. From blue(none to low increase) through green(moderate increase) to red(high increase).
OCC Trend Combo 1 day BTC MoonflagRuns on BTC 1 DAY (NOTE USE THIS NOT THE PREVIOUS VERSION - DEFAULTS TUNED TO 1 day BTC HERE)
USE DEFAULT SETTINGS
The strategy is to maximise the profit for OCC longs (ALMA algo)
Longs start when the price action settles around the ALMA OCC, then typically breaks up
Then follow the trend indcator (blue/orange)
Shorts normally happen when the price action crosses below the ALMA OCC, although these initiate faster than the 1 day time setting - so watchout for shorts - are harder to predict than longs
So this catches most of the big move longs at their initiation
CRYPTO HA Strategy money maker long termToday I bring you another amazing strategy.
Its made of 2 EMA in this case 50 and 100.
At the same time, internaly for candles we calculate the candles using the HA system ( while still using in live the normal candles). This way we can assure that even if we use HA candles, we avoid repainting, and its legit.
We first calculate the HA candles based on the EMA 50 values, and after that , we use that candle properties to apply to EMA 100.
Once we have that, for entries we have the next conditions :
sell = o2 > c2 and o2 < c2 and time_cond
buy = o2 < c2 and o2 > c2 and time_cond
For sell : Our open from HA 100 is bigger than Close from ha 100, and the previous open is smaller than previous close
For long : Our open from ha 100 is smaller than close from ha 100 and the previous open is bigger than previous close.
Then we have 2 options :
If we wnat to go only long , which is my prefered version ,or the original one where we go both long and short.
I found that the best results are in general around bigger timeframes, 1h+ , 3h works the best so far on my tests.
For exit we have 2 versions :
1 lets say we had a long signal, as soon as we have a short signal we close the trade. Viceversa for short.
2. Is based on price % movement. In this case I use 7.5% price movement of asset.
We have no TP in use for this system.
For the purpose of this test I use 10.000 $ account. For test I use 100% of it, without any leverage.
I use the SL based on price movement , which is a very risky tool, since it can fluctuate even at 20-30% of our capital.
For comission I used 0.1% for each deal, and a slippage of 5 points.
Be cautious with this system !
If you have any questions , message me.
Crypto MultiTrend multi timeframesHello, today I bring you another crypto strategy which can work with multiple timeframes and most of crypto currencies
Its made entirelly of multiple EMA , of different lengths : like super fast, fast, normal, slow and very slow
We also combine a little bit of price action together with the trend direction both for entry and for exits, to have a more precise control.
The rules for long close is above all EMA's, they are in ascending order and the at same time close is bigger than the previous high, and previous high > second previous high, close > 3rd previous high , close > 4th previous high, close > 5th previous high, 5th high > 6th high.
For short we have the same, but instead of high, we use lows, and instead of > we use < .
As exit we have 2 conditions for long and 2 for short
To exit long we have : super fast ema < fast ema and fast ema < normal and normal < slow ema. For short, they would be the opposite, using > sign.
The second exit for long is when our current low crosses below 4 of ours EMA during the same candle. For short, is when the high crosses above 4 of ours EMA during the same candle.
CAUTIOUS : Currently it uses not risk management system, so in this current condition is extremely risky . Be careful
If you have any questions lets me know
Daily Crypto StrategyThis is a long only strategy.
This strategy measures and creates a signal when an asset is moving out of a correlation with CBOE VIX into an inverse correlation.
It also has a risk management with TP/SL based on percentages.
If you have any questions let me know.
Bitcoin Estimated Transaction FeeThis is the estimated fee you can expect to pay to have your bitcoin transaction confirm in 1 block. The estimation is derived from the daily total revenue miners received divided by the daily total number of transactions.
An option to change to a different currency is provided.
Notes on transaction fees:
Most exchanges do not provide an option to change the fee amount, and charge a static fee. A notable exception is Deribit.
The newer Bech32 wallet format, also known as native or SegWit, use a lower fee for the same transaction as legacy addresses. The addresses start with "bc1".
Mania was $60 USD to move bitcoin to an exchange you've only just heard of to buy a different coin with funny name :)
CRYPTO Trend Direction Multiple EMA'sToday I bring an indicator specialized in crypto markets.
Its made of multiples EMA : very fast, fast, normal, slow, very slow
The logic behind its simple :
For long : we check that the EMA are in ascending order like EMA 5 > EMA 10 > EMA 20 .... and at the same time that last close of candle is above all of them.
For short : we check that the EMA are in descending order like EMA 5 < EMA 10 < EMA 20 .... and at the same time last close of candle is below all of them.
It can be used with all time frames.
Enjoy it !
OnTheMoveWith this plot one is able to compare the different % change in the given time frame. It calculates the sma of a given period (defval = 7) for the close/open.
Strategy would be to choose (trade) from one to other asset in order to get higher rates when pumping or lower when dumping.
The Symbol & exchange has to be specified.
defSymbols = BTC, ETH and LINK
defExchange = BINANCE
GBTC Fomo Panic PremiumIt is rumored that GBTC price action leads the Bitcoin market. This indicator compares GBTC fomo/panic levels to the (Binance) BTC spot market. Fomo is measured as large percentage moves of the high price from the min over a look-back period. Panic is measured as large percentage moves of the low price from the max over a look-back period. A prime example of this indicator's usage would be as a sell signal confirmation during the 2020 pre-Thanksgiving panic exhibited on the 1-hour chart while the 20 EMA was still above the 99 SMA.
You can customize the leading and lagging markets and the length of the lookback period. I would love to hear what parameters, markets and timeframes work for you. Maybe there is a way to leave comments, or hit me up on Twitter: @thirdreplicator
May you profit and enjoy.
BTC and ETH Long strategy - version 2I wrote my first article in May 2020. See below
BTC and ETH Long strategy - version1
After 6 months, it is now time to check the result of my script for the last 6 months.
XBTUSD (4H): 14/05/2020 --> 22/11/2020 = +78% in 4 trades
ETHXBT (4H): 14/05/2020 --> 22/11/2020 = +21% in 9 trades
ETHUSD (4H): 14/05/2020 --> 22/11/2020 = +90% in 6 trades
Using the signals from this strategy to trade manually has shown that this was a bit frustrating because of the low rate of winning trades.
If you have to enter 100 trades and see 75% of them failing and 25% winning, this is frustrating. For sure the strategy makes good money but it is difficult to hold this mentality.
So, I have reviewed and modified it to get a higher winning rate.
After few days of work, tests and validation, I managed to get a wining rate close to 60%.
The key element was also to decrease the number of trades by using a higher time frame. (4H candles instead of 2H candles).
- Entry in position is based on
MACD, EMA (20), SMA (100), SMA (200) moving up
AND EMA (20) > SMA (100)
AND SMA (100) > SMA (200)
- Exit the position if: Stoploss is reached OR EMA (20) crossUnder SMA (100)
The goal of this new script is to be able to follow the signals manually and only make few trades per years.
I have also validated it against some other altcoins where some are giving very good results.
Here are some results for 2020 (from 01/01/2020 until now (22/11/2020). Those results are the one I get when using 4H candles.
ETH/USD: +144% in 8 trades.
BTC/USD: +120% in 7 trades.
ETH/BTC: +33% in 9 trades.
ICX/USD: +123% in 10 trades.
LINK/USD: +155% in 11 trades.
MLN/USD: +388% in 8 trades.
ADA/USD: +180% in 7 trades.
LINK/BTC: +97% in 10 trades.
The best is that above results are without considering compound effect. If you re-invest all gains done in each new trade, this will give you the below results :)
ETH/USD: +189% in 8 trades.
BTC/USD: +260% in 7 trades.
ETH/BTC: +29% in 9 trades.
ICX/USD: +112% in 10 trades.
LINK/USD: +222% in 11 trades.
MLN/USD: +793% in 8 trades.
ADA/USD: +319% in 7 trades.
LINK/BTC: +103% in 10 trades.
As you can see, the results are good and the number of trades for 11 months is not big, which allows the trader to place orders manually.
But still, I'm lazy :), so, I have also coded this strategy in HaasScript language which allows you to automate this strategy using the HaasOnline software specialized in automated crypto trading.
I hope that this strategy will give you ideas or will be the starting point for your own strategy.
Let me know if you need more details.
[5F ] Number of Bitcoin wallets-═════════════════════════-
This is a simple script that displays the total number of Bitcoins wallets based on the data provided by Quandl.
Use it in dayli resolution minimum
Refresh every day
Thanks to all Pinecoders who share their work with the community.
-═════════════════════════-
Simple Moving Average + ADX + DMI + Time Range Test
Use long and short moving average to look for a potential price in/out. (default as 14 and 7, bases on the history experience)
ADX and DMI to prevent the small volatility and tangling MA.
This script allows you to set the beginning & end time to test the bullish & bearish market.
If you want an indicator version, here is it.
Thanks.
MA+ADX+DMICOINBASE:BTCUSD
BINANCE:BTCUSDT
Use long and short moving average to look for a potential price in/out. (default as 14 and 7, bases on the history experience)
ADX and DMI to prevent the small volatility and tangling MA.
Test it in 4HR, "BINANCE:BTCUSDT"
From 12/1/2017- 11/1/2020 (Mixed Bull/Bear market)
Overall Profit: 560.89%
From 1/1/2018 - 1/1/2019 (Bear market)
Overall Profit: -2.19%
From 4/1/2020 - 11/1/2020 (Bull Market)
Overall Profit: 274.74%
Any suggestion is welcome to discuss.
Perp vs Spot Delta (Bybit-CB)Simple script showing the delta of Bybit BTCUSD perp vs Coinbase BTCUSD spot. Orange positive candles show bybit is higher, blue negative candles show Coinbase is higher.
Aggregate BTC VolumeSimple script that shows the aggregate volume of BTC, taking volume data from top spot and derivative exchanges.
BTC & ETH Alert SystemWith Tradingview's free plan, only one alert is allowed. The purpose of this indicator is to allow for two alerts--one for BTC and one for ETH.
How to use the alert system:
1. Set the desired value for BTC and ETH that you want to be alerted for
2. Set an alert on the indicator by clicking the three ellipses and then "Add Alert"
3. Set the alert to go off if the value of the indicator is greater than 0.
The example is of BTC using an alert of $10,000 and an alert of ETH at $2,000 (untriggered)
The script can be easily modified to be used for different assets
Bitcoin DAA OscillatorAn oscillator of Bitcoin's Daily Active Addresses (DAA) and fundamental metric of the utilization of the Bitcoin network.
Helps to identify:
Potential buy zones (green) - when the network utilization is low & increasing
Potential sell zones (red) - when the network utilization is high & decreasing