Gekko DEMA StrategyThis script is based upon the Gekko trading strategy.
This strategy uses Exponential Moving Average crossovers to determine the current trend the market is in. Using this information it will suggest to ride the trend. Note that this is not MACD because it just checks whether the longEMA and shortEMA are % removed from each other.
* short is the short EMA that moves closer to the real market (including noise)
* long is the long EMA that lags behind the market more but is also more resistant to noise.
* the down threshold and the up threshold tell Gekko how big the difference in the lines needs to be for it to be considered a trend. If you set these to 0 each line cross would trigger new advice.
The base strategy has had money management logic added and has been tested for best results. Once you have access, you can modify these settings to find what works best for you.
Access to this strategy is FREE! Message me for more information on how to get access.
XBTUSD
XBT % ContangoSimilar to my other indicators, but measures XBTUSD Contango in terms of percent.
Also, built it so you could change the values that give the red and green signals. Default values are 0% or less (backwardation) indicates green. However, i found that a 0.5% setting worked will finding local bottoms for current contract of XBTH20 (March 2020). The upper value default is at 5%, and signals red when the next contract reaches over 5%.
My assumption is as BTC increases in value over time, measuring contango in terms of percent will be a better measure of the XBT futures curve.
XBT_Calc._TradersStreamLiqudity Calculator for XBTUSD. And Simplified SMA Cross Overs. If value is True than SMA 21 and 200 is active else SMA 30 and 40. Most of the Traders use this cross overs for Scalping purpose.
BTC Bullish or Bearish (Joy)Quite often we are faced with the question of whether Bitcoin is macro bullish or bearish.
I tried to take a punch at this.
There many ways to find that answer.
This is one crude way.
Whenever the background colour is light lime, it means it thinks the Bitcoin is macro bullish
Whenever the background colour is red lime, it means it thinks the Bitcoin is macro bearish
How would I use this information?
I can possibly use it in position sizing and hedging. If I see a sell in a lime background, I can potentially just hedge & vice versa.
Do note that it works best in the higher timeframes.
Do note that it is not supposed to be used to open any new trade or to close any trade.
I use it alongside other indicators for confirmation bias.
This can possibly be used for other instruments. As I only use it for trading BTCUSD, I have crudely tested for BTCUSD
For info on gaining access see the ⬇ link below ⬇ in our signature field & direct message me. I have a busy schedule at my own workplace. Trading is my hobby. Hence, please be kind to me if I am late in replying.
PRIME - XBTUSDPRIME - XBTUSD is an indicator made specifically for XBTUSD on the 1 hour timeframe .
The indicator will help you know:
Potential areas to buy and sell (the flashes).
The trend of the market (the wavy cloud).
Important support/resistance areas (the wavy cloud).
And the daily, weekly and monthly closes (as D, W and M).
The indicator comes with the following alerts:
BUY BTC (1H)
SELL BTC (1H)
The alerts must be set on the 1 hour timeframe.
The goal of the indicator is to make trading simple and sustainable regardless of your lifestyle.
PS. The buy and sell flashes only show on the 1 hour; and the cloud and closes up to the 12 hour (to keep the chart clean).
PPS. For access and questions, message me here on TradingView. If you need it for another asset, I can adjust the settings for you.
Stochastic Pop and Drop by Jake Bernstein v1 [Bitduke]I found a simple strategy by Jake Bernstein, modified it a little and created a strategy with Risk Management System (SL+TP); After that I test it on the different cryptocurrency pairs.
About the Indicator
Basically it's the strategy of 2 indicators: Stochastic Oscillator to define the bias and Average Directional Index to confirm it.
One again, It uses Stochastic Oscillator to define the trading bias. In particular, the trading bias was deemed bullish when the weekly 14-period Stochastic Oscillator was above some default value (in him paper - 50) and rising and vice versa.
Once the trading bias is established, Steckler used the Average Directional Index (ADX) to define a slowdown in the trend. ADX measures the strength of the trend and a move below 20 signals a weak trend.
Modifications
I didn't implement Average Directional Index (ADX) and test just different sources for data, oscillator periods and different levels in relation to the crypto market.
So, it shows good results with two tight thresholds at 55 and 45 level.
The bar chart below the defining the bullish and bearish periods (green and red) and gives a signal to enter the trade (purple bars).
Backtesting
Backtested on XBTUSD , BTCPERP (FTX) pairs. You may notice it shows good results on 3h timeframe.
Relatively low drawdown
~ 10% (from 2019 to date) FTX
~ 22% (4 years from 2016) Bitmex
I backtested on the different altcoin pairs as well, but the results were just not good.
Relatively good results were shown by some index pairs from the FTX exchange ( FTX:SHITPERP ), but I think there is a few data for backtesting to be asure in them.
Bitmex 3h (2017 - 2020) :
i.imgur.com
FTX 3h (2019 - 2020):
i.imgur.com
Possible Improvements
- Regarding trading algorithm it would be good to check with strategy with ADX somehow. Maybe for the better entries
- As for Risk Management system, it can be improved by adding trailing stop to the strategy.
Link: school.stockcharts.com
UT Bot AlertsUT Bot indicator was initially developer by @Yo_adriiiiaan
The idea of original code belongs @HPotter
These are v4 alerts for my previously published strategy:
Original script:
Scalp XBTUSD 5m- XBTUSD 5Minute Chart Only !!!
- other TF cause wrong calculations
- this will not work in huge Pumps or dumps
- use at your own risk !!!
several settings possible:
- test higher/lower OB/OS-Levels
- lower/higher equitiy devison or leverage
exemple:
imgur.com
UT Bot Strategy with Backtesting Range [QuantNomad]UT Bot indicator was inially developer by @Yo_adriiiiaan
Idea of original code belongs @HPotter
I can't update my original UT Bot Strategy so I publishing new strategy with backtesting range included.
I just took code of Yo_adriiiiaan, cleaned it, deleted all useless pieces of code, transformet to v4 and created a strategy from it.
Also I added an input that allows you to swich to signals from Heiking Ashi. I saw that author uses HA for the indicator and on HA it look much nices then on real candles.
Do not add this strategy to HA candles, use usual candles and this checkbox.
Original script:
UT Bot
The 100% - Bitcoin BeatsHello, Hello, Hello,
And welcome back, to Bitcoin Beats.
This is a strategy & Indicator that's essentially supertrend. However, we have used machine learning and AI to determine the best parameters in order to never lose money.
Yes you read that correctly, this Algo has NEVER lost a trade. All trades have come through successfully based on % moves.
A 'Supertrend' indicator is one, which can give you precise buy or sell signal in a trending market. ... The buy and sell signals are generated when the indicator starts plotting either on top of the closing price or below the closing price.
This strategy finds the best exit point without ever having to take a loss. This means you can use Cross leverage if the risk management is good enough and not worry about your account getting REKT as the trade always comes through in the end.
Trade at your own risk.
Thanks you and Goodbye, From Bitcoin Beats.
9KSCALPBOT 5x 15-min StrategyThis scalp bot uses low leverage to scalp small but high certainty movements on the 15-minute timeframe. Its amazing proprietary feature addresses the common problem of accumulated losses due to excessive stop-lossing -- this is done by assessing macro trends on higher timeframes when underwater, and then riding the position out until profitable again. You will get an average of about 1 entry and 1 exit per day.
The core logic uses a modified combination of CCI and Schaff Trend oscillators and a proprietary pattern recognition mechanic. Leverage should be kept low (5X or less) as the algorithm could temporarily go significantly underwater as well as pyramid (stack) same direction entries up to five times before closing. Any leverage higher than 5X significantly increases risk of liquidation. This bot has been consistently backtested for 10 months with about 75-85% win rate, 100%+ 3-month profitability, very low ~5% drawdown, all after factoring typical BitMex fees (0.06% after counting affiliate self-referral).
As with any automated strategy, it does not account for black swan events or disruptions in server connectivity (e.g., BitMex overload errors).
Deadband cross detection for BTC (XBT)Description: meant to be used with BTCUSD (or XBTUSD ) on 3 mins to 1h candles charts.
Idea is to provide a tool to detect break-out's from a dead band around an EMA, and to detect back-in's to the dead band.
Detection is fundamentally based on how much %, at least, a certain candle body has ruptured the dead band (adjustable).
Long and short flags are placed on the chart, as well as the deadband. Can be used to generate alers.
With minimal modifications, can be convert to a Strategy script.
Following are ideas to play around if you want. Room for improvements:
- convert constants into inputs, and diversify thresholds assimetrically
- play around with wether or not using pyramiding (here pyramiding is blocked)
- look at several bars in a sequence, not only current
SuperFast M1 - STUDYScript developed for automated trading (autoview).
Start of backtest: Jan 01 2020.
Way of acting:
SMA , EMA and HullMA analysis.
Must be used on the 3 minute chart.
Supports leverage up to x50 with certain security.
-------------------- PT-BR -------------------
Script desenvolvido para trading automatizado (autoview).
Início do backtest: Jan 01 2020.
Forma de atuação:
Analise de SMA , EMA e HullMA.
Deve ser usado no gráfico de 3 minutos.
Suporta alvancagem de até x50 com certa segurança.
SuperFast M3 - STRATEGGYScript developed for automated trading (autoview).
Start of backtest: Jan 01 2020.
Way of acting:
SMA, EMA and HullMA analysis.
Must be used on the 3 minute chart.
Supports leverage up to x50 with certain security.
-------------------- PT-BR -------------------
Script desenvolvido para trading automatizado (autoview).
Início do backtest: Jan 01 2020.
Forma de atuação:
Analise de SMA, EMA e HullMA.
Deve ser usado no gráfico de 3 minutos.
Suporta alvancagem de até x50 com certa segurança.
Bitcoin Halving CountdownHello traders,
I offer you today the BTC halving countdown updated in real-time on your charts
I inspired myself greatly from the gentleman @everget's script LTC halving countdown below
(
The countdown date is coming from that source www.bitcoinblockhalf.com.
The halving date is estimated to be around May 13th, 2020 .
That date is hardcoded in the script and is used for the countdown calculation.
The Bitcoin block mining reward halves every 210,000 blocks, the coin reward will decrease from 12.5 to 6.25 coins.
Enjoy the weekend
Dave
Voss Strategy (Filter + Trend Indicator) [Bitduke]Created strategy based on Voss Predictive Filter, implemented by TradingView user e2e4mfck.
Voss Predictive Filter
This is a relatively new filter from John F. Ehlers’ article, “A Peek Into The Future .” Ehlers describes the calculation of a new filter that could help signal cyclical turning points in markets.
But filter has a negative group delay and while an indicator based on it cannot actually see into the future, it may provide the trader with signals in advance of other indicators.
In mentioned article he tested filter on SPY and at one point in time "it went into a trend mode in January 2019, and the cycle signal failed miserably, signaling a short position during the runup. <...> The only way to minimize the impact of this condition is to employ an additional trend detector."
Thus I've added another Ehlers' based trend based indicator Instantaneous Trendline (thanks to LazyBear for implementation) to minimize the impact of the trend mode and got a good results on XBTUSD pair 4h.
Backtest :
> Range: 2016 - 2020
> XBTUSD
> 4h
> ~20% drawdown
> Sharpe (0.361, not too impressive)
I think it can be improved with Risk Management system and experimenting with various trend following indicators.
Bitcoin DifficultyHello everyone,
An other indicator for bitcoin : the difficulty
What is difficulty?
Difficulty is a measure of how difficult it is to find a hash below a given target.
The Bitcoin network has a global block difficulty. Valid blocks must have a hash below this target.
Mining pools also have a pool-specific share difficulty setting a lower limit for shares.
Deribit Contango Calculator v3Same as XBT Contango Calc V3, however built specifically for Deribit Futures . See link to XBT Contango Calc V3 for full description.
Above is capture of how this indicator performed on December Futures Contract BTC27Z19, since I assume I will loose this as the main chart when I update to June contract
Current (Dec. 2019) futures contracts are as follows:
Blue = BTC26M20
Orange = BTC27H20
XBT Contango Calculator v3Since creating the first version of the XBT Contango Calculator, I found that the first version is good a calculating contango and backwardation in real time, however does not do a good job of capturing historical data of brief moves. Since backwardation moves are often brief, and since the first version Contango Calc was based on candlestick closes, it did not do a good job of recording the move after it occurred.
It took me a couple versions to try and fix this an eventually settled on version 3 which I have been using on my own for the last few months. You can see in the comparison chart above it does a much better job of capturing backwardation moves and extreme contango. Below is a comparison of how it performed vs. Version 1 during December futures XBTZ19
In addition I have added high/low lines that can be used to understand the amount that futures premium/discount has moved in a specific time frame. For example, the big drop Bitcoin had on September 24th, XBTZ19 went from +$273 contango to -$247 backwardation = $520 move! This move was in addition to the spot price move which was almost -$1,700 from high to low and -$1,100 from open to close. See below:
The high/low lines can also be removed from the chart by unchecking a box in the input tab.
The last update is the ability to lock the spot price to be XBT (index) no matter what chart you pull up. This can be useful if evaluation XBT futures correlation to other bitcoin derivatives such as GBTC or CME futures. You can also disable this feature in the input tab, which will then just calculate based on the current chart you are viewing.
Current Contracts (December 2019)
Blue = XBTM20
Orange = XBTH20
Directional Movement Index + Average Directional IndexPersonal DMI and ADX script
ADX color change from positive vs negative momentum
DMI Color fill based on DMI+/- positive momentum
No fill color during lack of momentum
BITMEX Bybit binance HUOBI OKCOIN BTC DMI ATR DPO TREND AlertBITMEX Bybit binance HUOBI OKCOIN BTC DMI ATR DPO TREND Alert
This is a very effective trend strategy.
Strategy principle
HOW TO USE
set long position when a green arrow appears in the chart.
set short position when a red arrow appears in the chart.
For the long position and the short direction, you can set the stop profit & stop loss or trailing profit stop & trailing stop loss respectively.
When a purple arrow appears to close a position, an aggressive trader can go in the opposite direction when it is purple.
Strategy applicability
The default setting is for bitmex perpetual swap contract XBTUSD , bybit BTCUSD perpetual futures contract ,binance btcusdt Spot,Bitfinex BTCUSD Spot,bitflyer BTCJPY Spot,bithumb BTCKRW Spot,bitso BTCMXN Spot, bitstamp BTCUSD Spot,bittrex BTCUSDT Spot,Coinbase BTCUSD spot, deribit BTCPERP perpetual futures contract,gemini BTCUSD Spot,Hitbit BTCUSDT Spot,huobi BTCUSDT Spot KRAKEN XBTUSD spot,OKCOIN OKEX BTCUSD3M BTCUSD BTCUSD2W,Poloniex BTCUSDT Spot etc btc symbol with 30 minutes timeframe.
This indicator has broad applicability and can be applied to multiple different symbols.
This indicator also applies to the ETHUSD symbol etc, just adjust the default configuration.
Using the alert of the indicator, it can work well on the trading robot like Gunbot,autoview, without repaint false signals.
这是非常有效的趋势策略。
如何使用
在图表中出现绿色箭头就做多。
在图表中出现红色箭头就做空。
对于多头头寸和空头方向,您可以分别设置止损和止损或尾随利润止损和尾随止损;当出现紫色箭头时平仓,激进的交易者,可以在紫色时就做反方向。
策略适用性
默认设置是针对bitmex交易所 XBTUSD永久掉期合约,BYBIT交易所 BTCUSD永续期货合约,binance币安交易所 btcusdt现货,Bitfinex交易所 BTCUSD现货,bitflyer交易所 BTCJPY现货,bithumb交易所 BTCKRW现货,bitso交易所 BTCMXN现货,bitstamp交易所 BTCUSD现货,bittrex交易所 BTCUSDT现货,Coinbase交易所 BTCUSD现货,deribit交易所 BTCPERP永续期货合约,gemini双子星交易所 BTCUSD现货,Hitbit交易所 BTCUSDT现货,huobi火币交易所 BTCUSDT现货,KRAKEN交易所 XBTUSD现货,OKCOIN OKEX交易所 BTCUSD3M OK BTC季度合约 BTCUSD BTCUSD2W OK BTC次周合约,Poloniex BTCUSDT现货等2小时区间的btc交易。
Bitmex XBTUSD 30分钟 比特币期货 30 minutes Futures
这个指标具有广泛的适用性,可以适用多个不同交易品种。
该指标还适用于ETHUSD,ETHBTC,ADABTC,TRXBTC,XRPBTC交易品种等,只需调整默认配置即可。
Bitmex ETHUSD 30分钟 以太币期货 30 minutes Futures
使用该指标的警报设置,它可以在自动交易机器人上很好地工作,而无重绘错误的信号。
BITMEX Bybit binance HUOBI OKCOIN BTC Ichimoku TREND AlertsBITMEX Bybit binance HUOBI OKCOIN BTC Ichimoku TREND Alerts
This is a very effective trend strategy.
Strategy principle
HOW TO USE
set long position when a green arrow appears in the chart.
set short position when a red arrow appears in the chart.
For the long position and the short direction, you can set the stop profit & stop loss or trailing profit stop & trailing stop loss respectively.
When a purple arrow appears to close a position, an aggressive trader can go in the opposite direction when it is purple.
Strategy applicability
The default setting is for bitmex perpetual swap contract XBTUSD , bybit BTCUSD perpetual futures contract ,binance btcusdt Spot,Bitfinex BTCUSD Spot,bitflyer BTCJPY Spot,bithumb BTCKRW Spot,bitso BTCMXN Spot, bitstamp BTCUSD Spot,bittrex BTCUSDT Spot,Coinbase BTCUSD spot, deribit BTCPERP perpetual futures contract,gemini BTCUSD Spot,Hitbit BTCUSDT Spot,huobi BTCUSDT Spot KRAKEN XBTUSD spot,OKCOIN OKEX BTCUSD3M BTCUSD BTCUSD2W,Poloniex BTCUSDT Spot etc btc symbol with 30 minutes timeframe.
This indicator has broad applicability and can be applied to multiple different symbols.
This indicator also applies to the ETHUSD symbol etc, just adjust the default configuration.
Using the alert of the indicator, it can work well on the trading robot like Gunbot,autoview, without repaint false signals.
这是非常有效的趋势策略。
如何使用
在图表中出现绿色箭头就做多。
在图表中出现红色箭头就做空。
对于多头头寸和空头方向,您可以分别设置止损和止损或尾随利润止损和尾随止损;当出现紫色箭头时平仓,激进的交易者,可以在紫色时就做反方向。
策略适用性
默认设置是针对bitmex交易所 XBTUSD永久掉期合约,BYBIT交易所 BTCUSD永续期货合约,binance币安交易所 btcusdt现货,Bitfinex交易所 BTCUSD现货,bitflyer交易所 BTCJPY现货,bithumb交易所 BTCKRW现货,bitso交易所 BTCMXN现货,bitstamp交易所 BTCUSD现货,bittrex交易所 BTCUSDT现货,Coinbase交易所 BTCUSD现货,deribit交易所 BTCPERP永续期货合约,gemini双子星交易所 BTCUSD现货,Hitbit交易所 BTCUSDT现货,huobi火币交易所 BTCUSDT现货,KRAKEN交易所 XBTUSD现货,OKCOIN OKEX交易所 BTCUSD3M OK BTC季度合约 BTCUSD BTCUSD2W OK BTC次周合约,Poloniex BTCUSDT现货等2小时区间的btc交易。
Bitmex XBTUSD 2H 比特币期货 2 hours Bitcoin Futures
这个指标具有广泛的适用性,可以适用多个不同交易品种。
该指标还适用于ETHUSD,ETHBTC,ADABTC,TRXBTC,XRPBTC交易品种等,只需调整默认配置即可。
Bitmex ETHUSD 2H 以太币合约
binance ADABTC 2H
Binance ETHBTC 90 minutes 分钟
Binance TRXBTC89 minutes 分钟
Binance XRPBTC 90 minutes 分钟
使用该指标的警报设置,它可以在自动交易机器人上很好地工作,而无重绘错误的信号。