Coins Trend Tracker HT

Features:
Customizable Coin Selection: Users can select up to four different cryptocurrencies to monitor.
Flexible Timeframes: Users can choose two different timeframes for EMA calculations to suit their trading strategies.
Visual Trend Indicators: The script displays trend indicators (🚀 for bullish and 💀 for bearish) based on the EMA crossover status for each coin and timeframe.
Conditional Cell Coloring: Table cells are color-coded based on the EMA crossover conditions, helping users quickly identify bullish or bearish trends.
Opacity Control: Users can adjust the opacity of the table cell colors for better visualization on the chart.
How It Works:
Coin Selection: Users can select up to four different cryptocurrencies to monitor by entering their ticker symbols.
Timeframe Selection: Users can select two different timeframes for the EMA calculations. The script calculates the 5-period and 20-period EMAs for each coin and timeframe.
EMA Crossovers: The script checks for EMA crossovers (EMA 5 crossing above or below EMA 20) and updates the trend indicators and cell colors accordingly.
Table Display: The script displays a table with the selected coins, their current prices, and trend indicators for the chosen timeframes. The background color of the table cells changes based on the EMA crossover status.
Script Logic:
The get_price function retrieves the latest price of the selected coin for the specified timeframe.
The get_ema_cross function calculates the 5-period and 20-period EMAs and checks for crossover conditions.
The fill_row function populates the table with the coin data, trend indicators, and conditionally colored cells.
The table header and data rows are updated based on the user-selected coins, timeframes, and EMA crossover conditions.
Usage:
Add the script to your TradingView chart.
Customize the coin selection, timeframes, text color, default cell color, bullish and bearish cross colors, and cell opacity through the input settings.
The script will display a table with the selected coins, their current prices, and trend indicators based on the EMA crossovers for the chosen timeframes.
- Opacity impact all the table
- Chart time frame changing should not impact the determination of the ema crossing
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.
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.