OPEN-SOURCE SCRIPT

Coins Trend Tracker HT

已更新
The Coins Trend Tracker HT script provides a powerful tool for monitoring and comparing the trend signals of multiple cryptocurrencies based on their Exponential Moving Averages (EMAs). This script is particularly useful for traders who want to keep track of multiple coins across different timeframes and identify potential trading opportunities based on EMA crossovers.

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.
發布通知
Bug fixing :
- Opacity impact all the table
- Chart time frame changing should not impact the determination of the ema crossing
發布通知
Replacing manual insert of the coin with selection from available symbols on the platform
Trend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明