DD_GolfDescription: The DD_Golf indicator attempts to obtain the fair value of BTCUSD in terms of mining costs. It is very helpful in finding absolute bottom support and possible S/R levels. The blue line shows the approximate cost of mining a bitcoin. In other words that is the fair value. Usually if price breaks below it, then it goes much lower and tests the red line which happens to be the absolute bottom at half the cost of mining.
If you'd like access to this script, please send me a direct message.
Bitcoin (Criptovaluta)
A Physicist's Bitcoin Trading Strategy
1. Summary
This strategy and indicator were designed for, and intended to be used to guide trading activity in, crypto markets, particularly Bitcoin. This strategy uses a custom indicator to determine the state of the market (bullish vs bearish) and allocates funds accordingly. This particular variation also uses the custom indicator to determine when the market is significantly oversold and takes advantage of the opportunity (it buys the dip). The specific mathematical formula that is used to calculate the underlying custom indicator allows the trader to get in before, or near the start of, the bull trends, and get out before the bear trends. The strategy's properties dialogue box includes many display settings and parameters for optimization and customization to meet the user's needs and risk tolerance; this is both a tool to gauge the market, as well as a trading strategy to beat the market. Guidelines for parameter settings are provided. A sample dataset of backtest results using randomized parameters, both within the guidelines and outside the guidelines, is available upon request; notably, all trials outperformed the intended market (Bitcoin) during the 9-year backtest period.
2. The Indicator and Strategy
2.1. The Indicator
A mathematical formula is used to determine the state of the market according to three different "frequencies", which, for lack of better terminology, are called fast, moderate, and slow indicators. There are two parameters for each of the three indicators, one called response time and the other is a simple look-back period. Finally, four exponential moving averages are used to smooth each indicator. In total, there are 18 different levels of bullishness/bearishness. The purpose of using three indicators, rather than one, is to capture the full character of the market, from a macro/global scope down to a micro/local scope. I.e. the full indicator looks at the forest, the trees, and the branches, simultaneously.
2.2. The Strategy
The trend-trading strategy is very simple; there are only four types of orders: 1) The entire position (e.g. all bitcoins held) is sold (if it hasn't already been totally sold) when the indicator becomes maximally bearish, 2) When the movement of the indicator is in the bullish direction, the strategy dollar-cost-average (DCA) buys at an exponentially decreasing rate, i.e. it buys more in the early stages of the transition from bear->bull. 3) When the indicator is maximally bullish, it goes "all-in" † (if it hasn't already gone all-in), i.e. it converts all available cash into the underlying security/token. And, 4) when the movement of the indicator is in the bearish direction, the strategy DCA sells (again, exponentially decreasing) to get out quickly. No leverage is used in this strategy. The strategy never takes a short position.
A second "buy-the-dip" strategy is also used, and it is the synergy of these two strategies, together, that is responsible for most of the outperformance in the backtests (this strategy handily beats the non-dip-buying variation in backtests). To do this, the custom indicator is used to determine when the market is significantly oversold on a short-term basis, and the strategy responds by DCA buying. However, unlike the DCA buying during bull/bear transitions, the buy-the-dip DCA buying increases with time. Specifically, within each candle that is short-term oversold, the strategy converts 10% x # of candles since becoming oversold (up to a max of 6 candles) of available cash into the underlying security/token. I.e. the first buy is 10% of available cash and occurs in the first oversold candle, the second buy is 20% of available cash and occurs in the second oversold candle, etc. up to six consecutive oversold candles. Lastly, to ensure no conflicting orders and no leverage (buying more than what is affordable with the available cash in the fund), buy-the-dip orders take precedence over the trend-trading orders enumerated in the previous paragraph.
† Technically the strategy goes 99.5% in when it goes "all-in". This is to ensure no leverage is used given that there may be a commission of 0.5%.
3. Backtest Results
Backtest results demonstrate significant outperformance over buy-and-hold. The default parameters of the strategy/indicator have been set by the author to achieve maximum (or, close to maximum) outperformance on backtests executed on the BTCUSD (Bitcoin) chart. However, significant outperformance over buy-and-hold is still easily achievable using non-default parameters. Basically, as long as the parameters are set to adequately capture the full character of the market, significant outperformance on backtests is achievable and is quite easy. In fact, after some experimentation, it seems as if underperformance hardly achievable and requires deliberately setting the parameters illogically (e.g. setting one parameter of the slow indicator faster than the fast indicator). In the interest of providing a quality product to the user, suggestions and guidelines for parameter settings are provided in section (6). Finally, some metrics of the strategy's outperformance on the BTCUSD chart are listed below, both for the default (optimal) parameters as well as for a random sample of parameter settings that adhere to the guidelines set forth in section (6).
Using the default parameters, relative to buy-and-hold strategy, backtested from August 2011 to August 2020,
Total cumulative outperformance (total return of strategy minus total return of buy-n-hold): 13,000,000%.
Rolling 1-year outperformance: mean 318%, median 84%, 1st quartile 55%, 3rd quartile, 430%.
Rolling 1-month outperformance: mean 2.8% (annualized, 39%), median -2.1%, 1st quartile -7.7%, 3rd quartile 13.2%, 10th percentile -13.9%, 90th percentile 24.5%.
Using the default parameters, relative to buy-and-hold strategy, during specific periods,
Cumulative outperformance during the past year (August 2019-August 2020): 37%.
12/17/2016 - 12/17/2017 (2017 bull market) absolute performance of 2563% vs buy-n-hold absolute performance of 2385%
11/29/2012 - 11/29/2013 (2013 bull market) absolute performance of 14033% vs buy-n-hold absolute performance of 9247%
Using a random sample (n=20) of combinations of parameter settings that adhere to the guidelines outlined in section (6), relative to buy-and-hold strategy, backtested from August 2011 to August 2020,
Average total cumulative outperformance, from August 2011 to August 2020: 2,000,000%.
Median total cumulative outperformance, from August 2011 to August 2020: 1,000,000%.
4. Limitations
This strategy is basically a DCA-swing trading strategy, and as such it is intended to be used on the 6-hr chart. Similar performance is expected on daily chart, 12-hr chart, and 4-hr chart, but performance is likely to be limited when used on charts of shorter time-frames. However, due to the flexibility afforded by the large quantity of parameters, as well as the tools included, it may be possible to tweak the indicator settings to get some outperformance on smaller time-frames. Admittedly, the author did not spend much time investigating this.
As is apparent in the backtests, this strategy has very limited absolute performance during large bear markets, such as Bitcoin's 2018 bear market. As described, it does outperform the underlying security by a large amount in backtests, but a large absolute return is unlikely during large and prolonged declines (unless, of course, your unit of account is the underlying token, in which case an outperformance of the underlying is, by definition, an absolute positive return).
This strategy is likely to underperform if used to trade ETFs of broad equity markets. This strategy may produce a small amount of outperformance when used to trade precious metals ETFs, given that the parameters are set optimally by the user.
5. Use
The default parameters have already been set for highly optimal backtest results on the chart of BTCUSD (Bitcoin / US Dollar BITSTAMP), (although, a different combination of parameter settings may yet produce better results). Still, there is a great number of combinations that can be explored, so the user is free to tweak the settings to meet his/her/their needs. Some display options are provided to give the user a visual aid while tweaking the parameters. These include a blue/red background display of the custom indicator, a calibration system, and options to display information about the backtest results. The background pattern represents the various levels of bullishness/bearishness as semi-transparent layers of blue and red, with blue corresponding with bullish and red corresponding with bearish.
The parameters that affect the indicator are the response times, the periods, and some EMA lengths. The parameters that affect the quantity of contracts (tokens/shares/bitcoins/etc) to be bought/sold are the transitionary buy/sell rates. There are also two sets of date parameters.
The response time and period parameters are direct inputs into the underlying math formula and are used to create the base-level indicators (fast, moderate, and slow). The response times control the speed of each of the three indicators (shorter is fast, longer is slower) and the period controls how much historical data is used in computation. Information about how these should be set are included in section (6). Another set of parameters control EMA look-back periods that serve to smooth the base-level indicators. Increasing these EMA lengths makes the overall indicator less sensitive to short-term price action, while reducing them does the opposite. The effect of these parameters are obvious when the background blue/red visualization is displayed. Another EMA length is an EMA for the entire indicator. Increasing this parameter reduces the responsiveness of the trading strategy (buy/sell orders) to quick/small changes of the overall level of the indicator, so as to avoid unnecessary buying and selling in times of relatively small and balanced price perturbations. Note, changing this parameter does not have an effect on the overall indicator itself, and thus will not affect the blue/red background representation.
The transitionary buy/sell rates control the portion of the available asset to be converted to the other. E.g. if the buy rate is set to 90%, then 90% of the available cash will be used to buy contracts/tokens/shares/bitcoins during transitions bullish transitions, e.g. if the available cash at the start of the bullish transition is $10,000 and the parameter is set to 90%, then $9,000 will be used to buy in the first candle during which the transition is bullish, then $900 will be used to buy in the second candle, then $90 in the third candle, etc.
There are two dates that can be set. The first is the date at which the strategy goes all in. This is included because the buy-and-hold strategy is the benchmark against which this strategy is compared, so setting this date to some time before the strategy starts to make trades will show, very clearly, the outperformance of the strategy, especially when the initial capital parameter in the Properties tab is equal to the price of one unit of the underlying security on the date that is set, e.g. all-in on Bitcoin on 8/20/2011 and set initial capital to the BTCUSD price on that date, which was $11.70. The second date is a date to control when the strategy can begin to place trades.
Finally (actually, firstly in the Inputs dialogue box), a set of checkbox inputs controls whether or not the backtest is on or off, and what is displayed. The display options are the blue/red (bull/bear) background layers †, a set of calibrators, a plot of the total strategy equity, a plot of the cash position of the strategy, a plot of the size of the position of the strategy in contracts/shares/units (labeled as BTC position), and a plot of the rolling 1-year performances of buy-and-hold and the strategy.
About the calibrators: The calibration system allows the user to quickly assess and calibrate how well the indicator... indicates. Quite simply, the system has two parts: one plot that is the cumulative sum of the product of the indicator level and the change in the underlying price, i.e. sum of ‡, over all candles. The second part is a similar plot that is reduced according to the quickness with which the indicator changes, i.e. sum of . Maximizing the first plot at the expense of the second will cause the indicator to match the price action very well but therefore it will change very rapidly, from bullish to bearish, which is visualized by a background pattern that changes frequently from blue to red to blue. Ignoring the first plot and maximizing the second will also cause the indicator to more closely match the price action, but the transitions will be slower and less frequent, and will therefore focus on identifying the major trends of the market.
† The blue/red background has many layers and will make the chart lag as the user interacts with it.
‡ Bearish states are coded as negative quantities, so a bearish state x negative price action = positive number, and bullish state x positive price action = positive number.
6. Suggestions and Guidelines
As described in section (2.1), the indicator used in this strategy was designed to determine the state of the market--whether it is bullish or bearish--as well as the change in the state of the market--whether it is increasingly bullish or increasingly bearish. As such, the following suggestions are provided based on the principles of the indicator's design,
1. Response Time 1 should be less than (<) Response Time 2 which should be < Response Time 3
2. Fast Period < Moderate Period < Slow Period
3. In terms of the period of a full market cycle (e.g. ~ 4 years for BTC, ~ 5.5 years for equities, etc.), response times 1, 2, and 3 should be about 0.3% to 1%, 3% to 20%, and 20% to 50% of a full market cycle period, respectively. However, this is a loose guideline.
4. In terms of the period of a full market cycle, periods 1, 2, and 3 should all be about 25% to 75% of a full cycle period. Again, this is a loose guideline.
4. EMA 1 Length < EMA 2 Length < EMA 3 Length < EMA 4 Length
5. EMA Lengths 1, 2, 3, and 4 should be limited to about 1/4th the length of a full market cycle. Note, EMA lengths are measured in bars (candles), not in days. 1/4th of 1000 days is 250 days which is 250 x 4 = 1000 6-hr candles.
The following guidelines are provided based on results of over 100 backtests on the BTCUSD chart using randomized parameters †,
1. 9 days < Response Time 1 < 14 days
2. 5 days < EMA 1 Length < 100 days
3. 600 days < EMA 4 length < 1000 days
4. The ratio of the EMA range (EMA 4 len - EMA 1 len) to the sum of EMA lengths (EMA 1 len + EMA 2 len + ...) be greater than 0.4
5. The ratio of the sum of EMA 1 and EMA 2 lengths to the sum of EMA 3 and EMA 4 lengths be less than 0.3.
A suggestion from the author: Given that backtests show a high degree of outperformance using the guidelines enumerated above, a good trading strategy may be to not rely on any one particular combination of parameters. Rather, a random set of combinations of parameter settings that adhere to the guidelines above could be used to create multiple instances of the strategy in a TradingView chart, each of which varies by a small amount due to their unique parameter settings. The proportion of the entire set of strategy instances that agree about the current state of the market could indicate to the trader the level of confidence of the indicator, in aggregate.
† A sample dataset of backtest results using randomized parameters is available upon request; notably, all trials outperformed the intended market (Bitcoin).
7. General Remarks About the Indicator
Other than some exponential moving averages, no traditional technical indicators or technical analysis tools are employed in this strategy. No MACD, no RSI, no CMF, no Bollinger bands, parabolic SARs, Ichimoku clouds, hoosawatsits, XYZs, ABCs, whatarethese. No tea leaves can be found in this strategy, only mathematics. It is in the nature of the underlying math formula, from which the indicator is produced, to quickly identify trend changes.
8. Remarks About Expectations of Future Results and About Backtesting
8.1. In General
As it's been stated in many prospectuses and marketing literature, "past performance is no guarantee of future results." Backtest results are retrospective, and hindsight is 20/20. Therefore, no guarantee can, nor should, be expressed by me or anybody else who is selling a financial product (unless you have a money printer, like the Federal Reserve does).
8.2. Regarding This Strategy
No guarantee of future results using this strategy is expressed by the author, not now nor at any time in the future.
With that written, the author is free to express his own expectations and opinions based on his intimate knowledge of how the indicator works, and the author will take that liberty by writing the following: As described in section (7), this trading strategy does not include any traditional technical indicators or TA tools (other than smoothing EMAs). Instead, this strategy is based on a principle that does not change, it employs a complex indicator that is based on a math formula that does not change, and it places trades based on five simple rules that do not change. And, as described in section (2.1), the indicator is designed to capture the full character of the market, from a macro/global scope down to a micro/local scope. Additionally, as described in section (3), outperformance of the market for which this strategy was intended during backtesting does not depend on luckily setting the parameters "just right." In fact, all random combinations of parameter settings that followed the guidelines outperformed the intended market in backtests. Additionally, no parameters are included within the underlying math formula from which the indicator is produced; it is not as if the formula contains a "5" and future outperformance would depend on that "5" being a "6" instead. And, again as described, it is in the nature of the formula to quickly identify trend changes. Therefore, it is the opinion of the author that the outperformance of this strategy in backtesting is directly attributable to the fundamental nature of the math formula from which the indicator is produced. As such, it is also the opinion of the author that continued outperformance by using this strategy, applied to the crypto (Bitcoin) market, is likely, given that the parameter settings are set reasonably and in accordance with the guidelines. The author does not, however, expect future outperformance of this strategy to match or exceed the outperformance observed in backtests using the default parameters, i.e. it probably won't outperform by anything close to 13,000,000% during the next 9 years.
Additionally, based on the rolling 1-month outperformance data listed in section (3), expectations of short-term outperformance should be kept low; the median 1-month outperformance was -2%, so it's basically a 50/50 chance that any significant outperformance is seen in any given month. The true strength of this strategy is to be out of the market during large, sharp declines and capitalizing on the opportunities presented at the bottom of those declines by buying the dip. Given that such price action does not happen every month, outperformance in the initial months of use is approximately as likely as underperformance.
9. Access
Those who are interested in using this strategy may send a personal message to inquire about how to gain access. Those who are interested in acquiring the sample dataset of backtest results may send a personal message to request a copy of the data.
Khaos-PredatorThis Indicator is a full trading system that offers setups with Entries and Targets and Trade Management. This indicator is very accurate because it uses advanced setup detection and filtering logic.
There are 2 conditions that must occur for you to take a trade:
1) Price must move beyond the purple dot
2) The baseline must be green for long trades, or red for short trades.
The setup is triggered if the price passes the purple dot. Do not enter the trade unless price passes the purple dot. (You may wait for pullback to enter if you wish – but only after price traded beyond the purple dot firstly.) Remember, the trade is NOT active unless price moves beyond the purple dot.)
Each setup has 3 possible targets, which are dots colored green for longs and red for shorts.
You can use the baseline (which is a trend-line that is either green for bullish or red for bearish) to filter trades. You should only enter long trades if the baseline is green and only enter short trades if the baseline is red. One strategy would be if you enter a trade long, and reach the first target, you can take some profits, but still let the some of the position run and use the baseline to manage the trade.
Also, you can use the baseline for trailing stops.
To summarize:
• Purple Dot = Entry Trigger
• Green Dots = Long Targets (3 of them, for different price targets: target 1, 2 and 3)
• Green Square = Long Stop
• Red Dots = Short Targets (3 of them, for different price targets: target 1, 2 and 3)
• Red Square = Short Stop
The great thing about this indicator is that its universal, there are no settings necessary -- just put it on the chart and it finds high probability setups and paints it on the chart as they occur. There is NO Repainting with this indicator.
Of course, you can add other indicators if you wish, and even add this indicator to your existing trading system.
Again, this indicator does NOT repaint.
Once a setup is found, the indicator draws the entry trigger price and the targets at the setup bar close.
Setup Alerts are fully supported, via email, sms, and desktop notification.
*If you wish to license this indicator, please contact me via private message for details regarding access. Thank you.
LEGAL STUFF:
Risk Disclosure
Futures , forex, stock, crypto and derivative trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results
Hypothetical Performance Disclosure
Hypothetical performance results have many inherent limitations, some of which are described below. no representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results
Bitcoin Correlated Market DirectionIdentifies which major market is "controlling" Bitcoin and what direction that market is moving in.
Helps to identify confluence of trend or potential turning points for Bitcoin.
Blue = stocks in control and bullish
Purple = stocks in control and bearish
Orange = gold in control and bullish
Red = gold in control and bearish
Bitcoin Bull CyclesA simple indicator that identifies the primary upswing of Bitcoin following each Halving, the "Bull Cycle".
A "Bull Cycle" is identified as the first period of positive momentum after each Halving date, defined as the 50 Daily Moving Average (DMA) being above the 200 DMA.
ETS MA Deviation ExtremesWhile trading, I noticed that emphasis is often placed on how far price has moved from the moving average (whichever a trader prefers). In these cases I also found that Bollinger Bands only sometimes played a factor in determining whether price had moved "too far" from the moving average to potentially result in a sharp move back to the average.
Because I wanted something more objective than a "gut feeling" that price has moved away from the average enough to make it move back, I decided to see what I could do to determine the standard deviation of how price action moved away from the average , in order to determine when it could potentially have a "rubber band effect" to jump back to the "norm". The result of that is the ETS MA Deviation Extremes indicator, and I hope that it will help you in your trading.
The indicator also has bar coloring included, which can be turned off, which gives a good on-chart visual to warn you that the price action might reverse. This has often helped me to be a bit more cautious before just jumping into a trade that might be on the brink of reversing and taking my position out, and it actually turned out to be a good indicator for a reversal trade strategy.
The histogram bars give an indication of how far the price has moved away from the average, and I look for a potential reversal as soon as the histograms move back inside the deviation lines after having been outside it. The bar coloration actually depend on more than one set of deviation lines, but putting all of that on the chart just makes it confusing, so I removed the ones that I felt were not essential to make it clearer.
I hope it helps you in your trading and makes it easier for you to trade successfully!
Rogue Profit Trend SystemThis system can be used for all assets. This script identifies trends and when to enter and exit. There is also built in risk management in the form of a take profit target or a reduction of risk to limit a losing trade. Inputs are variable and can be changed to better suit the asset and time frame you are trading. Since the risk management (take profit or limit loss) is calculated by 50% of your position, this system is designed to trade in multiples of two's. For example, you enter into a position with $100 at risk, when your risk management signal fires, it will reduce your position by 50% to either snag some profit or limit a loser leaving you with $50 in the position. Close the trade completely when the trend reverses for either a profit or loss.
Nothing about trading is easy. You will have losing trades. Managing your risk is the key to success which is why this system is so powerful. Markets are fluid and random so you will have to put some time and effort into adjusting the system inputs for each asset and the respective time frame you are trading and continue to adjust as time passes. This system will make you money if you manage it correctly and systematically.
Message me for two day trial access. Happy trading!
[2020 Updated]Bitcoin Logarithmic Growth CurvesCredit goes to the original writer of the script, Quantadelic, who generously allowed anyone to copy/edit. I adjusted the value of the bottom/top intercept and slope to better fit the March 2020 coronavirus dip.
Use Bitstamp BTCUSD for better reading.
EMA Cross Indicator (with signals)This indicator shows 2 EMA (Long and Short) Cross and gives a possible entry point for a trade.
When Short EMA (red line) line crosses Long EMA (green) from bottom to top - this is a possible Long trade entry point.
When Long EMA (green line) line crosses Short EMA (red) from bottom to top - this is a possible Short trade entry point.
In both cases (basically, all the crossovers) are indicated with "Long" and "Short" labels.
Works with Crypto (from 30 min timeframe and higher)
Stocks (from 1 hour timeframe and higher)
Commodities (from 1 hour timeframe and higher)
Forex (from 1 hour timeframe and higher)
Consider using it with respect to Your trading style, money- and risk-management as well as other indicators.
VIDYA by Mehmet YildizliVIDYA by Mehmet Yildizli - Variable Index Dynamic Average
Our behaviours toward financial markets change every time of any date. On the other hand, we usually tend to analyze averages via constant period-of time. That is, our analyzing way is not consistant with a changing dynamics of financial markets.
Therefore, a new form of Moving Average comes trough into the scene: The Variables Index Dynamic Average-VIDYA.
VIDYA is a moving average that regulates itself according to the volatiliy of prices. When prices go up or fall down rapidly VIDYA approches to prices. When prices move less volatile, VIDYA tracks the prices from a distance.
We start calculating VIDYA with an approch of Exponential Moving Average. However, the difference between VIDYA and EMA(Exponential Moving Average) is the changes of constant coeffient of EMA, according to volatility. When new price comes, each time, the VIDYA calculates a new coefficient used to calculate the average. Then, each time a new price comes, a new period of time is calculated according to volatiliy.
In this moving average indicator, you can set two moving average period at the same time. Additionally, you can set two different step height for two moving averages. These step height coefficients is used to round the moving averages. Therefore, when prices cross up and down continously you can change these step heights in order to prevent unnecessary trades.
Cyber ChannelStandard deviation levels to determine if the price is over-extended in the positive/negative direction about the user defined MA line.
Historical confluence with the different levels can be used to estimate and predict the probability of a significant price retracement within given time-scale; and to help anticipate if the price is nearing local or all-time highs/lows.
UTG - Gravy TrainThe most complex indicator we've ever developed.
Works on ALL MARKETS!
Gravy Train is a ALL IN ONE - ONE GLANCE indicator.
- It allows you to gauge trend, gives you appropriate LONG & SHORT identifiers
- It identifies when the trades should be over
- Cloud based support & resistance Zones drawn on the chart
- It keeps you OUT of the market in areas of indecision
- It works on ALL timeframes
- Takes the emotion out of trading various markets
- Gravy Train is Unity Trading Groups bread and butter for Scalping, Swing Trading, Position Trading & Day Trading
Unity Trading Group is proud to present Gravy Train!
To gain access to this script, you can find our details in our Signature, use the links below to find out!
Channel Break [for free bot]I present to you a script for testing the channel breakout strategy for the Bitmex exchange.
Cryptocurrency itself is a trending tool, which is why breakout strategies generate the largest profits, and the channel breakout strategy is one of the most effective trend strategies.
The optimization result shows the result of trading on a volume of 20% of the deposit. But since Bitmex trades in futures contracts, you can use 50%, 100% and even much more, depending on your attitude to risk.
At the time of publication on the Bitmex exchange there are 12 different contracts, i.e. You can diversify your trading well (by pre-optimizing the settings for each contract).
In the script, you can set up many trading options - timeframe, periods for buying and selling, method of exiting a trade, stop loss, take profit, risk management, etc.
Thus, you create a strategy "for yourself".
Представляю Вам скрипт для тестирования стратегии пробоя канала для биржи Битмекс.
Криптовалюта, сама по себе является трендовым инструментом, именно поэтому, пробойные стратегии генерируют самую большую прибыль, а стратегия пробоя канала – является одной из самых эффективных трендовых стратегий.
На результате оптимизации показан результат торговли на объеме в 20% от депозита. Но так как на Битмекс торговля идет фьючерсными контрактами, Вы можете использовать 50%, 100% и даже намного больше, в зависимости от Вашего отношения к риску.
На момент публикации на бирже Битмекс есть 12 разных контрактов, т.е. Вы можете хороши диверсифицировать свою торговлю (предварительно оптимизируя настройки по каждый контракт).
В скрипте Вы можете настроить множество вариантов торговли - таймфрейм, периоды для покупки и продажи, метод выхода из сделки, стоп-лосс, тейк-профит, рискменеджмент и т.п.
Таким образом Вы создаете стратегию "под себя".
Bitcoin Cost Per Transaction (QUANDL:BCHAIN/CPTRA)Simple script that graphically represents the Bitcoin Cost Per Transaction.
Blockchain data made available at QUANDL.
Its logic is simple, search the data in the QUANDL database and plot it on the chart.
CROSSOVER LONG N SHORTThis is a algo bot which identifies the trend with the help of ema and give buy signals..
It is backtested personaly by me and has shown good results
This script is intended to educational purpose only ...
ICT Killzone For Crypto Markets.Adjusted for Crypto 24/7 markets
Adjusted for UTC
i have hidden the asian open range and daily bars on my charts , you can choose to have them on
Less screen clutter
London Open 8:00 - 4:30 - Killzone 7:00 - 9:00
NewYork Open 9:30 - 4:00 Killzone 8:00 - 10:00
Shanghai open 9:15 Killzone 8:00 - 10:00
NOT MY ORIGINAL SCRIPT. JUST MODIFIED VERSION
Bull Market BarrierThis is a very special band of long-term Bollinger Bands derived from Fib values, and is specifically made for Bitcoin .
It represents one of, if not the strongest dynamic resistance in the BTCUSD market, and divides the market into bull and bear cycles.
The BMB uses the BLX long-term data.
Musashi MTF Trend HeatMapThis indicator compliments the Musashi TrendBars and allows convenient multi time frame analysis.
This HeatMap, shows 5 different time zones, each with color codes to indicate the trend expression of a corresponding timeframe.
- Dark Green = Good Uptrend (ok to enter short)
- Light Green = Uptrend but it can be exhausted (put in protective stops)
- Cyan = In Bull Trend but pulling back (be careful, maybe put in protective stops)
- Dark Red = Good Downtrend (ok to enter short)
- Orange = Downtrend but it can be exhausted (put in protective stops)
- Magenta = In Bear Trend but pulling back (be careful, maybe put in protective stops)
The dark grey markers on the Heat Map show when markets are not having strong trends.
*If you wish to license this indicator, please contact me via private message for details regarding access. Thank you.
LEGAL STUFF:
Risk Disclosure
Futures , forex, stock, crypto and derivative trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results
Hypothetical Performance Disclosure
Hypothetical performance results have many inherent limitations, some of which are described below. no representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results
Noldo Blockchain Cryptocurrency Indicator
Hello, this script has the same logic as Noldo CFTC COT Forex Indicator :
And Noldo CFTC COT Commodities Indicator :
*
Script briefly calculates the period length between two signals of Pivot Reversal Strategy when new signal arrives and allows us to see relative Blockchain data and price changes of Major Cryptocurrencies over that automatic length.
This saves us from the hassle and time wasting of searching for a reference point.
Usage
This script works only on all Bitcoin / U.S Dollar pairs and futures.
It only works on 1W graphics.
ICOT data are pulled via Quandl
NOTE :
Since blockchain data is very votalile, 7-day ema values are adjusted to take into account.
Regards.
AMA 2Hi
Here is the 2ed edition of the AMA indicator.
what you would know to know?
AMA indicator based on support and resistance in a different way.
Basically, you have the X line (black color) and when you see candles is over it, then you can go long, and when it's below it you may go short or just close your deal and wait for a better chance to re-enter again.
You see the confirmation signs which helps you to get more signals for the deal.
You find a colored background that is based on the volume that could help you to know where if the traders are buying or selling.
AMA is configured to work with Alerts.
We've added EMA and our special moving average to help you in your decision.
Finally, the indicator is tested and works fine with Binance on 1H, 4H, D and you could change the length to have better results for the daily time frame.
MAPS - HiLo DivergenceThe High/Low indicator utilizes the measuring of local highs and lows as well as local peaks and troughs to identify possible divergence in the price action.
Purple oscillator = Higher Timeframe's price measurement
Purple high triangle = A local high on the higher timeframe has been made
Purple low triangle = A local low on the higher timeframe has been made
Red high triangle on the purple oscillator = A local high on the higher timeframe has been made and is deemed a bearish divergent high
Green low triangle on the purple oscillator = A local low on the higher timeframe has been made and is deemed a bullish divergent low
Orange oscillator = Current Timeframe's price measurement
Orange high triangle = A local high on the current timeframe has been made
Orange low triangle = A local low on the current timeframe has been made
Red high triangle on the orange oscillator = A local high on the current timeframe has been made and is deemed a bearish divergent high
Green low triangle on the orange oscillator = A local low on the current timeframe has been made and is deemed a bullish divergent low
Bitcoin Block Height (Total Blocks)Bitcoin Block Height by RagingRocketBull 2020
Version 1.0
Differences between versions are listed below:
ver 1.0: compare QUANDL Difficulty vs Blockchain Difficulty sources, get total error estimate
ver 2.0: compare QUANDL Hash Rate vs Blockchain Hash Rate sources, get total error estimate
ver 3.0: Total Blocks estimate using different methods
--------------------------------
This indicator estimates Bitcoin Block Height (Total Blocks) using Difficulty and Hash Rate in the most accurate way possible, since
QUANDL doesn't provide a direct source for Bitcoin Block Height (neither QUANDL:BCHAIN, nor QUANDL:BITCOINWATCH/MINING).
Bitcoin Block Height can be used in other calculations, for instance, to estimate the next date of Bitcoin Halving.
Using this indicator I demonstrate:
- that QUANDL data is not accurate and differ from Blockchain source data (industry standard), but still can be used in calculations
- how to plot a series of data points from an external csv source and compare it with another source
- how to accurately estimate Bitcoin Block Height
Features:
- compare QUANDL Difficulty source (EOD, D1) with external Blockchain Difficulty csv source (EOD, D1, embedded)
- show/hide Quandl/Blockchain Difficulty curves
- show/hide Blockchain Difficulty candles
- show/hide differences (aqua vertical lines)
- show/hide time gaps (green vertical lines)
- count source differences within data range only or for the whole history
- multiply both sources by alpha to match before comparing
- floor/round both matched sources when comparing
- Blockchain Difficulty offset to align sequences, bars > 0
- count time gaps and missing bars (as result of time gaps)
WARNING:
- This indicator hits the max 1000 vars limit, adding more plots/vars/data points is not possible
- Both QUANDL/Blockchain provide daily EOD data and must be plotted on a daily D1 chart otherwise results will be incorrect
- current chart must not have any time gaps inside the range (time gaps outside the range don't affect the calculation). Time gaps check is provided.
Otherwise hardcoded Blockchain series will be shifted forward on gaps and the whole sequence become truncated at the end => data comparison/total blocks estimate will be incorrect
Examples of valid charts that can run this indicator: COINBASE:BTCUSD,D1 (has 8 time gaps, 34 missing bars outside the range), QUANDL:BCHAIN/DIFF,D1 (has no gaps)
Usage:
- Description of output plot values from left to right:
- c_shifted - 4x blockchain plotcandles ohlc, green/black (default na)
- diff - QUANDL Difficulty
- c_shifted - Blockchain Difficulty with offset
- QUANDL Difficulty multiplied by alpha and rounded
- Blockchain Difficulty multiplied by alpha and rounded
- is_different, bool - cur bar's source values are different (1) or not (0)
- count, number of differences
- bars, total number of bars/data points in the range
- QUANDL daily blocks
- Blockchain daily blocks
- QUANDL total blocks
- Blockchain total blocks
- total_error - difference between total_blocks estimated using both sources as of cur bar, blocks
- number_of_gaps - number of time gaps on a chart
- missing_bars - number of missing bars as result of time gaps on a chart
- Color coding:
- Blue - QUANDL data
- Red - Blockchain data
- Black - Is Different
- Aqua - number of differences
- Green - number of time gaps
- by default the indicator will show lots of vertical aqua lines, 138 differences, 928 bars, total error -370 blocks
- to compare the best match of the 2 sources shift Blockchain source 1 bar into the future by setting Blockchain Difficulty offset = 1, leave alpha = 0.01 =>
this results in no vertical aqua lines, 0 differences, total_error = 0 blocks
if you move the mouse inside the range some bars will show total_error = 1 blocks => total_error <= 1 blocks
- now uncheck Round Difficulty Values flag => some filled aqua areas, 218 differences.
- now set alpha = 1 (use raw source values) instead of 0.01 => lots of filled aqua areas, 871 differences.
although there are many differences this still doesn't affect the total_blocks estimate provided Difficulty offset = 1
Methodology:
To estimate Bitcoin Block Height we need 3 steps, each step has its own version:
- Step 1: Compare QUANDL Difficulty vs Blockchain Difficulty sources and estimate error based on differences
- Step 2: Compare QUANDL Hash Rate vs Blockchain Hash Rate sources and estimate error based on differences
- Step 3: Estimate Bitcoin Block Height (Total Blocks) using different methods in the most accurate way possible
QUANDL doesn't provide block time data, but we can calculate it using the Hash Rate approximation formula:
estimated Hash rate/sec H = 2^32 * D / T, where D - Difficulty, T - block time, sec
1. block time (T) can be derived from the formula, since we already know Difficulty (D) and Hash Rate (H) from QUANDL
2. using block time (T) we can estimate daily blocks as daily time / block time
3. block height (total blocks) = cumulative sum of daily blocks of all bars on the chart (that's why having no gaps is important)
Notes:
- This code uses Pinescript v3 compatibility framework
- hash rate is in THash/s, although QUANDL falsely states in description GHash/s! THash = 1000 GHash
- you can't read files, can only embed/hardcode raw data in script
- both QUANDL and Blockchain sources have no gaps
- QUANDL and Blockchain series are different in the following ways:
- all QUANDL data is already shifted 1 bar into the future, i.e. prev day's value is shown as cur day's value => Blockchain data must be shifted 1 bar forward to match
- all QUANDL diff data > 1 bn (10^12) are truncated and have last 1-2 digits as zeros, unlike Blockchain data => must multiply both values by 0.01 and floor/round the results
- QUANDL sometimes rounds, other times truncates those 1-2 last zero digits to get the 3rd last digit => must use both floor/round
- you can only shift sequences forward into the future (right), not back into the past (left) using positive offset => only Blockchain source can be shifted
- since total_blocks is already a cumulative sum of all prev values on each bar, total_error must be simple delta, can't be also int(cum()) or incremental
- all Blockchain values and total_error are na outside the range - move you mouse cursor on the last bar/inside the range to see them
TLDR, ver 1.0 Conclusion:
QUANDL/Blockchain Difficulty source differences don't affect total blocks estimate, total error <= 1 block with avg 150 blocks/day is negligible
Both QUANDL/Blockchain Difficulty sources are equally valid and can be used in calculations. QUANDL is a relatively good stand in for Blockchain industry standard data.
Links:
QUANDL difficulty source: www.quandl.com
QUANDL hash rate source: www.quandl.com
Blockchain difficulty source (export data as csv): www.blockchain.com
TA Night Bot AlertsThe absolutely most insane indicator for the Cryptoassets
With this script signals for short and long positions are recognized. It still has some false signals during extreme market movements, furthermore it runs best in the 15min & 5min chart. You can increase your risk limit in the settings. The indicator is based on different indicator values.
the indicator is a component of a superordinate algorithm and therefore not perfect.
who would like to test it pm
BTC
ETH
EOS
XRP