SHIT35 Alt Index (ROC or Volume) [LucF]

Because it must read data coming from 35 markets, SHIT35 is painfully slow and should be kept hidden most of the time. Its features will hopefully seduce traders in using it nonetheless for market analysis.
Features
The Index can be calculated using 4 different modes:
1. Total of instant rate of change for all 35 markets [roc(close,3) is the default],
2. Cumulative total of ROCs,
3. Average of ROCs,
4. Plus/Minus volume (an aggregate OBV, if you will).
Select only one of the methods at a time to prevent confusion between modes.
An option allows showing the correlation between the Index as it is configured, and another instrument (CRYPTOCAP:TOTAL2 by default).
Markers can be used to identify abnormal movements in the Index. They are generated using Index exits from Bollinger bands.
The chart shows the Index with, from top to bottom, the default mode with BTC pairs, with USDT pairs, then mode 2 and 4 for BTC pairs.
Index Components
The Index is not weighed. The 35 instruments composing the index all have equivalents in the USDT quote currency on Binance, so you can easily change to those pairs using the Settings. Choosing another exchange or quote currency will require modifications to the list of instruments in the indicator’s code, since if one of the markets cannot be found, the indicator will not work. If the instrument exists but has no history for some bars, zero values will be used for them.
Watchlists
I have created a watchlist for the 35 markets in each of the BTC and USDT quote currencies. To import the watchlists, save the text you’ll find at these links in a file named the way you want your watchlist to be named and import them using the “Import Watchlist…” function.
BTC Watchlist: pastebin.com/9AdNDd3a
USDT Watchlist: pastebin.com/f7FM6HUR
Alerts
You can define alerts on any combination of markers you configure. After defining the markers you want the alert to trigger on, make sure you are on the interval you want the alert to be monitoring at, then create the alert, select the indicator, use the default alert condition and choose your triggering window (usually “Once Per Bar Close”). Once the alert is created, you can change the indicator's inputs with no effect on the alert.
- Removed BCHSV.
- Added ENJ.
Updated the watchlists and included links to them in the comments.
The new watchlists are here:
BTC pairs: pastebin.com/H4260qUz
USDT pairs: pastebin.com/JyMD47yN
Converted to v4. Cleaned up the Settings/Inputs. Tried to find useful things to add but didn't )
I have an indicator template set up in TV with this exact setup and I have a look at it daily, to gauge alt market sentiment. No need for me to check all markets individually with SHIT35, unless things start moving globally. I only trade longs when the cumulative ROC is above its MA50. I also use this indicator to decide when to launch/stop my systems trading alts, since they only trade longs. SHIT35 has proved very useful to me.
TOP: the average instant ROC of the 35 Binance alt/BTC pairs in the index against the chart's BTCUSD symbol's instant ROC.
MIDDLE: the correlation between the index's average ROC for the alt/BTC pairs and the chart's ROC.
BOTTOM: the cumulative sum of the index's alt/BTC pairs ROC.
Note how the middle SHIT35 shows that for most of 2018 when BTC was in a downtrend, alt/BTC pairs correlated with it, whereas when BTC started picking up steam in 2019, alt/BTC pairs began to de-correlate with BTCUSD, since alt/BTC pairs have been in a pretty steady downtrend since the 2017 bubble.
The same study could have been made using alt/USDT pairs.
Updated the list of symbols and the pastebin watchlists.
Replaced NANO with DUSK.
• Converted the script to Pine v5. It will run faster.
• Removed symbol MITH.
This version uses a more representative set of symbols. Thx to scarf for the list!
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
— Buffet
tradingview.com/u/PineCoders/
tradingview.com/u/TradingView/