OPEN-SOURCE SCRIPT

Market Performance Table

已更新
The Market Performance Table displays the performance of multiple tickers (up to 5) in a table format. The tickers can be customized by selecting them through the indicator settings.

The indicator calculates various metrics for each ticker, including the 1-day change percentage, whether the price is above the 50, 20, and 10-day simple moving averages (SMA), as well as the relative strength compared to the 10/20 SMA and 20/50 SMA crossovers. It also calculates the price deviation from the 50-day SMA.

The table is displayed on the chart and can be positioned in different locations.

Credits for the idea to Alex_PrimeTrading ;)
發布通知
Update Version 2.0


Switch Between SMA and EMA:
- Added an option to toggle between Simple Moving Average (SMA) and Exponential Moving Average (EMA) for all calculations.
- The column titles dynamically change based on the selected moving average type.

1-Week and 1-Month Rate of Change:
- Added columns to display the 1-week (5 days) and 1-month (21 days) rate of change percentages.

Reordered Columns:
- Changed the order of the moving average columns from [>50, >20, >10] to [>10, >20, >50] for better readability.

Background Color for Change Columns:
- Implemented color-coding for the rate of change columns based on thresholds:
- 1-Day Change: Green if > 0.1%, Red if < 0%, Gray otherwise.
- 1-Week Change: Green if > 1%, Red if < 0%, Gray otherwise.
- 1-Month Change: Green if > 5%, Red if < 0%, Gray otherwise.

Extension Thresholds for 50 and 200 Moving Averages:
- Added input options for setting thresholds for the extension percentages from the 50-period and 200-period moving averages.
- The color coding is reversed based on these thresholds:
- Red if above the positive threshold.
- Green if below the negative threshold.
- Gray otherwise.

Rising Moving Averages:
- Added indicators to show if the 10-period and 20-period moving averages are rising from the previous day.

Enhanced Color Customization:
- Updated the color variables for bullish, bearish, and neutral cells.
- Adjusted transparency settings for better visual clarity.
fyntradeindexesmarketmarketanalysisMoving Averagessituational_awarenessstatisticstableTrend Analysis

開源腳本

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

想在圖表上使用此腳本?


更多:

免責聲明