Plot the close-spread relationship between two price seriesThis indicator plots the close-spread relationship between two price series by calculating the change across two price series as a spread for each. Each spread is the rate of change in yesterday's closing price and the prior day's closing price. By default, weekend prices are defined to be 0.0 but can be included as user-definable input, if required.
User input:
Symbol for price series 1 - defaults to BITFINEX:BTCUSD
Symbol for price series 2 - defaults to NASDAQ:NDX
Market session time (string) - defaults to 00:00 to 23:59
Timezone - defaults to UTC-4
Hedge
Market Hedge RatioRatio of crypto (total, Bitcoin, or Ethereum market cap) to major stable coins.
A low ratio suggests a lot of people are sitting in cash (sidelined if crypto rallies).
A high ratio suggests possible demand saturation.
Yield CurveThis script tracks the U.S. 2Yr/10Yr Spread and uses inversions of the curve to predict recessions. Whenever a red arrow appear on the yield curve, expect a recession to begin within the next 2 years. Use this signal to either exit the market, or hedge current positions. Whenever a green arrow appears on the yield curve, expect a recession to have nearly ended. Use this signal to enter the market, or cut current hedges against a recession. (I may update this script in the future to better incorporate the effective federal funds rate into exit points, but for now I am satisfied with the results).
Cross Pair [NeoButane]Creates candlesticks of a cross pair of any symbol you want. Ideally both pairs would be denominated in the same currency.
The candlesticks are plotted, a close value is available to use for applying indicators on, and a label shows what is being used.
Options to configure are choosing the symbols, displaying the ticker without the exchange name, and removing wicks. If the exchange prefix is 'BATS', 'FRED', or 'TVC', it is automatically removed.
Short In Downtrend Below MA100 (Coinrule)This is a simple strategy to take advantage of downtrends. It's useful to run such a strategy as a hedge in times of market uncertainty.
The Sell Condition - Entry
The sell signal triggers when:
the coin has MA (100) greater than the price in a timeframe of 15 minutes, meaning that the coin is in a short-term downtrend.
the coin has an RSI greater than 30 in a timeframe of 15 minutes, indicating that it didn't reach oversold conditions yet, so there is still room for a further price drop.
On Coinrule, you can launch the strategy on real market conditions, setting up multiple sequential sell orders. The strategy would keep selling while the price stays below the MA(100). In that case, it's advisable to set low amounts for the sell orders. the position will grow gradually while the downtrend intensifies. Set a minimum time interval between the sell orders will also help to have control over the overall position size.
The Buy Condition - Exit
The bot connects to each trade a stop loss and a take profit. The percentages are optimized for short term trades on mid-cap coins. You can adjust the percentages depending on the specific coin you are trading. A ratio of 1:1.5 between the stop loss and the take profit could work as the strategy trades in the same direction of the trend.
Stop loss at 3% from the entry price
Take profit at 2% from the entry price
A slightly larger stop loss allows tolerating more volatility to reduce the case of stops triggering when it shouldn't.
Example: Polynomial Regression for Spread AnalysisExample of applying polynomial regression channel to spreads or hedges between 2 assets.
Hashrate Mining of BiznesFilosofIn addition to technical analysis, you also need to pay attention to fundamental analysis. Bitcoin has one of these indicators, it is the network hashrate. And it’s important to know when mining becomes disadvantageous. Those. when network participants turn off the equipment. And there are critical points that depend on the price and number of miners in the network.
When the blue bars of the indicator grow, then you can stand in long. When stools are reduced, then it is time to close positions or hedge risks in the derivatives market.
The vertical line indicates halving.
A red flag indicates a dangerous moment, and a green flag indicates the time of purchase.
The oscillator is based on fundamental indicators and the intersection of moving averages.
===
Кроме теханализа нужно ещё обращать внимание на фундаментальный анализ. У биткоина один из таких показателей, это хэшрейт сети. И важно зать, когда майнинг становится невыгоден. Т.е. когда участники сети отключают оборудование. И есть критические точки, зависящие от цены и количества майнеров в сети.
Когда синие столбики индикатора растут, тогда можно стоять в лонг. Когда столюики уменьшаются, тогда пора закрывать позиции или хеджировать риски на рынке деривативов.
Вертикальной линией обозначен халвинг.
Красный флаг показывает опасный момент, а зелёный флаг указывает на время покупок.
Осцилятор основан на фундаментальных показателях и пересечении скользящих средних.
Commercial Short IndexThis script takes the hedger (commercial short) from the COT report and normalize the chart for configurable time frames (e.g. 26 weeks, 152 weeks and 260 weeks).
Based on the "Commercial Index-Buschi" script by MagicEins.
U.S. Stocks & Options CVI to Bitcoin Correlation [NeoButane]Conceptual indicator based on trying to find an inverse correlation between bitcoin and traditional markets due to bitcoin's usefulness as a hedge against economic downturns.
How to use this script: you look at it and see if there is a correlation or not between bitcoin/Ethereum price and either U.S. stock CVi, buy volume, sell volume, calls, puts, or the call/put ratio.