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 ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?


และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ