BTC Golden Bottom with Adaptive Moving AverageIntroduction:
This study uses Adaptive Moving Average with 1 year of length to plot on all time history Index Calculated by Tradingview . All previous $BTC bear runs bottomed on this curve which makes it important enough. Use this only on " "
Default Values:
AMA length is 1 year
Minor length is 50
Major length is 100
Mata Wang Kripto
Smart RebalanceThis script is based on the portfolio rebalancing strategy. It's designed to work with cryptocurrencies, but it can work with any market.
How portfolio rebalance works?
Let's assume your initial capital is $1000, and you want to distribute it into 4 coins. This script takes the USDT as the stable coin for the initial money, so in case you want other currency, the pairs must be with that fiat as the quote.
Following our example, you would take BTC, ETH, BNB, and FTT. After selecting the coins, it's time to choose how much allocation is on each. Let's put 25% on each. This way, $250 of our capital on each coin.
After selecting the coins and their allocation, you choose the price change ratio for rebalancing. Let's use 1%. Next, you start to watch the markets. The first thing that happens, following our example, is the BTCUSDT price moving 1% up.
That amount hit the ratio of 1% for the rebalance. Hence, you sell 1% of BTC for USDT and redistribute to the other coins, buying 0.25% of each currency to rebalance the portfolio.
Next, ETHUSDT goes 1% down, time to rebalance again. This time, you need to take 0.33% of each other coin and buy ETH, so this way, it's all divided as the chosen allocation.
Why use rebalancing?
Looks easy, right? It is, but very time demanding. Demands even more if you raise the number of coins you want to distribute. Having a system to do that automatically is a must to work efficiently. Rebalancing spreads the risk among multiple currencies. This way, you earn small when it goes up, but you lose small when it goes down.
What this script helps with portfolio rebalance?
This indicator will not buy/sell for you but will help you choose the best markets for your rebalancing. Which coin will work best in that period? Do I need to have more than 8 coins? How much must be my ratio? Those questions you can answer using this indicator.
What this script has?
Start and End dates
The script will work for a certain period. All calculations will be done in that period.
Coin Ratio %
The amount of price movement of each asset that will be used to calculate the rebalancing
Initial Capital and Broker Fee
The amount of capital to be used on the rebalancing and the broker fee you want to use the strategy. The cost will be applied on every trade, buying or selling the coins.
Assets, allocations, and colors
It's possible to select from 2 to 10 assets to be used on the portfolio. Each purchase must have the allocation %. Suppose the sum of the allocations is different from 100%. In that case, a warning message will appear on the chart instead of the statistics.
Panel and tooltips
There is a panel with a summary of the results
Set allocations automatically
There is an option to make the indicator use the daily asset volume from the day before to determine the allocation percentage of each asset. This option is better if you are unsure how much allocation you want to use on each coin.
Use this indicator as a backtest for your rebalancing strategy. The selected market on the chart will not affect the calculation on this indicator, but the time frame will. The higher the time frame, the higher the coin ratio % must be.
About the code
The code is written to use arrays to store the values of each asset, making the calculations on each candle inside the time range. The for-loops are used to reduce the code length and make it easy to change the analysis of all assets. Finally, the script has some comments on the code.
CRC.i Golden Death CrossThis is a simple reproduction of a common indicator used for analyzing the current momentum trend.
Golden Cross => 50 day simple moving average (sma) crosses over the 200 sma
Death Cross => 50 day simple moving average (sma) crosses under the 200 sma
Forecasting used in this indicator is a simple moving average, considering the price sma with length of (sma period - future bar count).
More articles at
mirror.xyz
medium.com
Two sided mean deviation Indicator [SQT]Description
The indicator aims at detecting up and down moves that deviate substantially from their respective means. The up and down means are calculated separately taking the last N up or down candles into account (Use N candles). Based on these means the upper and lower bounds are calculated by adding or subtracting the distributions standard deviation (Sigma bounds), multiplied by a user specified factor. After a substantial move, the bounds will either decay sharply to their mean after N up or down candles have passed (Decay: equally weighted) or gradually (Decay: age weighted, weight can be adjusted in the Pine script). The equally weighted decay is meant to model persistent memory whereas the age weighted decay models fading memory of the market over the last N up or down candles. The upper and lower bounds constitute the shaded area. The signal line is simply an EMA with length 3 of the sum of the last 3 percentage changes. These values can be adjusted from the Pine script directly.
Intended use
The signal line leaving the shaded area indicates a substantial move away from the respective mean under the given parameters. This might be interpreted as a signal for the price to revert back to it's mean during the following candles (mean reversion).
Markets
The indicator may be used on any timeseries that is expected to have mean reverting behaviour. Development was done on DERIBIT:BTCPERP using 5 minute candles.
Trendalix EntriesThis script is made to simplify the analysis of trends. It changes the mas based on whether you're looking at stocks or crypto. As these 2 markets currently move differently, they need a slightly different approach.
Crypto trends:
Can move much faster than stocks. Ideally the price should be bouncing above the williams alligators (about the 20-30 MAs).
Stocks:
These swing more than crypto so you need to get deep into these swing to be buying at the bottom of a move. The MAs are much larger, between the 50ma and 400ma. It's much more important here that the slower MAs are strong, i.e 200ma is above the 400ma, than it is that the faster MAs are okay.
For stocks an entry and stop line is drawn. These are only visible when the market is sufficiently in a pullback.
Crypto Category [Morty]This Crypto Category indicator shows an index oscillator for each cryptocurrency category.
Currently there are four categorys, include Metaverse, Web3, Layer1 and DeFi.
Each category index has four compoments and you can custom the input symbols.
The index is a Hull moving avarage of the compoments CCI. You can set the avarage period.
It also show a background heatmap based on the market sentiment which is calculated from the avarage of four indices.
Price Action [Morty]This price action indicator uses the higher timeframe SSL channel to identify trends.
The long entry signal is a bullish candlestick pattern when the price retraces to EMA20 in an uptrend.
The short entry signal is a bearish candlestick pattern when the price retraces to the EMA20 in a downrend.
Currently, this indicator shows engulfing patterns, pin bar patterns, 2 bar reversal patterns and harami patterns.
It also shows a volatility squeeze signal when the Bollinger bands is within the Kelter channels.
The buy and sell signal can also be filter by the ADX indicator greater than a threshold.
You can set your stoploss to the previous low/high when you go long/short.
The risk/reward ratio could be 1 to 1.5.
This indicator can be used in any market.
Relative Strength Index Leaderwhat will happen for the RSI if the price will increases or decreases by X percent ? This indicator takes your hands.
For instance:
You set Leader1 = 1 and Leader2 = -1 (by default), So this indicator shows you that if the price will increase 1% (Leader1) or decrease 1% (Leader2) How much the RSI will be?
So you have 3 horns, One of them main RSI that shows the amount of RSI right now, and 2 others show what will happen for RSI if the price increase or decrease by X percent.
if you need to contact me or new suggestions for improving send me an email:
sydalifazel@gmail.com
Dominion - Bitcoin Altcoin Dominance [mutantdog]A simple and easy reference tool displaying a plot of the market cap dominance values for several significant cryptocurrencies.
The most widely used of these is bitcoin dominance (the top indicator shown above) which calculates the total market cap of bitcoin in relation to the total cryptocurrency market cap, displayed as a percentage. This is commonly used by traders to assess the strength of bitcoin in relation to the broader crypto market; increasing values being indicative of larger bitcoin moves and decreasing values often indicative of potential altcoin cycles. Likewise, ethereum dominance (the bottom indicator shown above) is frequently used as a means to indicate the strength of ethereum in relation to the broader crypto market.
Included options for marketcap dominance values are:
Bitcoin : CRYPTOCAP:BTC.D
Ethereum : CRYPTOCAP:ETH.D
Total DeFi (a composite of multiple top defi tokens): CRYPTOCAP:TOTALDEFI.D
Stablecoins (shows the combined dominance values for usdt and usdc): CRYPTOCAP:USDT.D + CRYPTOCAP:USDC.D
Flippening (shows the difference between bitcoin and ethereum dominance values): CRYPTOCAP:BTC.D - CRYPTOCAP:ETH.D
When used in combination with each other, these can provide a good overview of the general flow of capital within the crypto market.
Additional functionality:
up to three optional moving averages with a choice of SMA, EMA, WMA and RMA for each.
multi timeframe selector
alert condition presets for various moving average crosses.
Please be aware that, while useful as reference, dominance calculations are known to repaint frequently. As such the use of this indicator and its alerts should require caution.
Reversal zone finderThis script would find potential reversal price zones according to RSI over bought or sell condition and big reversal candle.
It works better in range markets and lower time frames like 5M and especially in Support/Resistance zones.
Suit for scalping in forex or crypto markets.
* Use it as a trade assistant not a trade signal!
SSR - Stablecoin Supply Ratio - Bitcoin - CryptocurrencyThe Stablecoin Supply Ratio (SSR) is the ratio between Bitcoin supply and the supply of stablecoins, denominated in BTC.
When the SSR is low, the current stablecoin supply has more "buying power" to purchase BTC. It serves as a proxy for the supply/demand mechanics between BTC and USD.
BTC Dominance TrendThis simple script applies the DMI/ADX (trend) indicator to the Bitcoin Dominance Index (BTC.D) to check whether BTC is increasing its dominance or not on that day. It is meant to be applied to altcoins on medium intervals. I put it together to test the following hypothesis: On days when BTC dominance is on the rise, altcoins are harder to take off, because Bitcoin is draining the lifeblood out of them, so caution is needed when opening trades.
Olive background means BTC dominance is rising on that day, purple that it is decreasing. White background means it is not moving significantly in any direction.
You can change the resolution (i.e. apply the DMI/ADX to a different BTC.D interval), just make sure to lower the threshold as well. I hope you find a good use for it! Beware if you try to incorporate it in your strategy, it uses higher timeframe data and hence is prone to repainting.
WhaleCrew Long/Short Ratio (Bitfinex)Shows the long/short ratio (amount of longs per short) on ANY Bitfinex pair (BTCUSD, ETHUSD, ADAUSD, ...).
Rolling VWAP - Vhunt Scalper botBINANCE:ADAUSDTPERP
Modified VWAP to use scalping in lower timeframe.
Use 1minute TF for best results but can also use up to 30min.
This indicator is made for crypto but may also work for other assets.
The bands serve as support and resistance and used for opening quick profit position if conditions below are met:
Indicators:
Blue - modified rolling vwap
Orange - Band1
Green - Band2
Opening position Conditions:
Long:
Band2 < Band1
Price < Band2
Short:
Band2 > Band1
Price > Band2
Crypto Scannner for Traffic Lights StrategyI allways try to make trading easier. Developing Scripts for a quick backtest and improvement of a strategy, getting alerts for entry and exit a position. Loading data to a spreadsheet is also important and takes time.
In this case finding good parameters in different markets or assets to enter in a position, is a bit exhausting. It is something you have to do everyday, and sometimes in different moments of the day.
So I manage to develop a Screener, to take a quick look at specific hours, and tell if I have a buy or sell condition in an specific asset. Obviously this is not an alert to make a trade instantaneusly, but this help you filter a lot of information in matters of seconds. Then open those specific charts and make a better analisys.
A few weeks ago, I published a scrpipt called "Traffic Lights Strategy", that uses 4 emas to get a buy or a sell condition.
It is easy to understand and use, but if you don´t want to missed some opportunities, and don't want to be look at the screen in all the time looking for them, I have here a simple solution.
This script works plotting 2 labels. The first one plots all the assets in which the condition is true (fastema > medema > slowema > filterema or fastema < medema < slowema < filterema)
The second one plots the assets were the condition is true only if happened up to 5 candles back, so you can be in time to enter a trade.
You can take the script and customize it for a different strategy or assets. I coded like this because I backtested this strategy in this specific assets, and statistics suggest that it might be profitable.
I hope this works for you. In other time I'll try to code a script for the others strategies I published.
Crypto Market Caps (BTC, ETH, TOTAL3)RSI based Crypto Market Caps (BTC, ETH, TOTAL3) Oscillator
This oscillator displays market caps for:
BTC : CRYPTOCAP:BTC -> in orange
ETH : CRYPTOCAP:ETH -> in gray
ALT (Total crypto excl. BTC & ETH): CRYPTOCAP:TOTAL3 -> in blue
In the settings you can edit:
The 3 market cap symbols
RSI length
All colours ;-)
Hope you enjoy!
Multiple Anchored VWAP [Morty]The Anchored VWAP (aVWAP) indicator ties VWAP calculations to a specific price bar chosen by the trader. Anchored VWAP allows you to specify the price bar where calculations begin, making it easy to see whether the bulls or bears have been in charge since a very specific point in time. The starting price bar that is chosen generally marks a shift in market psychology, such as a significant high or low, earnings, news, or other announcements. The Anchored VWAP line is charted using price and volume data from that significant event onward.
This indicator plots up to 4 aVWAP lines in the chart.
Features:
- plot up to 4 aVWAP lines
- custom start date of aVWAP
- custom line color
- optional label of starting price bar
- optional custom resolution
----------------------------------------------------
锚定VWAP(aVWAP)指标将VWAP的计算与交易者选择的特定价格柱联系起来。锚定VWAP允许你指定计算开始的价格柱,使你很容易看到自一个非常具体的时间点以来,是牛市还是熊市在起作用。所选择的起始价格条通常标志着市场心理的转变,如一个重要的高点或低点、收益、新闻或其他公告。锚定VWAP线是使用从该重大事件开始的价格和成交量数据绘制的。
该指标在图表中最多绘制了4条aVWAP线。
特色:
- 绘制多达4条aVWAP线
- 自定义aVWAP的开始日期
- 自定义线的颜色
- 可选的起始价格条的标签
- 可选的自定义分辨率
Current to BTC [Morty]This indicator helps you find strong bull altcoin, it shows the ratio of the current symbol to BTC.
Donchian Channels help to identify trends.
Alts Bull coins:
When BTC goes sideway, they pump first.
Alts Bear coins:
When BTC goes sideway, they move sideway.
When BTC goes down, they go down harder.
Security. Scalp Adviser by Antony SavacheGreat script for quick deals. Buy and after 5 minutes sell with a target yield of 0.3%
Works on the principle of getting out of the pit. The pit is determined thanks to the rsi on the 15-minute time frame, the exit is determined by the rsi on the 1-minute timeframe. You can play with the rci values in the settings
ExpertToken Buy/Sell SignalExpertToken Buy/Sell Signal เป็นอินดิเคเตอร์ที่สามารถบอกสัญญาณการซื้อขาย และบอกแนวโน้มของราคาได้
หลักการทำงาน
สัญญาณ Buy/Sell ถูกกำหนดโดยการใช่ CCI วัดโมเมนตัมการซื้อขาย หาก CCI ส่งสัญญาณว่าแรงขายเยอะเกินไป และมีแนวโน้มราคาจะกลับตัวสูงขึ้น ก็จะส่งสัญญาณ Buy แต่หาก CCI ส่งสัญญาณว่าแรงซื้อเยอะเกินไป และมีแนวโน้มราคาจะกลับตัวต่ำลง ก็จะส่งสัญญาณ Buy
เส้นสีน้ำเงินเป็นเส้น EMA 200 ไว้ใช้บอกแนวโน้มระยะยาว
เมฆขาว ประกอบไปด้วย เส้นสีเขียว(เส้น EMA เคลื่อนที่เร็ว) และเส้นสีแดง(เส้น EMA เคลื่อนที่ช้า) โดยให้ทั้งสองเส้นตัดกันเพื่อบอกสัญญาณการกลับตัว ค่าเริ่มต้นของทั้งสองเส้นเป็น 20, 50
วิธีการใช้อินดิเคเตอร์
ขั้นตอนแรก ให้ดูเส้นสีน้ำ หากราคาอยู่เหนือเส้นสีน้ำเงิน อาจมีแนวโน้มที่ราคาจะขึ้น
ขั้นตอนที่สอง ให้ดูเมฆ ที่ถูกสร้างขึ้นโดยการน้ำเส้น EMA 2 เส้น สีเขียวและสีแดง หากเส้นสีเขียวอยู่เหนือเส้นสีแดง ราคาอาจมีแนวโน้มที่ขึ้น หากเส้นสีแดงอยู่เหนือเส้นสีเขียว ราคาอาจจะลง แต่ถ้าหากราคาอยู่ในโซนเมฆขาว(ราคาอยู่ระหว่างเส้นเขียวกับสีแดง) ราคาอยู่ในช่วงเป็นกลาง
สุดท้าย หากมีข้อความบอกสัญญาณบอกว่า Buy หรือ Sell ให้พิจารณาจากสองขั้นตอนก่อนหน้านี้ หากมันสอดคล่องกับสองขั้นตอนก่อนหน้านี้ ให้พิจารณาการเปิดตำแหน่งตามสัญญาณ
################################################################################################
ExpertToken Buy/Sell Signal is an indicator that can give you trading signals. and tell the trend of the price
How it works
Buy/Sell signals are determined by using CCI to measure trading momentum.
If CCI signals too much selling pressure and there is a tendency for the price to reverse higher It sends a buy signal, but if CCI signals that it is overbought and the price tends to reverse lower will send signal Buy
The blue line is the EMA 200 line to indicate a long-term trend.
The white cloud consists of a green line (fast moving EMA line) and a red line (slow moving EMA line), with the two lines intersecting to signal a reversal. The default values for both lines are 20, 50.
How to use the indicator
The first step is to look at the watercolor lines. If the price is above the blue line There may be a tendency for prices to go up.
The second step is to look at the clouds that are created by watering the 2 EMA lines, green and red. If the green line is above the red line The price may tend to go up. If the red line is above the green line, the price may go down, but if the price is in the white cloud zone (the price is between the green and red line), the price is in the neutral range.
Finally, if there is a signal to say Buy or Sell, consider the previous two steps. If it complies with the previous two steps Consider opening a position based on a signal.
Engulfing Candle Rejection IndicatorThis indicator allows you to filter noisy chart, with engulfing candles which have been rejected from current trend lines. Trend lines by default are 21 MA (fast) and 10 MA (slow one). If fast moving average is greater than slower one, automatically indicator would represent that like uptrend, and if opposite then like a downtrend.
Consider to work only on higher time frames like 1H and higher, so you really can find only best entries.
Have fun, best wishes!
Directional Strength Panel█ OVERVIEW
The panel display trend momentum of selected coins/symbol (up to 6) based on the Arnaud Legoux Moving Average (ALMA). I'm using ALMA to measure the trend because it resolves 2 main issue of the more common moving averages, smoothing and responsiveness. By removing the minor fluctuations in price without sacrificing the responsiveness, the trend become much more clearer and easier to be measured.
In essence, as the meter approaches 100, it means the ALMA is pointing up (0 means pointing down)
█ Features
- Adjustable ALMA settings with options to turn on/off display the ALMA on current chart
- Select 6 symbols of your choice to be monitored in the settings (You have to manually update the label to display)
- Working on all timeframes
- Switch the panel color to suit background chart theme (Light/Dark)
█ Developer Notes
I'm working with table a lot lately and decided to publish this as a sample if anyone wishes to edit the script to display whatever they want. main calculation in get_data() function should be clamped to value between 0-100. As for the panel size, you can edit the row_max (currently set to 20 and 40) if you need it to be smaller or bigger (**i feel anything smaller than 16 is ugly)
█ Disclaimer
Past performance is not an indicator of future results.
My opinions and research are my own and do not constitute financial advice in any way whatsoever.
Nothing published by me constitutes an investment recommendation, nor should any data or Content published by me be relied upon for any investment/trading activities.
I strongly recommends that you perform your own independent research and/or speak with a qualified investment professional before making any financial decisions.
Any ideas to further improve this indicator are welcome :)
Boltoc DominanceThis indicator is simply an oscillator form Bitcoin Dominance made to ease the process of comparing cryptocurrencies with Bitcoin's Dominance