PROTECTED SOURCE SCRIPT
Trend Board Pro 1.0

Script Name: Trend Board Pro 1.0
Description:
The "Trend Board Pro 1.0" is a TradingView indicator displaying a table with market metrics: daily price change (%), daily volume, average volume, Normalized Average True Range (NATR), correlation with another ticker, trend direction, and open interest (OI). Each metric is color-coded for quick analysis.
Functionality:
Daily Price Change (%): Daily percentage price change. Green for increase, red for decrease.
Daily Volume (DV): Total 24-hour trading volume (in USD). Highlighted if above threshold.
Average Volume (AV): Average volume over the specified period. Highlighted if above threshold.
NATR: Normalized Average True Range, indicating volatility. Highlighted if above threshold.
Correlation (C): Correlation with a ticker (default: BINANCE:BTCUSDT.P). Red for positive, green for negative, gray for neutral.
Trend Direction: Shows the current market direction:
L: Long (uptrend).
S: Short (downtrend).
LK: Long correction (correction in an uptrend).
SK: Short correction (correction in a downtrend).
N: Neutral. Green for L/LK, red for S/SK, gray for N. Displayed without a prefix.
Open Interest (OI): Compares current OI with OI at the start of the period (OI Period). Green for increase, red for decrease, gray for equal or unavailable data.
Settings:
Avg Vol length: Period for average volume (default: 30).
NATR length: Period for NATR (default: 14).
Avg type: Moving average type for NATR (SMA, EMA, RMA, WMA).
Board position: Table position (Right top, Right bottom, etc.).
Cell width: Width of daily change cell (1–20).
OI Period: Period for OI comparison (default: 20).
Show [metric]: Enable/disable metrics (Daily Change, Day Volume, Avg Volume, NATR, Correlation, Trend, Open Interest).
Show titles: Display prefixes (DV, AV, N, C, O) for all columns except Trend.
Cell Background/Text color: Default cell background and text colors.
Cell Background/Text color alert: Colors for highlighted cells.
Correlation symbol: Ticker for correlation (default: BINANCE:BTCUSDT.P).
Correlation period: Correlation period (default: 20).
Thresholds: Thresholds for volume, NATR, and correlation.
Correlation colors: Positive (red), negative (green), neutral (gray).
Trend colors: Long (green), short (red), neutral (gray), text (white).
OI colors: Increase (green), decrease (red), text (white).
How to Use:
Open TradingView’s Pine Script editor.
Copy and paste the code.
Click "Add to Chart."
Adjust settings in the indicator menu (right-click → "Settings").
Ensure the ticker supports OI (e.g., futures) and Correlation symbol is available.
Verify the table. "N/A" appears if data is unavailable.
Troubleshooting:
OI: If "N/A," check OI data availability (BTCUSDT_OI).
Correlation: If "N/A," check Correlation Ticker Data in Data Window. Try BINANCE:BTCUSDT.
Trend: Ensure the chart has sufficient data for trend calculation.
Daily Volume: Verify volume data on the hourly timeframe.
Notes:
Optimized for cryptocurrencies but works with any instrument.
For non-crypto intraday, OI is requested from the daily timeframe.
Description:
The "Trend Board Pro 1.0" is a TradingView indicator displaying a table with market metrics: daily price change (%), daily volume, average volume, Normalized Average True Range (NATR), correlation with another ticker, trend direction, and open interest (OI). Each metric is color-coded for quick analysis.
Functionality:
Daily Price Change (%): Daily percentage price change. Green for increase, red for decrease.
Daily Volume (DV): Total 24-hour trading volume (in USD). Highlighted if above threshold.
Average Volume (AV): Average volume over the specified period. Highlighted if above threshold.
NATR: Normalized Average True Range, indicating volatility. Highlighted if above threshold.
Correlation (C): Correlation with a ticker (default: BINANCE:BTCUSDT.P). Red for positive, green for negative, gray for neutral.
Trend Direction: Shows the current market direction:
L: Long (uptrend).
S: Short (downtrend).
LK: Long correction (correction in an uptrend).
SK: Short correction (correction in a downtrend).
N: Neutral. Green for L/LK, red for S/SK, gray for N. Displayed without a prefix.
Open Interest (OI): Compares current OI with OI at the start of the period (OI Period). Green for increase, red for decrease, gray for equal or unavailable data.
Settings:
Avg Vol length: Period for average volume (default: 30).
NATR length: Period for NATR (default: 14).
Avg type: Moving average type for NATR (SMA, EMA, RMA, WMA).
Board position: Table position (Right top, Right bottom, etc.).
Cell width: Width of daily change cell (1–20).
OI Period: Period for OI comparison (default: 20).
Show [metric]: Enable/disable metrics (Daily Change, Day Volume, Avg Volume, NATR, Correlation, Trend, Open Interest).
Show titles: Display prefixes (DV, AV, N, C, O) for all columns except Trend.
Cell Background/Text color: Default cell background and text colors.
Cell Background/Text color alert: Colors for highlighted cells.
Correlation symbol: Ticker for correlation (default: BINANCE:BTCUSDT.P).
Correlation period: Correlation period (default: 20).
Thresholds: Thresholds for volume, NATR, and correlation.
Correlation colors: Positive (red), negative (green), neutral (gray).
Trend colors: Long (green), short (red), neutral (gray), text (white).
OI colors: Increase (green), decrease (red), text (white).
How to Use:
Open TradingView’s Pine Script editor.
Copy and paste the code.
Click "Add to Chart."
Adjust settings in the indicator menu (right-click → "Settings").
Ensure the ticker supports OI (e.g., futures) and Correlation symbol is available.
Verify the table. "N/A" appears if data is unavailable.
Troubleshooting:
OI: If "N/A," check OI data availability (BTCUSDT_OI).
Correlation: If "N/A," check Correlation Ticker Data in Data Window. Try BINANCE:BTCUSDT.
Trend: Ensure the chart has sufficient data for trend calculation.
Daily Volume: Verify volume data on the hourly timeframe.
Notes:
Optimized for cryptocurrencies but works with any instrument.
For non-crypto intraday, OI is requested from the daily timeframe.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarlo liberamente e senza alcuna limitazione – per saperne di più clicca qui.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.